Forum Moderators: phranque

Message Too Old, No Replies

internal server error 500

         

omoutop

12:43 pm on Nov 13, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hello and thanks for any advice/tip in advance.

In our site, we store large amounts of text eitehr in database or in txt files in specific fodlers (nothing is saves on root foleder).
Occasionly, during the "saving" procceess we get an error 500.

After some hours of searching possible reasons, we noticed that this error is created, when specific words appear in our texts.
For example, if text contains the phrase "please select from the following..." it is possible to get the error ('select from' causes the error.. if we refrase it, all are ok). Strange thing is, that we do not get the error all the times.

Is there any way to avoid such odd behaviour?
Or any tip on how to track this exactly?
We use apache 1.3, php 4.3+mysql and we on a shared enviroment

jdMorgan

1:25 pm on Nov 13, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Check your server error log file.

This sounds to me like a module, script, output filter, or program on your server (possibly one which is intended to prevent SQL injection) is going wrong, and triggering on 'select from' -- which is an SQL directive. But that's all I can offer, given the lack of details available at this time.

Jim

omoutop

2:16 pm on Nov 13, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



thank you .. i will try to find somethig in the logs and will return if more questions arise