WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Cant access my admin?!?!? (11 posts)

  1. Paul
    Member
    Posted 2 years ago #

    Hello,

    I have just noticed that I cant access my admin. I just get a white page when I try to log in. I first noticed when I tried to look at a members gallery. It just went to a blank white page. I then check the admin out and that was the same.

    If I search using the search on each page I can still find the posts/pages so they are still there.

    I have just upgraded to the latest version of WP using my hosts Softaculous.

    I am completely baffled as to why this has happened and have no idea how to sort it out.

    Help!! Any ideas!

    Regards, Paul

  2. Paul
    Member
    Posted 2 years ago #

    Sorry I didn't give a link to the website. This takes you to the gallery. If you click on a photographer you will see that it just gives a blank white screen.

    http://www.ssdcc.co.uk/galleries/
    If you use the search at the botton for a photographers name you will get their gallery okay.

    Hope someone can help, thanks.

    Paul

  3. jordinf
    Member
    Posted 2 years ago #

    One of these should solve it for you it can be a number of things so go down the list.

    1. Check your database wp_options table, Make sure your site url and home url are correct.

    2. Rename your plugins folder to something like plugins.back, If your site works after that then it is a plugin causing the issue.

    3. Change your theme with the wp_options table in phpmyadmin or whatever you use to a default like twenty eleven.

    90% of the time one of these solves it however it can be a number of other things if those dont work let me know and I have more things you can try or ill take a look for you.

  4. Paul
    Member
    Posted 2 years ago #

    Thanks for your help Jordin,

    1. Site and Home URLs okay!
    2. Renamed plugin folder, same problems. (white pages, no admin)
    3. Wasn't sure which to change! I change both template and stylesheet to 'twenty eleven'.... Page just hangs with white and wouldn't load so I changed them back. I then found 'current theme' and changed that to 'twenty eleven'. Site was still in old theme!
    4. I tried changing my themes folder name but that just stopped everything, just white pages through out.

    Any more advice would be much appreciated.

    Regards, Paul

  5. Paul
    Member
    Posted 2 years ago #

    Update!

    In phpMyAdmin I changed these fields to 'twentyeleven'.

    template
    stylesheet
    current_theme

    This lets me login and access my admin dashboard. As soon as I reactivate my theme, then it all goes white screen again. So, the issue is with my theme, but where. I have no clue as where to look.

    Whilst logged in when in Twenty Eleven theme I changed back to my theme. It lets me stay logged in so I have tried deactivating my plugins but things are not improved.

    If I go to 'Pages' and search for a page it white screens. If I try to log out, it white screens. If I go to the gallery page and click on a photography, it white screens.

    Weirdly though, when clicking on the photographer, it shows the correct link in the address bar but without the final forward slash. If I manually add the forward slash, it displays the photographer okay.

    Added these points in case it helps someone to figure this out.

    Here is the address to the gallery....

    http://www.ssdcc.co.uk/galleries/

    Regards, Paul

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    If it's a theme issue, you need to start looking through your server's error logs for clues.

  7. Paul
    Member
    Posted 2 years ago #

    Here are the last 4 error logs. Its all greek to me.

    [09-May-2012 22:30:33] PHP Warning: Cannot modify header information - headers already sent by
    (output started at /home/ssdcccou/public_html/wp-content/themes/hemingwayEx/functions.php:355)
    in /home/ssdcccou/public_html/wp-includes/pluggable.php on line 866

    [09-May-2012 22:30:33] PHP Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent
    (output started at /home/ssdcccou/public_html/wp-content/themes/hemingwayEx/functions.php:355)
    in /home/ssdcccou/public_html/wp-content/plugins/si-contact-form/si-contact-form.php on line 2189

    [09-May-2012 22:30:33] PHP Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by
    (output started at /home/ssdcccou/public_html/wp-content/themes/hemingwayEx/functions.php:355)
    in /home/ssdcccou/public_html/wp-content/plugins/si-contact-form/si-contact-form.php on line 2189

    [09-May-2012 22:27:58] PHP Warning: Cannot modify header information - headers already sent by
    (output started at /home/ssdcccou/public_html/wp-content/themes/hemingwayEx/functions.php:355)
    in /home/ssdcccou/public_html/wp-includes/functions.php on line 1846

    Does anyone have any suggestions. Thanks, Paul

  8. It's probably the wp-content/themes/hemingwayEx/functions.php file. Have you made any changes to it recently?

    Also check your wp-config.php file for white spaces, that's often the problem too.

    http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

  9. Paul
    Member
    Posted 2 years ago #

    The only change I have made to the function.php was to add a page number to the exclude to stop it showing up in my menu. Done this loads and it doesn't look like there is anything wrong.

    The config file had one line of white space at the bottom which I have removed but that made no difference.

    Any more ideas anyone. Thanks, Paul

  10. only change I have made to the function.php

    Well then step #1 is put back the original version and see if it goes away. :)

    The config file had one line of white space at the bottom which I have removed but that made no difference.

    Try this: make a copy of your existing wp-config.php file called wp-config-old.php for safe keeping.

    Now copy the wp-config-sample.php on top of your wp-config.php file. Make sure you make that wp-config-old.php backup copy first.

    Now edit with a plain text editor the new file and put in your credentials for your setup. Notepad is acceptable, I use notepad++ myself.

    define('DB_NAME', 'database_name_here');
    define('DB_USER', 'username_here');
    define('DB_PASSWORD', 'password_here');
    define('DB_HOST', 'localhost');

    Save that and see if the problem is fixed.

  11. Paul
    Member
    Posted 2 years ago #

    Thank you Jan,

    I went through the function.php yesterday and compared it to the original. There was no changes apart from the excludes.

    I did as you suggested and made a back up. Then installed the original, re added the excludes and all is now back to normally. I must have missed something.

    Thanks again Jan you are a star.

    Regards, Paul

Topic Closed

This topic has been closed to new replies.

About this Topic