Undefined variable error in Moodle 1.0.6.4

Undefined variable error in Moodle 1.0.6.4

by V. W. Vitek -
Number of replies: 4

Fresh installation of Moodle 1.0.6.4  built Nov.25. 2002 returns this error message:

Undefined variable: CFG in /.../public_html/school/lib/setup.php on line 18

Can you have a look at it, please? Thank you.

Average of ratings: -
In reply to V. W. Vitek

Re: Undefined variable error in Moodle 1.0.6.4

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Difficult when I don't know where it is installed, how you installed it, or what it is installed on.

I can say the error has not been reported before and I can't see what could cause it.
In reply to Martin Dougiamas

Re: Undefined variable error in Moodle 1.0.6.4

by V. W. Vitek -

Installed on Linux/Apache via standard procedures. I tried to follow up your INSTALL.TXT file which recommends to open .../lib/setup.php file first, and that is where I got that error  smile

Then I went back to our server, and got into Moodle main directory via web browser (www.myadvocate.org/school). I have completed the setup procedure smoothly via the link offered by default on the startup.  No problems so far, mySQL tables installed, but the installation is still very fresh and I am now getting familiar with it.

In the meantime I have received following reply from you - probably a reply regarding the previous message smile

Using Moodle -> Forums -> Installation problems -> Forbidden

Re: Forbidden
by Martin Dougiamas - Wednesday, 27 November 2002, 03:50 PM

 

It sounds like you need to configure Apache to recognise index.php as a default page:

http://moodle.com/doc/install.html#webserver

Reply  

By the way, your script is not so robust like the www.claroline.net script from Belgium, but my first impression is that it is an advantage of Moodle, not a disadvantage. You have done an excellent job with this project so far. Enjoy the holidays.

In reply to V. W. Vitek

Re: Undefined variable error in Moodle 1.0.6.4

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Hi,

I'm not sure where you found an INSTALL.TXT (I haven't written one) and no, I would never recommend going directly to lib/setup.php, as you've figured out now anyway.

These install directions may help you: http://moodle.com/doc/install.html

The reason you are getting other posts (as you may have guessed by now) is that you are subscribed to this forum. Each post contains an unsubscribe link.

Cheers,
Martin
In reply to Martin Dougiamas

Re: Undefined variable error in Moodle 1.0.6.4

by V. W. Vitek -
OK, Martin. Seems that we are on the right track now. smiley.gif