Undefined variable error in Moodle 1.0.6.4

Undefined variable error in Moodle 1.0.6.4

por V. W. Vitek -
Número de respostas: 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.

Media de puntuacións: -
En resposta a V. W. Vitek

Re: Undefined variable error in Moodle 1.0.6.4

por Martin Dougiamas -
Imaxe de Core developers Imaxe de Documentation writers Imaxe de Moodle HQ Imaxe de Particularly helpful Moodlers Imaxe de Plugin developers Imaxe de 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.
En resposta a Martin Dougiamas

Re: Undefined variable error in Moodle 1.0.6.4

por 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  sorriso

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 sorriso

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.

En resposta a V. W. Vitek

Re: Undefined variable error in Moodle 1.0.6.4

por Martin Dougiamas -
Imaxe de Core developers Imaxe de Documentation writers Imaxe de Moodle HQ Imaxe de Particularly helpful Moodlers Imaxe de Plugin developers Imaxe de 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