Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8.2
-
None
-
GNU/Linux Slackware 12.0: Kernel 2.6.21.5-smp, Apache 2.2.4, MySQL 5.0.37, PHP 5.2.3
-
MySQL
-
MOODLE_18_STABLE
-
MOODLE_19_STABLE, MOODLE_20_STABLE
Description
I have setup a database named `moodle' which a user named `moodle' identified by password `Let's Learn!' will use.
In one of the dialog during the installation process that asked me for the database settings, I entered `Let's Learn!' as the password.
Later after there was a notification that `config.php' had been created successfully, the installation process stopped.
Checking the last line in the error log, there is a line saying:
[error] [client 127.0.0.1] PHP Parse error: syntax error, unexpected T_STRING in /var/www/htdocs/moodle/config.php on line 9
Looking at `config.php', I found the following line:
$CFG->dbpass = 'Let's Learn!';
After I changed the above line to:
$CFG->dbpass = 'Let\'s Learn!';
I can continue the installation process by opening `index.php' once again.