Page 1 of 1

Fatal error / Warning: require_once

Posted: Tue Dec 11, 2012 7:52 pm
by Needhelptoo
I'm running 1.5.4.1
I tried to reinstall there were no changes made. The site worked earler I removed a few items, then later on when I checked it I got the following.

Please Help.

Warning: require_once(/hermes/bosweb26d/b1245/sl.pamsdrea/public_html/----------/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in /hermes/bosweb25b/b1245/sl.pamsdrea/public_html/-------/index.php on line 15

Fatal error: require_once() [function.require]: Failed opening required '/hermes/bosweb26d/b1245/sl.pamsdrea/public_html/---------/system/startup.php' (include_path='.:/usr/local/lib/php-5.2.17/lib/php') in /hermes/bosweb25b/b1245/sl.pamsdrea/public_html/--------/index.php on line 15

Re: Fatal error / Warning: require_once

Posted: Wed Dec 12, 2012 9:16 pm
by Avvici
Clearly there is an issue in your config file esp since you claim this is a new install. What do you mean you removed a few items?


Use this code to test. Create a test.php file and add this:

Code: Select all

<?php
echo realpath("test.php");
?>
Upload to your root location and run the file http://www.domain.com/test.php ,
then compare the path with the config.php file.

[Solved]Re: Fatal error / Warning: require_once

Posted: Wed Dec 12, 2012 11:30 pm
by Needhelptoo
Thank you very much. It worked.
GOD Bless, Merry Christmas