Beam Posted February 28, 2023 Share Posted February 28, 2023 Hi there! I don't know if I've posted this topic in the right place. I am unable to edit my CMS due to an error. In the CMS sitemap it states "SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data". In the error log it says "PHP Warning: php.ini settings: Please disable mbstring.encoding_translation or set mbstring.http_input to "pass". Do I need to edit my JSON file or edit the php.ini settings? How do I do this? Many thanks! Quote Link to comment Share on other sites More sharing options...
kicken Posted February 28, 2023 Share Posted February 28, 2023 Those are two probably unrelated messages. The json error is from JavaScript, telling you it was unable to parse some json data. There is probably either a syntax error in the data, or if the data is coming from an ajax call it might be unexpectedly getting HTML instead. The php.ini warning is your CMS asking you to make that setting change. Presumably there is a reason it wants that done so you should probably do it. If you don't know where to make the change, create a phpinfo() page and it will tell you where the php.ini file is so you can edit it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.