blank page after tables are created

blank page after tables are created

by Eliseo Arias -
Number of replies: 3
hi there

this is my first time using moodle, it looks like a great program, yet i cannot install it.

everything runs smoothly until the tables are created. i create the db, create the db user, create the o.s user and all. when i'm done editing config.php i run moodle at http://localhost/moodle/, it works fine, it creates all the tables, i get a lot of green "success" words, then, after creating the last table.... blank page. i am never asked to input anything, and the installation documentation says it will ask me for my admin password and stuff like that, i never saw it. what could be wrong?

here's my config.php:
$CFG->dbtype    = 'mysql';       // mysql or postgres7 (for now)
$CFG->dbhost    = 'localhost';   // eg localhost or db.isp.com
$CFG->dbname    = 'moodle';      // database name, eg moodle
$CFG->dbuser    = 'some';    // your database username
$CFG->dbpass    = 'some';    // your database password
$CFG->prefix    = '';        // Prefix to use for all table names

$CFG->wwwroot   = 'http://localhost/moodle';
$CFG->dirroot   = '/var/www/html/moodle';
$CFG->dataroot  = '/home/moodle';

i am using fedora core 2 (kernel 2.6.x), mozilla 1.6 and php 4.3.4.

i get the following page after the last table is created:
Activity since domingo, 11 julio 2004, 01:46

Full report of recent activity...

(if i click on "full report.." i get a not found error at: http://localhost/moodle/admin/recent.php?id=)

thanks in advance

eliseo.
Average of ratings: -
In reply to Eliseo Arias

Re: blank page after tables are created

by StinkyBob § -
I get the exact same thing.  I have tried 1.3.2-stable, 1.3.2+, and 1.4.  Nothing seems to work.  I really want to use moodle since it looks a lot better than any of the other solutions.  All I need is to make it work.  I can use most of the site, however my admin menu is not functional.  All of the scripts under /admin work fine (aside from auth.php which gives a completely blank page).  I am getting an error in my http_error.log file:

httpd in free(): warning: page is already free
httpd in free(): warning: chunk is already free

This is filling up my /var.

I'm using FreeBSD 4.10 and Apache 1.3.31 with PHP 4.3.4RC1
In reply to StinkyBob §

Re: blank page after tables are created

by StinkyBob § -
It seems to be fixed now.  I upgraded my copy of mod_php from 4.3.4RC1 to 4.3.7 and I can now access my admin page (and add users)!

-Stinky

ps...that fixed my httpd errors too
In reply to StinkyBob §

Re: blank page after tables are created

by Eliseo Arias -
thanks for your anwers

i found out that the error was the memory allocated for a page, by default in php.ini is 8mb, i changed it to 16mb, as suggested in the FAQ.

my problem also was that i didnt know where to look for errors, my pages were blank, showing no error, and leaving me with little clue as to how to fix it.

i needed to look in my server error log, but where was it? in my linux (fedora core 2) it is in /var/log/httpd in a file called "error_log". i checked there and i was getting a memory allocation problem, the fix is also in the faq.

now i am facing a new problem.... but i will use a new thread for that

thanks

eliseo.