Forum Support

Shape 5
March 28, 2024, 11:53:11 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Saving Theme Options  (Read 1105 times)
brelandr
Jr. Member
**
Offline Offline

Posts: 27



« on: January 10, 2017, 12:11:22 PM »

I am trying to save options in the theme of Traction Club.  I am unable to save options.   I have upgraded to the latest  Vertex Patch.

The only error I am receiving when viewing the page is about an image missing and I am trying to remove that image from the theme options.

I am receiving the following error when viewing the theme options

admin.php?page=s5-theme-options:50GET https://co.warren.ms.us/wp-content/plugins/s5-image-and-content-fader/xetrev/form.css 404 (Not Found)
admin.php?page=s5-theme-options:392 GET https://co.warren.ms.us/wp-content/plugins/s5-image-and-content-fader/xetrev/form.css
(anonymous) @ admin.php?page=s5-theme-options:392
u @ vertex.js:140
(anonymous) @ vertex.js:140


I have downloaded the latest s5-image-and-content-fader and installed it on the site.


When i try and save, I get the following error


Refused to set unsafe header "Connection"
mAjax @ vertex.js:1458
save @ vertex.js:3552
sa.children.(anonymous function).onclick @ vertex.js:3489
vertex.js:1458 POST https://co.warren.ms.us/wp-admin/admin.php?page=s5-theme-options 403 (Forbidden)
mAjax @ vertex.js:1458
save @ vertex.js:3552
sa.children.(anonymous function).onclick @ vertex.js:3489
« Last Edit: January 10, 2017, 12:14:30 PM by brelandr » Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: January 11, 2017, 01:09:02 PM »

If you were using an older version of the Image and Content Fader, you may need to fully remove the plugin before installing the updated version, as there have been some necessary file name & location changes that the WP plugin updater doesn't handle correctly.

As for the theme options not saving, there are only 2 things that would cause that:

1.  The options file needs to have writable permissions on the server, so that the admin can actually write the changes (vertex.json in the theme folder - minimum of 655, some servers need 755 or 766 - on rare occasions, 777 may be needed)

2.  If it's not a permissions issue, then it's likely that your server is configured to block self-referencing URLs, which is a very rare issue, but has happened a couple times.  That is an issue that you will have to get your host to help with, as it is a server setting, not something in the code.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
brelandr
Jr. Member
**
Offline Offline

Posts: 27



« Reply #2 on: January 11, 2017, 06:37:35 PM »

i removed the plugin and reinstalled it.  did not resolve the issue.. it is still giving the error when I put it back in.

For permissions i set the permissions  to 777 and still would not save.  Getting error below -   I have other site on this same server that i can save successfully

Refused to set unsafe header "Connection"
mAjax @ vertex.js:1458
save @ vertex.js:3552
sa.children.(anonymous function).onclick @ vertex.js:3489



If you were using an older version of the Image and Content Fader, you may need to fully remove the plugin before installing the updated version, as there have been some necessary file name & location changes that the WP plugin updater doesn't handle correctly.

As for the theme options not saving, there are only 2 things that would cause that:

1.  The options file needs to have writable permissions on the server, so that the admin can actually write the changes (vertex.json in the theme folder - minimum of 655, some servers need 755 or 766 - on rare occasions, 777 may be needed)

2.  If it's not a permissions issue, then it's likely that your server is configured to block self-referencing URLs, which is a very rare issue, but has happened a couple times.  That is an issue that you will have to get your host to help with, as it is a server setting, not something in the code.
Logged
brelandr
Jr. Member
**
Offline Offline

Posts: 27



« Reply #3 on: January 11, 2017, 07:15:19 PM »

I have resolved most of the issues.. however still getting the following error

iRefused to set unsafe header "Connection"
mAjax @ vertex.js:1458
save @ vertex.js:3552
sa.children.(anonymous function).onclick @ vertex.js:3489



If you were using an older version of the Image and Content Fader, you may need to fully remove the plugin before installing the updated version, as there have been some necessary file name & location changes that the WP plugin updater doesn't handle correctly.

As for the theme options not saving, there are only 2 things that would cause that:

1.  The options file needs to have writable permissions on the server, so that the admin can actually write the changes (vertex.json in the theme folder - minimum of 655, some servers need 755 or 766 - on rare occasions, 777 may be needed)

2.  If it's not a permissions issue, then it's likely that your server is configured to block self-referencing URLs, which is a very rare issue, but has happened a couple times.  That is an issue that you will have to get your host to help with, as it is a server setting, not something in the code.
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #4 on: January 12, 2017, 01:53:19 PM »

That looks like an issue with the javascript; I will have to forward this thread to one of the other developers who has more experience with JS, and I will get back to you when I have an answer.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.