Page 1 of 1

UDT creation - 404 error on specific code being entered

Posted: Mon May 27, 2013 11:13 am
by davidaldred
I'm trying to create a UDT, but am having trouble with one specific line of PHP code.

The line is:

Code: Select all

 $res = fgets ($fp, 1024);
If that line is in the code, and I try to submit the UDT, I get a 404 response. If I use the back button to go back to the UDT edittor, and delete the line, the UDT saves successfully.

Can anyone tell me what's going on?

Re: UDT creation - 404 error on specific code being entered

Posted: Mon May 27, 2013 12:42 pm
by velden
Not sure but could be mod_security trying to prevent that code from being posted.

You should be able to see that in the apache error log if you have access. If so, you could ask your hosting provider to allow it.

Re: UDT creation - 404 error on specific code being entered

Posted: Mon May 27, 2013 5:21 pm
by Dr.CSS
Look in system info page for yellow ! or red X...