PDA

View Full Version : vbulletin empty post editting field/text area after server hosting change and new PHP



Fli
09-27-2019, 11:41 PM
I had empty text area field when tried to quick edit some post on vBulletin 4 forum.
Previously it was on PHP 5.3, now PHP 5.6 and new MySQL version + (MySQLi)
My posts had non standard characters in it.

I tried to disable all plugins and also open developer console of the web browser (F12).

Finaly i found this:


/vb/ckeditor.php

Line 507:
htmlspecialchars($value)

Changed to

htmlspecialchars($value, ENT_COMPAT | ENT_HTML401, "ISO-8859-1")

and that worked