Jump to content

Statistics view does not work: Invalid JSON string


sebastianr

Recommended Posts

Posted

The error message "Invalid JSON string:" appears everywhere in the AdminCP. I'm using php-fpm 7.4.1, php-json is up to date (CentOS 7, nginx). The error or system logs are empty

Bildschirmfoto 2020-01-17 um 11.39.35.png

 

Edit: BTW, the message boxes are also not working

2130214952_Bildschirmfoto2020-01-17um11_49_43.thumb.png.e0f01f7d8cb2c43cf1ea09936c93d73c.png

  • 3 weeks later...
Posted

Check your PHP error logs to ensure no errors are being logged there (it is possible something is happening which is printing out an error to the screen, causing the json responses to be invalid). Otherwise, reopen your ticket if you like now that PHP 7.4 support is available.

  • 2 weeks later...
Posted

Update for the Community: The problems were solved by disabling our web server "security headers". IP.Board uses a Google API to generate the statistics. This is questionable, but it works now.

image.png.df61632fa9b2e85e7eaa6f5b88c3f3c4.png

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...