• Resolved nonox13

    (@nonox13)


    Hi,

    I’m facing a problem on my Centos server with wordpress and Jetpack, when I try to execute some operation like activate the json api or google search console i’ve got the following message: “Erreur lors de la mise à jour des paramètres Services de vérification de votre site. SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data”

    Any idea on how to solve this?

    I try to desactivate all the extensions and also with a simple theme before opening this thread, hope someone can help 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter nonox13

    (@nonox13)

    I’ve got the following error in IE

    “HTTP404: RESSOURCE MANQUANTE. Le serveur n’a trouvé aucune correspondance pour l’URI demandé (Uniform Resource Identifier).
    (Fetch)GET – http://monbloginfo.com/wp-json/jetpack/v4/site”

    I think there’s a problem with this URL

    Thread Starter nonox13

    (@nonox13)

    Something is in common with permalink cause i’ve no problem when I use the simple permalink and it’s ok after that when I go back to my old permalink options.

    Any idea? It seems to work now but I wasn’t sure it won’t happened again?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Something does seem to be wrong with your site’s permalink structure indeed. All your single posts currently return that 404 error. Here is an example:
    http://monbloginfo.com/2017/01/17/windows-server-script-pour-supprimer-un-controleur-de-domaine-inactif-dans-lad/
    http://i.wpne.ws/inAQ

    I would consequently recommend that you check this support documentation to solve this problem on your site:
    https://codex.ww.wp.xz.cn/Using_Permalinks

    Once the 404 errors disappear, you should be able to use Jetpack as well.

    I hope this helps.

    Thread Starter nonox13

    (@nonox13)

    Yeah, Since I’ve change the permalink i’ve got errors 404, I take a look for permalink and when I put this: /index.php/%year%/%monthnum%/%day%/%postname%/ everything seems to work.

    I’ll take a look tonight on my apache configuration.

    Thank you.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Was the index.php suggested by your hosting provider? If that part is required, it’s most likely because your server is not configured properly, and the mod_rewrite module isn’t installed.

    I would then recommend that you contact your hosting provider and ask them to solve the issue. You can forward them this link for more info:
    https://codex.ww.wp.xz.cn/Using_Permalinks#Using_.22Pretty.22_permalinks

    I hope this helps.

    Thread Starter nonox13

    (@nonox13)

    I’ve installed my own Centos on a VPS and I’ve just check mod-rewrite is already installed and configured:

    httpd -M –> rewrite_module (shared)

    I’ve changed this parameters from /etc/httpd/conf/httpd.conf

    <Directory “/var/www”>
    AllowOverride None –> All
    # Allow open access:
    Require all granted
    </Directory>

    And restart httpd.service

    I try differents permalink and everything seems ok even Jetpack

    I’m not sure that this parameters is Ok but I’ll try to have informations about it.

    Thanks a lot for your help.

    • This reply was modified 9 years, 4 months ago by nonox13.
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘SyntaxError: JSON.parse’ is closed to new replies.