• Resolved Paul

    (@paultuckertalktalknet)


    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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Paul

    (@paultuckertalktalknet)

    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.

    https://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

    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.

    Thread Starter Paul

    (@paultuckertalktalknet)

    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

    Thread Starter Paul

    (@paultuckertalktalknet)

    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….

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

    Regards, Paul

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

    Thread Starter Paul

    (@paultuckertalktalknet)

    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

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    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.

    https://codex.www.ads-software.com/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

    Thread Starter Paul

    (@paultuckertalktalknet)

    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

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    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.

    Thread Starter Paul

    (@paultuckertalktalknet)

    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

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Cant access my admin?!?!?’ is closed to new replies.