Just yesterday I began having problems with certain pages in my wiki. I can't preview or save them. When I hit preview or save the following error page appears:
This is the error:
!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, email@example.com
and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/18.104.22.16835 PHP/5.2.6 Server at www.nsccreative.com Port 80
I've read the faq's on this error and realised that I had recently done all of the things that it said might cause the problem. Systematically I worked through all of the suggested fixes but I haven't had much luck.
I decided to install a fresh version of dokuwiki but the same error appears.
I also have a personal account with the same web-hosting company and tried pasting one of the problematic pages into that but I still get the error. I've raised the problem with the hosting company and am awaiting a reply to see if there are any problems server side that could be causing the error.
This is where the problem becomes very puzzling:
Since all of this I have filtered the problem down to very specific words within the pages that cause the error. On one of my pages (contains approx 3000 characters) if I remove the word "select" from the page text then it works fine, put it back in anywhere in the page and it breaks again. I can add other text or remove text but if I add the word "select" it throws up the error again?
The same applies with my other versions of dokuwiki... If I paste the text including the word select then I get the error, if I remove the word it works fine. What could be causing this?
This seems to be the same with the other problematic pages... They all seem to have a string, which is different (not necessarily "select"), that causes the error.
Most of the pages work fine and I can add text to them and save them with no problem but this error appeared yesterday and is now occurring on 3 pages.
I can temporarily fix the problem by removing the bad string but with multiple users the problem could get progressively worse.
Any ideas would be very useful.