getting moodle to work on ubuntu
does anyone have any experience with moodle. I'm trying to get it installed on an ubuntu system. I get as far as installing apache2, mysql etc and then the install script stops with
"The moodle install script will create the database but the tables are to be created with a PHP script. Please launch it right after the install.
http://localhost/moodle/admin"
all I get is a blank page when I go to this url, I'm supposed to get an install script. Moodle itself seems to be installed but I can't get any further. I have tried the moodle forums and the ubuntu forums but can't find the answer.
Nick
Re: getting moodle to work on ubuntu
are you going to that address on server or on a workstation if later then needs to servernameorip/moodle/admin
russ
Re: getting moodle to work on ubuntu
this is on the server - I can also type 192.168.0.3/moodle/admin or 127.0.0.1/moodle/admin, they all give me just an empty screen. If I type localhost, I get a directory which has a folder with basic apache info which displays on screen if I go into that folder. I'm sure when I tried just localhost on a different linux machine, it went straight to the apache screen, which leads me to believe it is a directory structure problem, but I can't figure out what.
Re: getting moodle to work on ubuntu
so you ran http://yourserver/install.php first and then goto admin and just displays white screen
also dont know if this helps
http://moodle.org/mod/forum/discuss.php?d=33054
what do your server logs say what errors are generated
russ
Re: getting moodle to work on ubuntu
remove the spurious blank lines from your config.php
Re: getting moodle to work on ubuntu
i had this when PHP was broken (coincidentally on a debian system) - i removed PHP and reinstalled it. i think i may have also downgraded to Apache from Apache2 to fix something else at the same time.
Re: getting moodle to work on ubuntu
Thanks for your help so far chaps but unfortunately no go as yet. I have tried re-installing things and also tries apache rather than apache2 and also postgresql instead of mysql. Still the same. I've tried the thing with config.php but that didn't help either. I'm going to try an installation on Mandriva rather than ubuntu and see if that makes any difference.