Website returns "unknown location"

Since earlier today (several hours) my website (https://wickedpixel.000webhostapp.com/) has responded “unknown location” and nothing else.
I still have my files in the public_html folder.

What has happend?

Your script: /public_html/vars.php is containing a Windows based path on line 13.

Please correct it, as well as all the other wrong paths. :wink:

Thank you for that quick review.
You’re right - the error came from vars.php but the root cause was that public_html had changed mapping to /storage/ssd5/660/1362660/public_html - I use the full path to check which environment the site is running and thus adjust the database settings.

My question is - do you often change the storage mapping because then I need to revise my script.

My question is - do you often change the storage mapping because then I need to revise my script.

No, we don’t. Website’s direct path stays the way it is now forever (unless unexpected issues occur, but you’ll be noticed when this happens). :wink:

Sounds good. Thanks!

1 Like