Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: error after new post (all of a sudden)


chrishajer
Participant

@chrishajer

How about configuring custom logging temporarily, just to be sure you are seeing the logged errors?

http://us3.php.net/set_error_handler

I think the delay in posting is not due to server load but due to this 500 error. It’s thinking about something then it fails.

If the script had a syntax error, I would think it would fail more quickly. You can check all your php scripts for syntax errors if you have command line access if you do something like this:

shell# find . -name "*.php" -print| xargs -n1 php -l

(that’s “dash n one” and “php dash el”, lowercase L)

Looks like you’re on CentOS so that should work OK.

Skip to toolbar