View Single Post
Old 11-09-2012, 06:39 AM  
Emil
Confirmed User
 
Emil's Avatar
 
Join Date: Feb 2007
Location: Sweden
Posts: 5,644
Quote:
Originally Posted by FreeOnes Petra View Post
I think that's one we reported ages ago. I can't remember what the cause is off the top of my head, but it was part of their crappy code and using the java wrong, or something like that. We solved it, but our programmer had to go in there and mess with the java in the CK editor. While people can quote and edit...the form is noticably slower.
You cant expect a script you paid for to work. ;)

I found a solution that worked fine, just tested it:

Quote:
Originally Posted by Thunderbird
On my forum, we've run into some issues with some special characters causing problems when they appear in posts (such as é). If someone (either the original poster or a moderator) tries to edit a post containing such a character, the editor box will be blank instead of containing the post. This also occurs when previewing a post containing said character.

Disabling the plugin/hook system via the ACP doesn't resolve the issue. This has happened both on the main board (running 4.1.12 PL1) and the test board (running 4.2.0). However, I could not reproduce the issue here.

Any thoughts?

(EDIT)I reuploaded the 4.1.12 PL1 /clientscript folder to the main board as a test (though no files in said folder have ever been modified) and got the same problem. The Suspect File Versions check doesn't report any issues with vB files. However, the server is running PHP 5.4 (I would hope this isn't the problem, as I can't put it back to 5.3).

(EDIT)Looking at the CKEditor site, it appears that a change in the default encoding of htmlspecialchars() (from ISO-8859-1 to UTF-8) causes the editor to throw a blank box in some instances. Peachy.

I fixed it on my board by the following change to /vb/ckeditor.php

Line 507:
htmlspecialchars($value)

Changed to

htmlspecialchars($value, ENT_COMPAT | ENT_HTML401, "ISO-8859-1")
__________________
Free 🅑🅘🅣🅒🅞🅘🅝🅢 Every Hour (Yes, really. Free ₿itCoins.)
(Signup with ONLY your Email and Password. You can also refer people and get even more.)
Emil is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote