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'm getting 500 errors with AJAX on the admin side. However, these errors aren't being logged in the Apache logs so they're rather hard to debug.

Is there some way I can find out what they are?

Thanks

share|improve this question
    
In WP, this maybe because you didn't install php5-curl library on your apache server. Try enable it and restart server. Thanks the help crue from nelson. –  bard Aug 9 at 13:18

1 Answer 1

up vote 3 down vote accepted

Sometimes I have a 500 error ( from NGinx ) just because I have a "character" getting outputted before the first header gets written ( or in-between ).

Activate WP_DEBUG = true and see what happens. 99% of the case I could spot the error from there. ( and it was nearly all the time the above error ).

Post back if that doesn't solve your debug difficulty problem. We'll have a look at your apache config by then.

share|improve this answer
1  
WP_DEBUG helped. Thanks –  djb Mar 2 '12 at 15:05

protected by toscho Aug 9 at 13:40

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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