WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 '14 at 13:18
up vote 4 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 '14 at 13:40

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

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.