Blank pages in Moodle after install - failed to install php5-mysql
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
moodle (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: moodle
After installing Moodle to run with mysql I simply got blank pages when accessing
http://
I eventually changed a line in /usr/share/
error_
to become
error_
At this point my browser, instead of showing blank pages, displayed ....
Fatal error: Call to undefined function mysql_pconnect()
in /usr/share/
So installed php5-mysql
This fixed the problem - which had been nasty, because so little information was given,
and the above change in the setup file is not obvious. The main setup file is actually in another location
( /etc/moodle/
So I now consider that the install script should check to see if you are using the mysql database,
and if you are, it should ensure that php5-mysql is installed. There must be many many hardy users that
are having this problem - or else I've just been unlucky somehow, as I upgraded from Gutysy to Hardy and may
have found a problem caused by the upgrade route.
=======
DATA REQUESTED BY LAUNCHPAD
lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
apt-cache policy moodle
moodle:
Installed: 1.8.2-1ubuntu4
Candidate: 1.8.2-1ubuntu4
Version table:
*** 1.8.2-1ubuntu4 0
500 http://
100 /var/lib/
Thanks for reporting this bug and help make Ubuntu better.
Do you happen to have php5-pgsql installed? (apt-cache policy php5-pgsql)