Results 1 to 2 of 2
Like Tree1Likes
  • 1 Post By karl94

Thread: No valid JSON content returned from Disqus

  1. #1
    variousthings3251 is offline Utente AlterBlog
    Join Date
    Jul 2016
    Posts
    1

    Default No valid JSON content returned from Disqus

    Hello guys. I have some trouble installing Disqus on my new website. When I enter my username and password of my Disqus account to install Disqus, I get a weird error saying "No valid JSON content returned from Disqus".

    Any ideas how to fix this? I searched it on Google and there were threads without any replies, or closed threads. Nothing helpful at all -_-

  2. #2
    karl94 is offline AlterVista Staff
    Join Date
    Jan 2015
    Posts
    573

    Default

    It's a known incompatibility problem that the Disqus plugin has with our platform.
    You have to manually patch the code: in the file disqus-comment-system/lib/api/disqus/url.php replace
    PHP Code:
    list($headers, $response['data']) = explode("\r\n\r\n", $data, 2);
    with
    PHP Code:
    list($proxy_headers, $headers, $response['data']) = explode("\r\n\r\n", $data, 3);
    cowizard likes this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO