Hi!|
From whatever reason, we can’t save any new option from the newspaper theme panel.The loader appears after we click save, but the confirmation of saved settings never shows up.
The website has some very sensitive information on it, and we can’t afford to loose any data.
We realised that is was happening yesterday when we’ve tried to change the facebook page from the social networks tab.
The thing is, the day before we have published some new articles and we got the notification that wordpress 4.8 was available…so we updated.
Everything was fine until we wanted to change settings from the theme panel.
So,thinking that the new update might be the problem, we have downgraded manualy back to wp 4.7.5, but still can’t save theme options.
We dont want to update the theme, since we have made some code modifications to it, not too much but enought to mess up the site + a lot of custom code.
Any chance we could save theme options in some other way ?
We can give you access to the files.
Please contact us at suport@wbhost.ro
Thanks for everything and the awesome theme you’ve created!
Hi,
Please check the theme system status section and see if the parameters are set according to this guide
– https://forum.tagdiv.com/system-status-parameters-guide/
Insufficient PHP memory can be the cause for the theme panel saving issues. Make sure that the WordPress and server parameters are as recommended, and then check if the problem is solved.
Thanks
I noticed one thing. Theme options can be saved, but not the defaults.
For example, in the Footer Section, I cannot turn Show Footer to ON, and also cannot save the Footer Templates to Style 1. I can save any other Style for Footer Templates.
The same for Block Settings: I can set any Block Header Template style, EXCEPT Block Header 1 – Default.
Any ideas?
Thanx!
@Simion
The system status is fine.We have memory limit set to 256M so that for sure isn’t the problem.The thing is, the website is working for mounth and we never had this issue before, until we wanted to change the facebook page link…that’s when we’ve noticed the theme options can’t be saved!
I’m an experienced programmer with 10 years of experience in more then 10 programming languages, so if i can do something in the code that will help, please guide me where to start looking for a solution.
I’ve tried to change the facebook page from mysql database manually in wp_options table.Turned out it was a bad idea :))
Ended up importing the table from one of our backups!
Hi,
It could be a plugin that is causing the issue. Try as a test if possible, to deactivate all your plugins except the ones included in the theme package, clear any caching installed and check if the problem is solved. Switch to the main theme if you are using a child theme. Check any customization you might have made to the theme files, or added in theme panel.
The theme makes many requests to admin-ajax file, the security module from your server may treat it as a threat. In some cases this file is banned by the server and the theme cannot access it anymore. Try to contact your host provider and ask if that file is banned or if there is any firewall on the server which may block the request.
While saving in the theme panel, press F12 to see if there are any errors in the browser inspector console.
Thanks
Yes, we do get a strange error (403) in the console for the file wp-admin/admin-ajax.php:
Failed to load resource: the server responded with a status of 403 (Forbidden)
http://xxx.xxx/wp-admin/admin-ajax.php?td_theme_name=Newspaper&v=7.5
The file permission is set to 0644.
Ok.For all of you who have experienced this issue, here is what i did after two days of scratching my head:
I disabled mod_security from the Security section of Cpanel.We can now save setting without any 403 http errors!
@Simion
Thanks for all of your pacience and guidance!
@alexene22
I dont know if this can help you, but you can give it a try!
I am experiencing a 403 error and cannot save on theme options on my site http://www.commercialnewsmedia.com I’ve tried deactivating plugins and that doesn’t seem to have solved the problem. Any ideas?
Hi,
If you get that error in the theme panel, while saving settings it means that the server is denying the request the theme process makes. This happens doe to security systems the server might have, or firewalls.
Please contact your hosting and explain the situation, and maybe provide theme with a screenshot of the error. They will most likely solve the issue for you.
Thanks
Hi
I’m getting the same thing on Newsmag. Its been fine for a year but now I cant save changes on most sections of the theme panel.
I’ve read the thread and contacted the host but they say it is a problem with the file itself and everything is correct at the server?
can I just change the permission of the admin-ajax file?
Hello,
Please read this guide for file permissions: https://codex.wordpress.org/Changing_File_Permissions
Thank you!
I’ve tried everything in this thread, system status is all good, but I still can’t get the theme panel to save options or click on buttons such as “upload”.
Why is this such a common issue here and why isn’t there a resolution? I don’t know what else to try. My hosting company said there’s no issues on their end they can resolve.
I was having same problems about a fresh installation. When I was tryng to save the new setting in theme panel, an animation, indicating the work in progress, started but never ended. I’ve checked, as suggested, the server configuration and everything was pretty ok. I was desperate and hangry. Finaly, I uninstalled all the files of the theme and the related plugins, when i reinstalled newly the theme everything goes right.
I spoke with my host and they said:
“Our admins have confirmed that the cPanel that you have does not block any admin-ajax.php file.
The theme developers code added on .htaccess is the one blocking ajax.php but, if you set the .htaccess to a default code, it breaks the site.”
Need to setup your htaccess file properly. Open in text editor and adjust to work best with your hosting setup and with WordPress. Follow the WordPress.org codex docs on ‘hardening wordpress’ for custom settings in your htaccess file not some random settings from someplace on the web.
Theme doesn’t add code to your htaccess file!
I tried what @shadez suggested and didn’t work.
I don’t think the issue is with my htaccess.
In web console, I get the following error when I try to click on a button in theme panel:
“Uncaught TypeError: Cannot read property ‘editor’ of td_wp_admin.min.js:32 undefined
At HTMLAnchorElement.<anonymous> (td_wp_admin.min.js:35)
At HTMLdocument.dispatch (load-scripts.php?c=0..i-mouse&ver=4.9.1.:3)
At HTMLdocument.r.handle (load-scripts.php?c=0..i-mouse&ver=4.9.1.:3)”
And
“Uncaught TypeError: Cannot read property load-scripts.php?c=0..io-mouse&ver=4.9.1:3
‘Editor’ of undefined
At HTMLAnchorElement.<anonymous> (td_wp_admin.min.js:35)
At HTMLdocument.dispatch (load-scripts.php?c=0..i-mouse&ver=4.9.1.:3a)
At HTMLdocument.r.handle (load-scripts.php?c=0..i-mouse&ver=4.9.1.:3)”
I can’t use the admin panel because it has a lot of errors it seams js scripts are referencing non existing objects, no upload, no save, no buttons
Uncaught ReferenceError: tdWpAdminPanelBoxNonce is not defined
Uncaught TypeError: Cannot read property 'editor' of undefined
/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,jquery-ui-core,utils,moxiejs,plupload,jquery-ui-widget,jquery-ui-mouse&ver=4.9.1
OK,
Please contact us on our email address at contact@tagdiv.com and provide a link to your site and wp-admin (login information and admin rights) so we can login and investigate.
Thank you!
Thanks. Lucky my problem solved in this forum section.
My problem was I cannot save my ads code in sidebar panel in ads – theme panel.
Turns out it was cause by mod security. I disabled mod_security from the Security section of Cpanel and everything works great.
Thank You.
I’m having the same problem. I can’t upload any new ads code, and I can’t change or move the social networks in post settings, but I can do other stuff like submit a post and edit a page. I’m confused as to why I can’t change anything in the theme panel.
