[resolved] Finished installation. Trying to log in, but getting a blank page (10 posts)

  1. kriston
    Posted 7 years ago #

    As some others have reported, I'm also getting a blank page after logging in in the wp-login.php file.

    I'm using 2.6. It's a fresh install.
    I've done the various steps in http://codex.wordpress.org/Login_Trouble, and basically none of those listed possible problems are manifest.


    That's the website.
    I'd appreciate any help that people can give.


  2. Samuel B
    Posted 7 years ago #

  3. kriston
    Posted 7 years ago #

    Thanks for that link!

    Ok, I've checked my log files, and this seems to be the important error:

    [client] PHP Warning: main(): Unable to access ./wp-blog-header.php in /var/www/vhosts/ofscienceandswords.com.au/subdomains/fyi/httpdocs/index.php on line 17
    [client] PHP Warning: main(./wp-blog-header.php): failed to open stream: No such file or directory in /var/www/vhosts/ofscienceandswords.com.au/subdomains/fyi/httpdocs/index.php on line 17
    [client] PHP Fatal error: main(): Failed opening required './wp-blog-header.php' (include_path='.:') in /var/www/vhosts/ofscienceandswords.com.au/subdomains/fyi/httpdocs/index.php on line 17

    Now, the thing is, I've checked and re-checked the wp-blog-header.php file. It is in the directory. It is set to read. I've uploaded and then re-downloaded the uploaded file and compared them. And the uploaded and downloaded file are the same, so the upload itself must be going fine.

    And just to check.
    The contents of my wp-blog-header.php file are as follows:

     * Loads the WordPress environment and template.
     * @package WordPress
    if ( !isset($wp_did_header) ) {
    	$wp_did_header = true;
    	require_once( dirname(__FILE__) . '/wp-load.php' );
    	require_once( ABSPATH . WPINC . '/template-loader.php' );

    Any thoughts?

  4. vietknight
    Posted 7 years ago #

    What are your permissions set at for wp-blog-header.php file?

  5. kriston
    Posted 7 years ago #

    The owner is set to read/write.
    All others are set to read.

  6. kriston
    Posted 7 years ago #

    I've just checked, and both wp-load.php and template-loader.php are also fully uploaded and are both also set to read for all.

  7. jorge robin
    Posted 7 years ago #

    I had the same problem, so somebody recommend me go to the Apache log and I noticed two Fatal errors from PHP.

    1. Problem: PHP Fatal error: Cannot unset string offsets in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wordpress\\wp-includes\\widgets.php on line 362
      Solution: Set magic_quotes = Off in PHP configuration file.
    2. Problem: PHP Fatal error: Call to undefined function wp() in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wordpress\\wp-blog-header.php on line 14
      Solution: Save the wordpress configuration file wp-config.php as UTF-8.

    After doing this, finally I could see the home page and login to admin.

  8. kriston
    Posted 7 years ago #

    I found the problem...


    That was the issue.
    A ton of PHP warnings about headers.
    And it turned out I had extra lines in the wp-config.php filed after the closing ?> which were causing it to chuck a hissy fit.

    So I removed those, and now it works! *cheer*

  9. esb
    Posted 6 years ago #

    Please someone help!

    I'm getting this error as well so many others while trying to figure out what I did wrong.

    I added some html into my text box widget and the next thing I know every page has an error. So I look for a solution and find the deal on how to edit the wp-config for it. This only made it to where I can no longer access my wp-admin or my website. I'm seriously freaking out. I've tried every solution I've been able to google and still no luck.

    Parse error: syntax error, unexpected '*' in /home/elibrumb/public_html/artstormhouston.com/wp-config.php on line 2

    This is the current error message.

  10. marialogy
    Posted 6 years ago #

    Just adding som meat to the bone here... I also had this problem with blank page after login. This happened after I upgraded to WordPress 2.8

    I deleted some plugins I didn't use and it all worked fine again. I'm guessing those plugins weren't working with 2.8 or something. At least it's fixed now :)

Topic Closed

This topic has been closed to new replies.

About this Topic