Blank page on fresh wordpress installation, mysql 5 php 5.2.5 (19 posts)

  1. bitpusher
    Posted 8 years ago #

    I'm having some problems installing wordpress 2.3.2. I'm running PHP 5.2.5, Mysql 5.0.37

    After I setup my wp-config.php I get a blank page. If I show tables on the mysql database I've created, there's nothing in there, but I've checked at least 20 times that my login credentials work properly from that host.

    I've set error reporting to E_ALL and I only get these two errors from my php log:

    [31-Jan-2008 15:27:04] PHP Notice: Undefined offset: 0 in /content/apache2/myblog.com/htdocs/wordpress/wp-includes/wp-db.php on line 286
    [31-Jan-2008 15:17:52] WordPress database error Table 'enterprise2blogwp.wp_options' doesn't exist for query SELECT option_value FROM wp_options WHERE option_name = 'siteurl'

    Here's my wp-config.php

    // ** MySQL settings ** //
    define('DB_NAME', 'myblog');    // The name of the database
    define('DB_USER', 'wordpress');     // Your MySQL username
    define('DB_PASSWORD', 'mypassword'); // ...and password
    define('DB_HOST', 'dbprod01');    // 99% chance you won't need to change this value
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');
    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix  = 'wp_';   // Only numbers, letters, and underscores please!
    // Change this to localize WordPress.  A corresponding MO file for the
    // chosen language must be installed to wp-content/languages.
    // For example, install de.mo to wp-content/languages and set WPLANG to 'de'
    // to enable German language support.
    define ('WPLANG', '');
    /* That's all, stop editing! Happy blogging. */
    define('ABSPATH', dirname(__FILE__).'/');
  2. bitpusher
    Posted 8 years ago #

    Also my script memory limit is set to 64M so this is not the problem.

  3. bitpusher
    Posted 8 years ago #

    I've tried 2.3.1 and 2.3.2. No luck so far.

    The only potential variant is that we are running ioncube on this.

  4. bitpusher
    Posted 8 years ago #

    I tried removing the ioncube_loader and that did not solve the problem.

  5. bitpusher
    Posted 8 years ago #

    Am I the only person seeing this problem?

  6. bitpusher
    Posted 8 years ago #

    I see at least a dozen tickets that are similar to mine, but going unanswered. It there somebody at wordpress I can pay to debug this.

    Is anybody out there?

  7. gombach
    Posted 8 years ago #

    Someone sent me an export .sql from a wordpress blog runing with mysql 4.1.2

    I was able to import and the tables and content looked in in mysql 5.0.45, and wordpress does NOT complain of connection error. I too, am staring at blank pages.

    I read somewhere the other day something about a mysql 5.0.4? problem with "order of tables" but I haven't been able to find it again.

  8. claratee
    Posted 8 years ago #

    I don't have an answer for you, but I have the same problem :) php 5 and mysql 5.

  9. adunne
    Posted 8 years ago #

    Same problem here. Oh WordPress support gods, where are you?

  10. bitpusher
    Posted 8 years ago #

    Does WordPress provide professional support services that I can pay for to get this resolved?

  11. MelleG
    Posted 8 years ago #

    I've got the same problem, it's driving me mad for the last 3 days :(

  12. 3pepe3
    Posted 8 years ago #

    Me too... this is crazy.
    Is there anything we can do?

  13. MelleG
    Posted 8 years ago #

    Seems like an install of the new WordPress solved my problem :-)
    In sum: for me the 2.3.2 version didn't work and the 2.3.3 version DOES work :-)

  14. pierred
    Posted 8 years ago #

    Hi MelleG,

    Can you tell us where you've found version 2.3.3 ?

    I don't find it... :-(


    PS: I think I've found it... sorry...

  15. dahu
    Posted 8 years ago #

    After 2 hour searching

    fixing it :
    in php.ini : option log error in a file (don't remember the exact syntaxe)
    -> log_error : On
    -> specify a filename for logerror some line after


    restart a fresh install

    worked with a 2.5 rc1 + php5 + mysql5

    Brievly: it seems that if php do not log error in a file , wordpress won't install

  16. indiekiduk
    Posted 8 years ago #

    Error logging wasn't the problem for me. I'm getting blank pages too. So annoying.

  17. nzru
    Posted 8 years ago #

    I had the same problem with WordPress 2.5, php 4.*, mysql 4.*. When I tried to run /wp-admin/install.php I was getting a blank page.
    I had an older version of WordPress installed before but I deleted all the old files before uploading a new version.
    I had to do two things to fix the installation problem.
    1. I deleted the old .htacess file. It's not visible in my usual ftp client. I had to invoke ftp from a command line and ran "delete .htaccess". Be careful if there are some other bits on your site that may already use this file, make sure you know what you are doing.
    2. Check the WordPress files you uploaded so there are no missing files and the directory structure is correct. Some weird stuff happened to my first upload. I re-uploaded all files again.
    It fixed my problem.

  18. chmouel
    Posted 8 years ago #

    I believe its because the function is crashing on mysql_fetch_field the faulty code is :


    between lines 254 to 257 :

    while ($i < @mysql_num_fields($this->result)) {
    $this->col_info[$i] = mysql_fetch_field($this->result);

    if you comment it you would have sorta working. I guess its only a problem between php5.2.5 and mysql4.x and upgrading should be the problem. I guess this bug report on php.net is the same thing as well :


  19. reneu
    Posted 7 years ago #

    I had the same blank page problem with 2.6.5. I figured out that setting my wp-config.php chmod to 600 from my system default of 644 to better secure the db info causes blank pages everywhere (I'm running Solaris 10). So I tried 640 and the change immediately fixed my problem: all pages re-appeared. So I created a new group that only contains my wordpress system user and I'm ok with that. Hope this helps.

Topic Closed

This topic has been closed to new replies.

About this Topic