Search…

X3 Photo Gallery Support Forums

Search…
 
Ikfoto
Topic Author
Posts: 3
Joined: 19 Feb 2011, 07:49

Error saving Settings

11 Apr 2017, 06:06

Hello,

I've installed the trial gallery to test it but I  can't save the Settings in the control panel. In the other tabs there's no problem (I can create new galleries, rename them, delete...) but when trying to save settings I get   Error -> textStatus: error
I've set 777 permissions to all the folders, but even then I get the same error. 
I've also tried changing PHP version (I can do it in my hosting control panel, from 5.2 to v7) but nothing works. I can say Suhosin warning disappears with some versions, but open_basedir warning is always displayed.
Do you know where could be the problem?

Here you are the link: http://www.ikfoto.com/TEST/

Thanks!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Error saving Settings

11 Apr 2017, 07:14

I can tell you exactly what the problem is, as a few others have experienced the same. This is your server Firewall settings, blocking POST actions to the x3_settings.php script, which is used by X3 panel to save settings.

I know this for sure, because when it's POSTED to from the X3 Panel, it returns "403 Forbidden":
Image

Yet, when accessed directly (without POST), the script can be accessed as normal:
http://www.ikfoto.com/TEST/panel/x3_settings.php

You need to ask your host to disable the firewall for this script, or for anything under your /panel/ path (since that's only for logged-in users anyway). They must comply, or how else are we supposed to save settings?

PS! Just for further information, your servers Firewall is likely blocking this, because it sees html tags and javascript tags in the POST (from your saved X3 settings). This is of course how it's supposed to work, but your Firewall is triggering some rule.