Michael Soibelman Guest
|
Posted: Fri Nov 14, 2008 4:48 am Post subject: HOWTO Report a bug ? |
|
|
Never did a bug report before so I'm wondering how to do this for a user
application (Moodle). The problem lies in the documentation
under /usr/share/doc/packages/moodle. There is a 'README.SuSE' file which
has a small error but it was hard to trace....
Line #12 says to type the following at the mysql prompt:
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,CREATE TEMPORARY
TABLES,DROP,INDEX,ALTER ON moodle.* TO moodleuser@localhost IDENTIFIED
BY 'passwd';
Line #17 says to modify /etc/moodle/moodle-config.php by adding several
lines:
$CFG->dbhost = 'localhost';
$CFG->dbname = 'moodle';
$CFG->dbuser = 'moodleuser';
$CFG->dbpass = 'passwd';
But these lines are already added by the rpm package script on installation
of Moodle. BUT the line $CFG->dbpass ='passwd'; is actually $CFG->dbpass
='PASSWD'; .Notice the script writes 'PASSWD' NOT 'passwd'.
So line #12 in the README.SuSE file SHOULD read:
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,CREATE TEMPORARY
TABLES,DROP,INDEX,ALTER ON moodle.* TO moodleuser@localhost IDENTIFIED
BY 'PASSWD';
Then, after running 'flush privileges' and restarting Apache you can point
your browser to http://localhost/moodle and the startup script works as
intended...
Just in case anyone tries to install Moodle and gets stuck...
P.S. Let me know where to file a bug report for this and I'll do just
that... |
|