This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

namkingkong
namkingkong

I have a page file named home.htm

If i put any < script > tag in the content, it will show a message box shows "Error" when i save the file. If i remove all tag, the file is successfully saved as usual.

Any one know how to fix this? Thx!!! :(

PS: This only happens on hostinger host. It does not when i run on localhost.

Last updated

namkingkong
namkingkong

And this also happens with < iframe > tag :((

Last updated

mdz
mdz

i had same error :( ! any ideas are welcome please ..

here is a picture with the error box

http://i.imgur.com/EJXS9ED.jpg

Last updated

Andy30
Andy30

mdz said:

i had same error :( ! any ideas are welcome please ..

here is a picture with the error box

http://i.imgur.com/EJXS9ED.jpg

Hi, was this issue sorted? I am getting exactly same error (on local host all works perfect, but when moved to live server it seems i can't edit any of the pages as it's failing to save the changes)

would love to hear how you fixed this issue ;)

KurtJensen
KurtJensen

Can you scroll down to show error in box?

Andy30
Andy30

KurtJensen said:

Can you scroll down to show error in box?

hi, thanks for getting back ;)

it's a very long error, but it starts exactly as MDZ error screenshot

i just tried to edit config/cms.php to assign different file permission as thought it could be something to do with it

Andy30
Andy30

right, getting closer... basically installed octoberCMS from scratch, creating a page and saving - it saving! then added some random text in markup field - it's saving! then added < p > random text< /p > in markup - it's saving! as soon i added single div there < div >< /div > - it's failing to save!!!

any ideas? :)

Last updated

Andy30
Andy30

my host has disabled mod_security and it works perfectly!

1-8 of 8

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.