Fatal error: require_once() - lib/setup.php

Fatal error: require_once() - lib/setup.php

by Paul Van Allsburg -
Number of replies: 1
When I run http://localhost/moodle/install.php I get the following error and the url is left at- http://localhost/moodle/index.php?lang=en_utf8


http://localhost/moodle/index.php?lang=en_utf8

Warning: require_once(\torque3\vanallp\public_html\moodle/lib/setup.php) [function.require-once]: failed to open stream: No such file or directory in \\torque3\vanallp\public_html\moodle\config.php on line 20

Fatal error: require_once() [function.require]: Failed opening required '\torque3\vanallp\public_html\moodle/lib/setup.php' (include_path='.;C:\php5\pear') in \\torque3\vanallp\public_html\moodle\config.php on line 20

I am setting up a classroom environment where students will develop a moodle extension, the pc that they work at will be a stand alone environment, data will reside in their samba /home directory: (moodle code & database)
Windows XP
apache 2.2.4 for windows
php 5.2.3 win
mysql 5.0.41 win
moodle 1.8.2 (latest)
eclipse SDK 3.3
I have apache, php, mysql installed and running. I have tried also using a FQDN instead of localhost but with same results. Any suggestions?
Many Thanks,
Paul Van Allsburg
Average of ratings: -
In reply to Paul Van Allsburg

Re: Fatal error: require_once() - lib/setup.php

by Paul Van Allsburg -
I found my problem in httpd-vhosts.conf I had specified a FQDN and changing it to:

<VirtualHost *:80>
ServerAdmin webmaster@localhost
Options FollowSymLinks
DocumentRoot "h:/public_html"
ServerName localhost
AcceptPathInfo on
</VirtualHost>

was the solution. The students will be able to sit at any of 12 computers and work on their own moodle install that resides in their /home directory.

Thanks,
Paul