Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have been developing a Wordpress site locally using MAMP, and I have run into an issue twice now where when I leave at night and come back, I can't access the admin page. I have debugging on, and there aren't any fatal errors. I can access the front-end of the site just fine, but I can't log into the admin page. All I get is a white screen like:

enter image description here

Here is the front end:

enter image description here

As you can see the front end is working well, but I can't get into the admin section. I've tried to re-login and it just doesn't work.

What could be causing this? The last time this happened, I had to reinstall the entire site. I really don't want to do this every day. I know that everything was working when I left, and I haven't made any changes today.

It also looks like this happens with some frequency, as there is another user with a similar issue: Cannot access admin panel

I tried all the suggestions on the linked question, but that didn't work.

share|improve this question
    
How are we supposed to know. Turn off your plugins and revert to the default theme. –  Wyck Oct 17 '13 at 1:08
    
You know, that is a great idea! I would totally do that if I could get into my admin page!!! But I can't, so... And you, or someone with more experience, might know because it's happened to them before... And I've tried that. This also happened with the default theme an no plugins. –  Blaine Oct 17 '13 at 1:09
    
You can just rename your plugins folder and any themes besides the default one, I can assure you the default theme with no plugins works. –  Wyck Oct 17 '13 at 1:14
    
No, it didn't. Like I said, when it happened yesterday, I deleted the entire 'plugins' folder and hadn't installed the theme yet, same stuff. –  Blaine Oct 17 '13 at 1:15
add comment

1 Answer 1

You may want to replace the wp-admin folder with a fresh copy. I would also make sure there‘s nothing in your functions.php file that’s causing an issue.

You may need to backup the DB and do a fresh install. Then install plugins one by one to see which one (if any) tripped the error.

Are you using the same Database for multiple installs?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.