Installation problem: setup.php not found

Installation problem: setup.php not found

Roberto Cuccu發表於
Number of replies: 1

Hi,

I've uploaded Moodle on my Unix server, and there is the following message that warns me on a configuration problem.
___________________________
Warning: main(/web/htdocs/www/learnholistically.it/home/moodle/lib/setup.php) [function.main]: failed to create stream: No such file or directory in /web/htdocs/www.learnholistically.it/home/moodle/config.php on line 129

Fatal error: main() [function.main]: Failed opening required '/web/htdocs/www/learnholistically.it/home/moodle/lib/setup.php' (include_path='.:/usr/local/lib/php') in /web/htdocs/www.learnholistically.it/home/moodle/config.php on line 129
_________________________________


If I try to access the setup.php file from the same address shown above, I get


Notice: Undefined variable: CFG in /web/htdocs/www.learnholistically.it/home/moodle/lib/setup.php on line 18

Warning: main(/lib/adodb/adodb.inc.php) [function.main]: failed to create stream: No such file or directory in /web/htdocs/www.learnholistically.it/home/moodle/lib/setup.php on line 20

Fatal error: main() [function.main]: Failed opening required '/lib/adodb/adodb.inc.php' (include_path='.:/usr/local/lib/php') in /web/htdocs/www.learnholistically.it/home/moodle/lib/setup.php on line 20

------------------------------------------------------

Here are the lines I changed in  my config.php

$CFG->wwwroot   = "http://lnx.learnholistically.it/moodle";

$CFG->dirroot   = "/web/htdocs/www/learnholistically.it/home/moodle";

$CFG->dataroot  = "/web/htdocs/www/learnholistically.it/home/moodledata";

Thanks for you help

Roberto Cuccu

評比平均分數: -
In reply to Roberto Cuccu

Re: Installation problem: setup.php not found

Martin Dougiamas發表於
Core developers的相片 Documentation writers的相片 Moodle HQ的相片 Particularly helpful Moodlers的相片 Plugin developers的相片 Testers的相片
In your config.php you have accidentally typed a / instead of a .

/web/htdocs/www/learnholistically.it/home/moodle should be
/web/htdocs/www.learnholistically.it/home/moodle

Same error in dirroot and dataroot.

P.S. Moodle 1.0.9 will be released tomorrow - if you can wait I highly recommend using that instead of 1.0.8.1