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 am working on some customized themes and when they are activated I cant log out, it goes blank. If I get rid of all cookies (being logged out) I cant log back in. The login.php shows, but when I've filled out the login form and hit the login button it's just a blank page showing.

As you probably figured I've tried everything I could come up with, that including googeling for days and trying all solutions I've found. There are no empty lines or spaces anywhere, I've disabled all plugins, I've even tried to rewrite one of the themes using twentyeleven as base. I'm out of ideas where to look.

My theme is not an ordinary blog theme but suppose to become a website. All other themes I've tried is working, including some free themes and twentyeleven. I can log in/out when they are enabled. The strangest thing is that everything worked just fine yesterday and today it doesn't, I thought rewriting it solved the problem, but no.

Any ideas where to go from here?

Hoping for answers before I go bald, Bellisia

share|improve this question
    
Since the problem is directly related to the theme it might help to provide more details along with any recent changes to the theme and any relevant functions.php code that could be causing the problem. –  Chris_O Feb 3 '12 at 10:28
    
What does your error log say? –  Brian Fegter Feb 3 '12 at 10:45
    
Thanks for the quick answers! :) I've tried to debug it through wp-config, nothing. I cant find anything in the log on my local version, and I cant find the log on the one that's up. Have tried to remove functions from functions.php, only some from twentyeleven left. Been through that file like 100 times, but I will try all of this again. More ideas are mostly welcome! –  Bellisia Feb 3 '12 at 12:59
    
Now it seems to be working on the localhost (don't ask me why). But still not able to log in/out when having the theme activated on the "real" one. –  Bellisia Feb 3 '12 at 13:04
add comment

1 Answer

I think is an problem of php code, maybe in your functions.phg of the theme. Start debugging feature in WP and see the error messages.

add this to wp-config.php or change the constant in the file.

define( 'WP_DEBUG', TRUE );

Also i think, read this question and his answers, many solutions for the problem.

share|improve this answer
    
Thanks for the quick answer! :) I've tried to debug it through wp-config, nothing. I cant find anything in the log on my local version, and I cant find the log on the one that's up. Have tried to remove functions from functions.php, only some from twentyeleven left. Been through that file like 100 times, but I will try all of this again and look at the link. More ideas are mostly welcome! –  Bellisia Feb 3 '12 at 12:58
    
Now it seems to be working on the localhost (don't ask me why). But still not able to log in/out when having the theme activated on the "real" one. –  Bellisia Feb 3 '12 at 13:05
    
do you get an php error message? Do you have deactivate all caching tools an your local dev machine? –  bueltge Feb 3 '12 at 13:17
    
No php errors and I don't know actually, I will look that up :) –  Bellisia Feb 3 '12 at 14:09
    
As far as I can see I don't have any caching tools activated, but since I'm pretty new at this I might be wrong. How does that change the "real" WordPress installation and theme? –  Bellisia Feb 5 '12 at 14:17
show 2 more comments

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.