Forums

2.9.2 Clean install - Blank page after admin login (19 posts)

  1. cplwordpress
    Member
    Posted 2 years ago #

    I' downloaded v2.9.2 and clean installed.

    The blog shows http://blog.creativegardenideas.co.uk/gardening/

    The admin login seems to work (i.e. it redirects to a new page when clicked) but takes me to a blank page.

    So far, I have reset the file and folder permissions throughout.

    Your ideas and suggestions most welcomed.

    Thanks -David

  2. Samuel B
    moderator
    Posted 2 years ago #

    to rule out php memory, try this

    1. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 64M:
    memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
    
    2. If you don't have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 64M
    
    3. Try adding this line to your wp-config.php file:
    define('WP_MEMORY_LIMIT', '64M');
    
    4. Talk to your host.
  3. cplwordpress
    Member
    Posted 2 years ago #

    Thanks Samboll....

    I don't have access to a PHP.ini and inspecting the files there appears to be no .htaccess (I'm assuming I have permissions to view it) in the wordpress installation (Should there be?) therefore I have changed the wp-config.php file as you've suggested to no avail.

    Any other ideas in the interim?

    I'm going to speak to my host, but I envisage they will point me back to WP for a resolve.

    Judging by the number of issues arising for 2.9.2 installs giving a blank page on login, i'm assuming this is a version release bug perhaps?

  4. Samuel B
    moderator
    Posted 2 years ago #

    i'm assuming this is a version release bug perhaps?

    not really - there are just so many server variables - the diffs from 2.9.1 to 2.9.2 shouldn't affect anything like this

    maybe all files didn't make it - maybe a plugin has borked things
    if you didn't deactivate the plugins - do so now by renaming the plugins folder temporarily

  5. cplwordpress
    Member
    Posted 2 years ago #

    I've download the 2.9.2 .zip file twice and extracted seperately before uploading.

    My host (Rackspace) do not believe it's memory related.

    It's a completely clean install so only what's provided in the zip in the way of default plugins and themes is included - so really should install straight out of the box.

    I will try the plugin rename as you suggest and also (for belt and braces) force a permissions cascade of 755 for folders and 644 for files from the parent.

  6. cplwordpress
    Member
    Posted 2 years ago #

    I've renamed the plugins folder - still no joy.

    Should the installation zip file come with php.ini and .htaccess files?

    I've looked through the files and cannot see them. Is there a resource to download default versions of these?

  7. cplwordpress
    Member
    Posted 2 years ago #

    http://blog.creativegardenideas.co.uk/gardening/

    I'm assuming that DNS is not an issue as the front end of the blog is available - see url - it just seems to be a backend login issue - perhaps an issue with the default admin template?

    I've tested logins with FF and IE - the generated source of the page that is shown is <html><head></head><body></body></html>

    Thanks

  8. Samuel B
    moderator
    Posted 2 years ago #

    Should the installation zip file come with php.ini and .htaccess files?

    the php.ini is a host file that some hosts allow users to edit and some don't
    the .htaccess isn't created until you save a permalink setting in the admin

    it seems you have done everything correctly - maybe look through host's error logs for some sort of clue

  9. cplwordpress
    Member
    Posted 2 years ago #

    Think you should read this Samboll ... http://wordpress.org/support/topic/368158

    Just found that a forum article has been hacked and loaded with a virus!

  10. cplwordpress
    Member
    Posted 2 years ago #

    Samboll - please ignore the above post - an AVG issue it seems.

  11. cplwordpress
    Member
    Posted 2 years ago #

    Found a log file php_errors.log...

    Cannot modify header information - headers already sent by
    (output started at… is the error throughout

    References
    wp-config.php
    pluggable.php line 868
    wp-login.php line 302 & 304

  12. cplwordpress
    Member
    Posted 2 years ago #

    This problem is now solved - there is no closing tag in the wp-config.php file

    just add this to the end of the file....

    ?>

  13. cplwordpress
    Member
    Posted 2 years ago #

    24th Feb - 17:14hrs

    In the download 2.9.2 the wp-config-sample.php does not have a closing tag

  14. portalplanet
    Member
    Posted 2 years ago #

    Hi. I'm having the problem after an upgrade also. I didn't use the new wp-config.php I kept my old one. I did notice the missing ?> at the end of the sample one. The weird thing is when I go to my admin area and I'm not logged in it says "Error: the username field is empty". I didn't try to login.. I just went to my wp-admin area to try to login. I have added the line to .htaccess and also to wp-config.php with no luck. Any suggestions what to try next?

  15. elegantproposals
    Member
    Posted 2 years ago #

    Thank you for the insight cplwordpress. I did however check the file, it does have the closing tag. is there anymore you can think of to help me with the same issue?

  16. scribu
    Member
    Posted 2 years ago #

    The lack of a ?> closing tag in a php file is irrelevant.

    Try adding this line to wp-config.php:

    define('WP_DEBUG', true);

    and tell us what you get.

  17. portalplanet
    Member
    Posted 2 years ago #

    You're awesome scribu! I posted that line and looked at the errors. It turns out one of my plugins was calling a function that no longer exists. I removed that plugin and the admin area works! Thanks again!

  18. henkjobse
    Member
    Posted 2 years ago #

    Very weird, but I had the same problem. I tried to add the line to set debugging on.
    But without results, I still could not get into the wp-admin and find myself with a blank page.

    What I then did was renaming the plugin directory. I could get in the wp-admin after that. Then I just renamed the plugin directory back to normal and all worked normal, weird.

  19. henkjobse
    Member
    Posted 2 years ago #

    I seem to have found the solution.
    The problem is caused by the official statcounter plugin. When I active that plugin, there are going things wrong.

Topic Closed

This topic has been closed to new replies.

About this Topic