⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

CKeditor textarea error



Eirik H
  • profile picture
  • Member

Posted 17 September 2013 - 09:07 AM

As the topic says, I'm getting an error when trying to save or update a record in the database, seems to me that the problem is when there is more than one html tag.

 

When the textarea code is like this:

<p>just one line</p>

the record save and updates just fine. But when I add another line - resulting in following code:

<p>just one line</p>
<p>another line</p>

nothing happens.

 

I have been developing this site on my local server, using WampServer, with no problems. Everything works, and still does, but not when the site is uploaded to my webserver.

 

I think the error is because of the server, but I have no idea of where to look and the error logs does not show anything.

 

Any suggestions would be much appreciated!


Eirik H
  • profile picture
  • Member

Posted 17 September 2013 - 10:26 AM

Found this in Chrome console:

/index.php/produkter/admin/update_validation/55 403 (Forbidden)

Will that say there is an validation error..?


davidoster
  • profile picture
  • Member

Posted 18 September 2013 - 21:28 PM

Hello and welcome to the forums [member=eirik H].

In order to understand why this is happening we need to know :

- the type of the database field

- the controller's code and any rules (validation) is setup for this specific field


jinbatsu
  • profile picture
  • Member

Posted 21 January 2014 - 15:40 PM

Bump!
Me to, it works on local, but not in live production.

 

EDIT:

For me resolved by hosting provider.

I think it is because of mod_security or something like that.