I’m running Newspaper 4.0.2 (I know there are newer versions, it’s just that I have my site exactly the way I want it already and I don’t want to mess it up).
I recently upgraded my site from http to https. Now, when I try to save the Theme Panel, it doesn’t work, and this error comes up in the Chrome JS console:
POST https://churchpop.com/wp-admin/admin-ajax.php 406 (Not Acceptable) load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:5
In the Firefox web console, it says:
Request URL: https://churchpop.com/wp-admin/admin-ajax.php
Request Method: POST
Status Code: HTTP/1.1 406 Not Acceptable
Request headers
X-Requested-With:XMLHttpRequest
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:21.0) Gecko/20100101 Firefox/21.0
Referer:https://churchpop.com/wp-admin/admin.php?page=td_theme_panel
Pragma:no-cacheHost:churchpop.com
Content-Type:application/x-www-form-urlencoded; charset=UTF-8
Content-Length:47699
Connection:keep-alive
Cache-Control:no-cache
Accept-Language:en-US,en;q=0.5
Accept-Encoding:gzip, deflate
Accept:*/*
Some stuff about Cookies
Response Headers
Server:Apache
Keep-Alive:timeout=10, max=500
Date:Tue, 22 Dec 2015 21:25:20 GMT
Content-Type:text/html; charset=iso-8859-1
Content-Length:226
Connection:Keep-Alive
I brought that up with my web host today on the phone, and they said I’d have to edit my htaccess file myself? What do I need to do?
Also relevant, I have a subdomain that has the same theme, same plugins, has not been upgraded to https, and works just fine.
So, your host wouldn’t tell you how to edit your htaccess file to get your site to work ? Wow.
Google is a good resource.
“WordPress 406 error fix” …
e,g,
https://wordpress.org/support/topic/406-not-acceptable-3?replies=6
I talked to the hosting, and they say they don’t think it’s a ModSecurity issue. Is there anything else that could be causing this problem?
“Add explicit https full url to your wpconfig.php file”
How do I do this?
Also, is there a way to edit the things in the Theme Panel any other place than in the Theme Panel? Is there a way to edit them from the my hosting file manager?
Scratch that, in fact it was a ModSecurity issue. I got a tech support person at my hosting service to WhiteList the file with the problem and voila problem solved. Thanks!