Cryptic error about problem contacting API URL
-
Commentluv 2.9.7
Logged in to site, viewing a post and preparing a comment, un-check and recheck the commentluv box and I see the following cryptic error:
It appears that you are offline or another error occured contacting the API url, have you set it to use www or missed the www off the api url?? check the technical settings and add or remove www from the api url.
Turns out I see the same error when not logged in and I enter a URL in the website field to comment. There’s briefly an activity graphic that appears above the commentluv badge and then the message above.
Aside: This error appears to be for the admin but is presented to the blog reader and is very unhelpful to them. This message really should be made more appropriate for the blog reader given the context in which it is displayed. But back to the problem at hand…
I’ve reset settings with no effect. I’m using a multi-site config and the API url appears to be correct.
I did just notice the following error in the server log which I believe is not related to this issue. It is a problem for a site that wishes to lock down directory access though for security purposes:
Directory index forbidden by Options directive: /var/www/html/wp-content/plugins/commentluv/images/, referer: https://no-shortcuts.qwkxen.pumastudios.com/wp-admin/options-general.php?page=commentluv-options
Looking for errors related to the API access that is being attempted, I only find a successful entry:
“POST /wp-admin/admin-ajax.php HTTP/1.1” 200 33 “https://no-shortcuts.com/2011/06/27/orange-ginger-curd/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0.1) Gecko/20100101 Firefox/5.0.1”
- The topic ‘Cryptic error about problem contacting API URL’ is closed to new replies.