WordPress.org

Ready to get started?Download WordPress

Forums

WP-install.php isn't working; shows blank page (12 posts)

  1. b08092
    Member
    Posted 11 years ago #

    I followed the 5-minute installation procedure in the readme but when I get to step 5 and launch wp-install.php, all I get is a blank page----no errors (that's a good thing), but no setup of the database either. Yesterday I installed B2 and it snapped right in place so I thought this would be just as painless.
    The differences I noticed between the 2 installation procedures is a) the WP b2config.php file does not require a "pathserver" variable and b) the B2 installation procedure does not require a CHMOD 666 of the weblogs.com.changes.cache file. Could either of these be causing my problems?
    Any advice would be appreciated. I'm running OS X.2.6, mySQL 4.0.14, PHP 4.3.2, and Safari.

  2. purrkur
    Member
    Posted 11 years ago #

    Did you check in your browser if you can view the source of the page?? If you do and you get to see the code then it probably means that the code is not being sent to the PHP interpreter. However, it is strange that B2 runs fine since it should not if PHP interpretation was at fault. Are you running Apache? If you do, do you have the following lines in your httpd.conf uncommented:
    AddType application/x-httpd-php .php
    LoadModule php4_module libexec/libphp4.so
    They should be in there and uncommented. Also, the "libexec/libphp4.so" should contain the full path to the .so file.
    Good luck.....

  3. Dorsai65
    Member
    Posted 10 years ago #

    If you still can't see anything after the above, try turning on display of error messages in PHP; if your PHP isn't working, you won't get anything out of mysql...
    I had PHP choking during an install, so couldn't see anything because PHP wasn't telling me what the problem was :-/
    HTH

  4. Anonymous
    Unregistered
    Posted 10 years ago #

    Hello
    I am receiving the same problem as above too :( I've followed the new install guide, uploaded all the files etc, but when I try and run 'wp-install.php' it just return a blank page. I thought at first it may be a slight coding error or an include which failed, but having briefly checked over the source everything seems to be okay. I've tried using the CVS install file, but to no avail.
    My host is PHP 4.2.3, with safe mode enabled and MySQL 4.0.14
    Thank you in advance
    Jonathan

  5. monkey
    Member
    Posted 10 years ago #

    I am also having this problem. Odder than the problem itself is that the source for b2.php as viewed through IE gives me nothing but...
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
    <BODY></BODY></HTML>
    ...but when I view the same file on the server using WS_FTP I see this :
    <?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml/DTD/xhtml-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title><?php echo $blogname ?></title>
    <!-- Change charset if needed(?) But please do not remove this metatag -->
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta http-equiv="reply-to" content="you@somewhere.zzz" />
    <meta http-equiv="imagetoolbar" content="no" />
    <meta content="TRUE" name="MSSmartTagsPreventParsing" />
    <link rel="alternate" type="text/xml" title="RDF" href="<?php bloginfo('rdf_url'); ?>" />
    <link rel="alternate" type="text/xml" title="RSS" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php comments_popup_script() ?>
    </head>
    <body>
    <img src="CUBACRD.JPG" width="104" height="137" border="0">
    <!-- // b2 loop start -->
    <?php foreach ($posts as $post) { start_b2(); ?>
    <?php the_date("d.m.y","<h1>","</h1>"); ?>
    <?php permalink_anchor(); ?>
    <?php the_title(); ?> (category: <?php the_category() ?>)
    <?php the_content(); ?><?php link_pages("
    Pages: ","
    ","number") ?>

    posted by <?php the_author() ?> @ "><?php the_time() ?>

    <?php comments_popup_link("comments ?", "1 comment", "% comments") ?>
    <?php include ("b2comments.php"); ?>
    <!-- // this is just the end of the motor - don't touch that line either :) -->
    <?php } ?>
    <div align="right"><cite>Powered by WordPress</cite>
    login
    register</div>
    <?php
    if ($debug=="1") {
    echo "$querycount queries - ".number_format(timer_stop(),3)." seconds";
    }
    ?>
    </body>
    </html>

  6. GreedyCapitalist
    Member
    Posted 10 years ago #

    Ditto.

  7. Matt Mullenweg
    Troublemaker
    Posted 10 years ago #

    If you see all that stuff when you view source in IE that mean that you don't have PHP properly installed and the WP scripts aren't being parsed by your web server.

  8. Jaykul
    Member
    Posted 10 years ago #

    No, he said he doesn't see that when he views source. In IE, he's getting an empty html page. Mind boggling, really.
    Can you view phpinfo.php in your root directory?

  9. huangyanos
    Member
    Posted 10 years ago #

    Same error Recieved .
    I downloaded wordpress-072-gold.tar.gz from sourceforge , and extracted all the files to /var/www/html/ . I created a database named wordpress on another database server and changed the four vars in wp-config.php . I think both my database and php is working fine . For I made a test.php to echo some helloworld messages and my mysql server was used by another application . To my regret , I run wp-install.php only to get a blank page .
    I also chmod 777 /var/www/html -r .
    //Here is HTML source code of the blank page I got :
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=Content-Type content="text/html; charset=gb2312"></HEAD>
    <BODY></BODY></HTML>
    //End of the source .
    //Here is what I using :
    RH8.0
    Apache
    php-4.2.2-8.0.5
    mysql Ver 12.21 Distrib 4.0.15
    //End of the softwares list

  10. Anonymous
    Unregistered
    Posted 9 years ago #

    I had the blank page problem too. Both php and mysql were configured properly, the missing piece was the mysql module for php. After installing the module i had no further problems.
    Ciao

  11. Anonymous
    Unregistered
    Posted 9 years ago #

    Bingo. Almost the same solution for me. I had apache and php running before, but just tonight had installed mysql. The step that i had skipped was restarting apache so that it recognized mysql. I installed from a debian package so module was ready and waiting, just not active until the apache restart.
    Sam

  12. Anonymous
    Unregistered
    Posted 9 years ago #

    I am having this exact same problem but i don't have access to install modules, I am just using a webhost, is there anything else i can do to fix this problem? b2 worked prefectly for me, i was really hoping to upgrade to this!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.