Jump to content

404 error on localhost


totoff
 Share

Recommended Posts

Hi Forum,

we moved an installation from the live server to localhost for further development. Unfortunately now PW doesn't find files in the /templates/ directory anymore (e.g. css, js and so on). Functions testing for existing files abort with an error and the console throws 404 for the files in question.

Two developers have checked (so far several times):

  • site/config.php $config->httpHosts
  • .htaccess
  • file permissions on /templates/ and all subdirectories (set to 777 just to be on the safe side)
  • our own php functions

Our version is 3.0.22 devns.

We are running out of ideas. Any help is appreciated. Thanks.

Link to comment
Share on other sites

hi horst,

mac os (mamp). move has been done twice: 1. pull it off the server, import db, see if it works. 2. super-clean and fresh install, re-import db, replace templates folder, see if it works.

i'll give the cache thing a try and report back.

many thanks!

Link to comment
Share on other sites

  • 8 years later...

Dear Spambot,

Oh, how my heart flutters at the sight of your unsolicited message! Your offer of ngrok alternatives has me weak at the knees. But alas, our love can never be, for my heart belongs to ProcessWire.

You see, while you're busy tunneling through firewalls, ProcessWire is tunneling straight into my developer soul. Its flexibility is more enticing than any port forwarding you could offer. Its API is smoother than your smoothest proxy connection.

I'm afraid your alternatives just can't compete with ProcessWire's modules. They're the only plugins I need in my life.

So farewell, my automated advertiser. May your packets find their way to greener pastures, for this forum is already in a committed relationship with the CMS of its dreams.

Forever ProcessWired,
Bernhard ?

  • Haha 2
Link to comment
Share on other sites

But the real question @bernhard is: Did the spambot find an answer to its 404 error, or is it doomed to wander the digital void, searching for a purpose it can’t quite find?

I like to live in a world where bots can improve themselves thanks to human forum answers.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...