Changes in Options are not saved

Phoca Gallery - image gallery extension
NePheus
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 10 Mar 2011, 20:46

Re: Changes in Options are not saved

Post by NePheus »

Thx for your help Benno.

Here is the solution for T-Online customers (or maybe everybody, I don´t know)

Create an file "php.ini" and add this line: suhosin.post.max_vars = 250

Upload this to your root directory of your ftp server.

The Options are working great immediately!


Greets
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10081
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Changes in Options are not saved

Post by Benno »

You're welcome!
Kind regards,
Benno
mad25
Phoca Member
Phoca Member
Posts: 18
Joined: 21 Aug 2010, 10:54

Re: Changes in Options are not saved

Post by mad25 »

The solution does not seem to work for a local server (creating a php.ini file with that line).
Tried it, but so far no luck. Using Joomla 1.6 stable, Phoca 3.0.0. rc4 .. with either firefox 4.0 and IE9 I am unable to save the settings I am trying to change.
I checked the PHP file, the tables required (as posted before) are all there. Any other tips?
NePheus
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 10 Mar 2011, 20:46

Re: Changes in Options are not saved

Post by NePheus »

The php.ini is just working on Telekom Servers (Germany), I think. With your local server, you have to set the value manual in the php config.
mad25
Phoca Member
Phoca Member
Posts: 18
Joined: 21 Aug 2010, 10:54

Re: Changes in Options are not saved

Post by mad25 »

probably one of the more stupid questions around, but where can I find this file and can I just add the line ?
NePheus
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 10 Mar 2011, 20:46

Re: Changes in Options are not saved

Post by NePheus »

No, don't just add the line. Search in your PHP config-file (can't tell you where it is saved) for suhosin.post.max_vars and change the value to 250.
mad25
Phoca Member
Phoca Member
Posts: 18
Joined: 21 Aug 2010, 10:54

Re: Changes in Options are not saved

Post by mad25 »

I have looked in my xammp/website root folder, opened the configuration.php file, but am unable to find the line that you suggest ... should I add that line there? or is there another problem that I am missing?
NePheus
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 10 Mar 2011, 20:46

Re: Changes in Options are not saved

Post by NePheus »

You dont have to change the XAMPP configuration, you have to change the PHP configuration. Go to your XAMPP directory and search for "php.ini". Maybe you´ve luck. There you can change/add suhosin.post.max_vars like in my previous post described. Good luck (:
thorralf
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 19 Feb 2011, 12:20

Re: Changes in Options are not saved

Post by thorralf »

Hi,

My provider removed any limitations to suhosin and still the configuration window does not save the settings :((( It even does not close after clicking "safe and close".... I am so helpless....
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Changes in Options are not saved

Post by Jan »

If you find Phoca extensions useful, please support the project
Post Reply