set up: Fatal error: Failed opening required '/lib/setup.php'

set up: Fatal error: Failed opening required '/lib/setup.php'

av Dr. Prin Singhanart -
Antal svar: 5
hi i have this following msg when set up on my server

Fatal error: Failed opening required '/lib/setup.php' (include_path='.:/usr/local/lib/php') in /home/www/wuthirac/config.php on line 84

the url is www.suthira.net


It worked on my computer running easyphp but when I upload moodle to my pay hosting .. that's what happened..

I don't know where could go wrong it config.php
Medeltalet av utvärderingarna: -
Som svar till Dr. Prin Singhanart

Re: set up: Fatal error: Failed opening required '/lib/setup.php'

av Martin Dougiamas -
Bild av Core developers Bild av Documentation writers Bild av Moodle HQ Bild av Particularly helpful Moodlers Bild av Plugin developers Bild av Testers
In config.php you should have this:

$CFG->dirroot = "/home/www/wuthirac";
Medeltalet av utvärderingarna: -
Som svar till Martin Dougiamas

Re: set up: Fatal error: Failed opening required '/lib/setup.php'

av Dr. Prin Singhanart -
thank you haleluyahhh

that solved the problem..so far... :D

this is quite a good start of the day... after tiring night of don't know how

you're angel :D
Medeltalet av utvärderingarna: -
Som svar till Dr. Prin Singhanart

Re: set up: Fatal error: Failed opening required '/lib/setup.php'

av Bryan See -

I have same message except I cannot get it to work under EasyPHP - I am one step behind you. Can you email me your "config.php" for EasyPHP. My email is bryansee@infobahn-international.com

Happy holidays

 

Medeltalet av utvärderingarna: -
Som svar till Bryan See

Re: set up: Fatal error: Failed opening required '/lib/setup.php'

av Martin Dougiamas -
Bild av Core developers Bild av Documentation writers Bild av Moodle HQ Bild av Particularly helpful Moodlers Bild av Plugin developers Bild av Testers
It might be easier if you post your config.php and the full error message ...

Almost invariably these errors are because of a mistake in $CFG->dirroot.

Cheers,
Martin
Medeltalet av utvärderingarna: -
Som svar till Martin Dougiamas

Re: set up: Fatal error: Failed opening required '/lib/setup.php'

av Bryan See -


Silly me, I found my mistake - it was a typo error. Now it is working on EasyPHP. Thanks for your extraodinary fast response

Cheers mate

Bryan See

Medeltalet av utvärderingarna: -