Forum Moderators: coopster

Message Too Old, No Replies

PHP error: failed to open stream

I am getting an error and I am as green as the grass

         

CasinoJobs

4:37 am on Nov 1, 2008 (gmt 0)

10+ Year Member



Hi and Thank You in advance,

I am definitely not a PHP coder but I want to learn thats why I am asking. I am making an old site live on a new server and I have little experience with this. Below is the errror.

Warning: main(/homepages/7/d152650790/htdocs/example/includes/version.php) [function.main]: failed to open stream: No such file or directory in /home1/softroxc/public_html/example.net/includes/joomla.php on line 71

Fatal error: main() [function.require]: Failed opening required '/homepages/7/d152650790/htdocs/example/includes/version.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home1/softroxc/public_html/example.net/includes/joomla.php on line 71

HELP :-)

[edited by: eelixduppy at 9:13 pm (utc) on Nov. 1, 2008]
[edit reason] exemplified [/edit]

kazisdaman3

6:19 am on Nov 1, 2008 (gmt 0)

10+ Year Member



your script is trying to include another php file, but the target file location does not exist.

IanKelley

12:31 am on Nov 2, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Most likely because the new server uses a different directory structute. The part of the file path that most likely needs to be fixed is:

"/homepages/7/d152650790/htdocs/"