• Anonymous

    Running Debian
    Apache
    Mysql (4.0.18)
    PHP (4.3.4)
    When I run through wp-admin/install-config.php the second step just has the WordPress header and is then blank. I figure, ok, I probably need to manually edit the file.
    I copy wp-config-sample.php to wp-config.php and edit it so that it looks as follows:
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘gordy’); // The name of the database
    define(‘DB_USER’, ‘gord’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘MYPASSWORD’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
    When I go to wp-admin/install.php I just get a blank page (IE 6 and Firebird 0.8) There is nothing in the source, and no errors logged anywhere)
    I have installed the php-mysql module as suggested in another thread. Restarted both Apache and MySQL. I have absolutely no idea what’s wrong. (the database gordy exists and the user gord has permission to do pretty well everything to that database) Any ideas? (oh it’s WordPress 1.02)

Viewing 15 replies - 1 through 15 (of 22 total)
  • gord

    (@gord)

    That above post was me. I just decided to register. If you have any other questions you need answered in order to give me a hand, just let me know.

    Could you give us a URL of the site you’re trying to set up?

    Thread Starter Anonymous

    i have the exact same problem. i manually made my config file (didnt even try install-config.php) everything was cool there. Then i tried to run install.php, and all i got was a blank screen on the web browser. I have gone so far to give the files wide open permissions (0777), mysql stuff is all good. nothing happens. does anyone have any advice! thanks!

    Thread Starter Anonymous

    I also am having the same issue. I’ve verified that the userid/password are valid for the database table and no errors are showing up in the apache errors_log file. :/ I’m confused …

    Thread Starter Anonymous

    Argh. In addition to being confused, I’m also dumb … I’d just installed the php-mysql package but neglected to restart the webserver so php could see the extension. Duh.

    Moderator Matt Mullenweg

    (@matt)

    My suggestions would be to first try out a nightly build to see if it’s something we’ve fixed already. Also try installing another php/mysql script like phpBB to see if there’s something wrong with your PHP setup

    gord

    (@gord)

    Did install a nightly build, exact same error.
    I installed the php-mysql package and /did/ restart my server and php-info shows the extension.
    I worked on it for several hours, including some while talking to Mat trying to work it out. I hate to say it, but I’ve given up.

    Thread Starter Anonymous

    I’m seeing the exact same problem. I followed the instructions in the readme exactly. Checked and double checked my info, but it still does not work.

    Thread Starter Anonymous

    I just tried upgrading to the nightly build (4/22). This resolved the issue where config.php was not being generated, but install.php still just gives me a blank page. Any assistance would be appreciated. Again, I’ve checked and double checked my php and mySql setting over and over.
    – Todd

    Thread Starter Anonymous

    okay heres the deal, this fixed the problem for me. You need to find the corrent php-mysql mod so that php can talk to the database. find the exact version of php that you have, mine was 4.2.2-17.2. then just search on google for ‘php-mysql (apend your version number of php)’. download and run the rpm and you should be home free.

    Thread Starter Anonymous

    I hit this same problem. I’m not even going to bother getting it working. It should have worked the first time I tried it, but all wp-admin/install.php gave me was a blank page. You guys need to take a close look at it, because something is messed up with it. I’m curious as to what other problems would be lingering if I did manage to get it working.

    Thread Starter Anonymous

    I get the same problem too. Running fedora core 2, apache 2, newest php and mysql. Tried the nightly builds and get the same blank page πŸ™

    Thread Starter Anonymous

    Hi all,
    I’ve come across exactly the same problem. I’m using Gentoo Linux, a source distribution, compiling everything from source.
    I’ve only just found out the cause of this same problem for me. I use Apache 2.0.49, MySQL 4.0.20 and PHP 4.3.6 (going to 4.3.8 now). The problem for me was that the ‘mod_php’ module didn’t have MySQL support compiled in. I discovered this after installing phpmyadmin, which told me this: ‘cannot load MySQL extension, please check PHP Configuration’.
    I suggest something like the following as an addition to one or more PHP files of WordPress (stolen from ‘phpmyadmin/libraries/common.lib.php’):

    /**
    * Loads the mysql extensions if it is not loaded yet
    */
    if (!@function_exists('mysql_connect')) {
    PMA_dl('mysql');
    }
    // check whether mysql is available
    if (!@function_exists('mysql_connect')) {
    if (empty($is_header_sent)) {
    require_once('./libraries/header_http.inc.php');
    }
    echo $strCantLoadMySQL . '
    ' . "\n"
    . ''
    . $GLOBALS['strDocu'] . '
    ' . "\n";
    exit();
    }

    Kind regards,
    Jonathan

    Thread Starter Anonymous

    Oh.. and by the way, the short description about allowed tags when posting a reply could be more clear πŸ˜‰ What’s the need for a ‘code’ tag when you can put code between ‘backticks’?
    'some code'
    or
    some code

    Same problem here, SuSE 9.1:
    PHP 4.3.4
    MySQL 4.0.18
    Apache 2.0.49 “Pre-fork”
    I used YaST to install phpMyAdmin which worked just fine so I think my mod_php does have the proper options compiled in. php is used all over my site and is working properly.
    Jeff

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Blank install.php’ is closed to new replies.