Hi there,
My OpenCart website works perfectly on my local server, but when I uploaded to a remove server the following error came up on the homepage:
Warning: require_once( /home2/watersc3/public_html/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in /home/watersc3/public_html/index.php on line 17
My public_html folder is under /home2/watersc3/ on the remote server, and startup.php file does exist in the system folder. File permission is set to 644.
I edited config.php in public_html/ and public_html/admin folder to /home2/watersc3/public_html/, so it should be pointing to the right path. Admin works fine on remote server, I can access and modify database - it’s just the front-end website that doesn’t work. I haven’t edited any other pages/code.
Why does the error message suggests that index.php is under /home/ instead of /home2/ ? Where did that come from?
I called hosting service provider but they say that it must be my coding error and they can’t help me. They say it should be /home2/ and I must have typed /home/ instead somewhere in the code, but I never did.
If I enter the full URL (http://www.mydomain.com/) in the config.php instead of /home2/watersc3/public_html/, the page goes blank with no error message.
Any thoughts, please?
Who is online
Users browsing this forum: No registered users and 15 guests