Shape 5

Wordpress Club Themes => Traction - Club => : brelandr January 10, 2017, 12:11:22 PM



: Saving Theme Options
: brelandr 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


: Re: Saving Theme Options
: Tristan Rineer 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.


: Re: Saving Theme Options
: brelandr 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.


: Re: Saving Theme Options
: brelandr 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.


: Re: Saving Theme Options
: Tristan Rineer 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.