TinyPortal
Development => Support => Installation => Topic started by: POTI on February 16, 2011, 03:22:23 AM
Site www.canesforum.com
SMF Version 2.0 RC5
TP version 1.0 RC1
Forum Language English
Theme name Gamerz from Blocweb
Mods None new install
Errors
Whenever I add code to the PHP code block and attempt to save it I get the following error
Not Acceptable
An appropriate representation of the requested resource /index.php could not be found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
If I hit refresh it appear to actually save the code. It is a very annoying bug, any ideas what could be causing it?
Here is a little more info. If its a short block of code it works fine. I just added
$result = ssi_todaysEvents('array');if (!empty($result)){ foreach ($result as $event) echo '<center><a href="' . $event['href'] . '">' . $event['date'] . ' : ' . $event['title'] . '</a></center>';}else echo 'There are currently no events in the next 30 days.
';
And this saves and functions fine. Larger code gives the error above.
This an issue we had here at TP a few weeks ago, we had to ask the hosting to disabled mod_security on this site, you could ask them if it is turned on, and if they will turn it off for you.
Thanks ill give them a call today... its very annoying hehe
Yep that was it! Thanks, this looks like that has fixed a bunch of the other issues I was having as well.
Glad to have helped, I will mark this has solved.