|
#1
|
|||
|
|||
Text that wont display
Hi guys, im hoping someone can shed some light on this problem. I upgraded the DB to MariaDB 10 without problems but now it seems like the format_comment is giving me grief.
Its happening to posts on the forum and torrent descriptions that use quotation marks or commors but its weird because if reconstructed it seems ok its almost like if to many exclamation marks or commors or minus symbols are used it wont display the text, it puts it in the database though. I traced it to this function and removed it then all was as it should, i tried to update the function but it just wouldnt work. Now with the function removed when a post that would not apoear , appears and you try to edit it or quote it then its blank. PHP Code:
|
#2
|
|||
|
|||
Hit me up on pm and ill fix it for you
|
#3
|
|||
|
|||
Yeah sure thing, i just msg you with the servers login and password
Bump: So ive changed the code to this... PHP Code:
Last edited by Tedmorris; 18th June 2018 at 16:49. |
#4
|
|||
|
|||
I strongly suggest that you now change your Servers Login & Password details.
|
#5
|
|||
|
|||
Notice the clown at the end of my comment. The guys got all but two posts here and been a member since May 2018 lol..there is no way in hell i would give him any login details. I didnt even PM him as it was fairly obvious to me what he was upto.
|
#6
|
|||
|
|||
lol
|
#7
|
|||
|
|||
You can also try:
Code:
if ($strip_html) $s = htmlspecialchars_decode( $s ); Last edited by Yupy; 20th June 2018 at 16:02. Reason: typo |
#8
|
|||
|
|||
Cheers m8, ill give it a try.
The actual problem is that the new setup with Centos 7, MariaDB 10 etc has resulted in a default_charset on php.ini of UTF-8 instead of ISO-8859-1, i am just not sure about changing the default charset in the php.ini and what affect this may have on the DB and performance because atm its working quite well besides the text issues here & there which are in quite a few placed but ive managed to hit them on the head one by one. edit.php, userdetails.php etc |
Tags |
display , text |
|
|