This topic is locked
[SOLVED]

 multiple wysiwyg editors on edit page cause 403 Forbidden error?

10/8/2019 7:55:41 AM
PHPRunner General questions
W
wfcentral author

Is it possible to have multiple rich editors on one page?
I'm still troubleshooting this, but here is what I know so far.
I have a table with five fields. Three of those fields need to have html in them. So, I put in the ckeditor (also tried innova editor with same result).
All three editors show up on edit screen fine. You can put html in first and plain text in the other two and it will save fine. If you make any change to the 2nd or 3rd editors that adds html (make something bold) and try to save you get this error (below) field types are exact same, permissions on server are same.
Forbidden

You don't have permission to access this resource.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.4.41 (cPanel) OpenSSL/1.0.2t mod_bwlimited/1.4 Server at avade-wpvassessment.com Port 80

W
wfcentral author 10/8/2019

figures... spent multiple hours troubleshooting and as soon as I post it here I figure it out.
I had the content fields set to "mediumtext" in mysql and apparently that caused the issue. Why one field would store html and not the other I have no idea. Setting them all to "longtext" made them work.
Will go research what mediumtext and longtext are. Open to any recommendations on best mysql field type for about 900 characters with html formatting and symbols (trademark / copyright) stuck in too.

Sergey Kornilov admin 10/8/2019

MEDIUMTEXT vs LONGTEXT cannot possibly be the reason. Both can fit tons of text.