Installation problem in Warning: main(c:\program files\easyphp1-8\www backup/lib.php):

Installation problem in Warning: main(c:\program files\easyphp1-8\www backup/lib.php):

by Rizlan Shah Azlan -
Number of replies: 3
Hi there..

I am trying out Moodle and Installation seems kinda easy untill i hit this error.." Warning: main(c:\program files\easyphp1-8\www backup/lib.php): failed to open stream: No such file or directory in c:\program files\easyphp1-8\www\admin\index.php on line 239

i cant seem to solve this. Thank a million !!
Average of ratings: -
In reply to Rizlan Shah Azlan

Re: Installation problem in Warning: main(c:\program files\easyphp1-8\www backup/lib.php):

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Odd!

I don't like the look of the path in the Warning - there's a slash missing after www, but I can't quite think how that would happen.

I would suggest that you attach a copy of your config.php file here (please remove the db password first) and also make completely sure that all files have been properly transferred to your server - checking backup/lib.php actually exists would be a good place to start.
In reply to Howard Miller

Re: Installation problem in Warning: main(c:\program files\easyphp1-8\www backup/lib.php):

by Rizlan Shah Azlan -

hi there..

I think i know the source of the problem. I am using the EasyPHP package and I altered the installation path from http:\\localhost\moodle to http:\\localhost. My ultimate aim is to have it running on http:\\www.abc.com rather then http://www.abc.com/moodle . My current installation is on a test machine. I plan to host it elsewhere. By any chance i can just export out the database structure and copy out the entire www folder from the apache ? would that work ? is there anything else that i need to do ? It would be great if you could share with me an easier way to migrate this out from my test machine easily..

In reply to Howard Miller

Re: Installation problem in Warning: main(c:\program files\easyphp1-8\www backup/lib.php):

by Rosswell Gadsden -

I have a similar error message it is as follows:

Warning: upgrade_backup_db(c:\program files\easyphp1-8\www\moodle/backup/version.php): failed to open stream: No such file or directory in c:\program files\easyphp1-8\www\moodle\backup\lib.php on line 339

Fatal error: upgrade_backup_db(): Failed opening required 'c:\program files\easyphp1-8\www\moodle/backup/version.php' (include_path='.;C:/Program Files/EasyPHP1-8\php\pear\') in c:\program files\easyphp1-8\www\moodle\backup\lib.php on line 339

Not the same on line error, but it has stopped my installation.

Any suggestion greatly appreciated. I attache my config.php for information.

Regards

Rosswell