• I’ve installed WP. The database has been set up (I ran wp-install.php with no problems). I can log in as admin, and can post comments. When I go to the blog page, its blank. View source shows a basic HTML page:
    <html>
    <body>
    </body>
    </html>
    That’s it. No errors displayed on screen, no errors when I “blog this”. Any suggestions would be appreciated.

Viewing 4 replies - 16 through 19 (of 19 total)
  • I did some preliminary debugging: On my system, I’m getting a blank page because the php code is barfing on the following line in the wpdb constructor (in: wp-includes/wp-db.php):
    $this->dbh = @mysql_connect($dbhost,$dbuser,$dbpassword);
    I inserted a statement to print the values of $dbhost, $dbuser and $dbpassword — they are all correct.
    further information: PHP version: 4.2.2 ; MySQL version: 4.0.16
    My knowledge of PHP and MySQL is rather poor, so this is as far as I can debug this. Would someone else take a look at it?

    Whew! everythings working now, thanks a lot don! =)

    I had the same problem, but it seems to be fixed now.
    What I found out was that I hadnt installed the php4-support for mysql.
    Using debian I fixed this with a ‘apt-get install php4-mysql’
    The way to determine if this is the same problem some of you are having would be to do a <? phpinfo() ?> and see if there’s an entire section regarding mysql. When it didnt work for me I only had a ‘–with-mysql=shared,/usr’ in the configure command. After running apt-get I had a whole section regarding mysql
    Hope this helps

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Blank page’ is closed to new replies.