Forum Moderators: coopster

Message Too Old, No Replies

500 error instead of script error

Getting Internal server error when script error occuring

         

hughie

11:08 am on Nov 14, 2007 (gmt 0)

10+ Year Member



Hi All

I've just upgraded to 5.2.4 on my fedora testing server which is all well and good, but when i get a script error occuring (a regular occurance whilst coding away) instead of giving me "error on line..." it's giving me a "500 internal server error"

I think this is a new change with php 5.2.4 but i can't seem to find where to switch it off.

Any help would be appreaciated as always!

Hughie

dreamcatcher

11:14 am on Nov 14, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Hughie,

Are you using .htaccess/mod_rewrite? If so, you`ll need to enable that in your apache config file and reboot the server. Mod_Rewrite isn`t enabled by default. Check your error log to see what the problem is.

dc

hughie

11:17 am on Nov 14, 2007 (gmt 0)

10+ Year Member



it's ok, i sorted it. I poked about in the error reporting of the php.ini file, turned notices on then off again, and it worked....

i'm certain my settings are exactly the same but hey.

hughie

8:10 pm on Nov 14, 2007 (gmt 0)

10+ Year Member



and it's back and i cant shift it now,I'm not using mod rewrite or anything similar.

It's basically giving me a 500 internal server error on a fatal php error, not on warnings.

any help?

thanks
hughie

hughie

12:49 pm on Nov 15, 2007 (gmt 0)

10+ Year Member



Kind of fixed it, looks like a possible php bug that's fixed by turning off output buffering

[bugs.php.net...]