UDT creation - 404 error on specific code being entered

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
davidaldred
New Member
New Member
Posts: 5
Joined: Sat Apr 13, 2013 7:35 pm

UDT creation - 404 error on specific code being entered

Post 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?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

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

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post by Dr.CSS »

Look in system info page for yellow ! or red X...
Post Reply

Return to “The Lounge”