Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: qubbah on July 29, 2017, 12:38:11 PM

Title: Upgrading to beta 4 Error Json decode error: Syntax error, malformed
Post by: qubbah on July 29, 2017, 12:38:11 PM
After uograding finished..
Im Having this error ... (in forum error log)

Json decode error: Syntax error, malformed JSON

File: /var/www/html/vs/Sources/Load.php
Line: 1535

and my arabic text only show like  :
الْمُتَّقÙ
Title: Re: Upgrading to beta 4 Error Json decode error: Syntax error, malformed
Post by: shawnb61 on July 30, 2017, 01:19:09 AM
qubbah -

A few questions -
1)  What version were you upgrading FROM? 
2)  Did you have custom profile fields defined before the upgrade?  (That line of code that errored out is accessing custom profile fields.) 
3)  Was all of your content readable BEFORE the upgrade?  Could you copy & paste some of the pre-upgrade data here (one of the posts that goes bad)?
4)  I'm interested in seeing lots of charset & collation variables...  Would you be willing to run this utility & share the output?  Pre-upgrade would be best.
         https://github.com/sbulen/sjrbTools/blob/master/SMF_UTF8_Diag.php