Page 1 of 2

Problem setting Phoca gallery 3.2.2

Posted: 08 Oct 2012, 20:18
by seb598
Hi,
I just installed Phoca gallery 3.2.2, my version is Joomla 2.5.7.
My problem is that I can not change the settings phoca.
I save my changes and closes, but the window does not close.
I am redirected to the site configuration
I close this page and come back in Phoca settings and I see that nothing has been changed

Do you have any idea please

Re: Problem setting Phoca gallery 3.2.2

Posted: 11 Oct 2012, 19:08
by martin.prechtl
I have the same problem!
Has nobody an idea?

Re: Problem setting Phoca gallery 3.2.2

Posted: 14 Oct 2012, 00:48
by Jan
Hi, maybe you have some javascript error rendered in your Joomla! admin which then does not close the Joomla! Options window - try to check javascript console in your browser - maybe there will be rendered some error. :idea:

Jan

Re: Problem setting Phoca gallery 3.2.2

Posted: 14 Oct 2012, 22:07
by lukaszp
I have the same problem ;/

Re: Problem setting Phoca gallery 3.2.2

Posted: 23 Oct 2012, 21:27
by MrKonaPhil
Hi, I have the same issue. I've done a migration from release 2.7.6 to 3.2.2 running Joomla 2.5.

When I try to Save&Close the Phoca Gallery parameters after modifications, the popup is not closed and the content of the Joomla admin page is displayed inside the popup. The modified parameters are not taken into account. I've the same issue with Firefox and Google Chrome.

Do you have any idea how to fix this bug?

Best Regards,

Re: Problem setting Phoca gallery 3.2.2

Posted: 23 Oct 2012, 21:56
by lukaszp
Problem is : Suhosin

I disable it and all works :)

Re: Problem setting Phoca gallery 3.2.2

Posted: 24 Oct 2012, 19:13
by MrKonaPhil
Thanks for the tip lukaszp.

But in my point of view Suhosin is a security PHP module and I do not want to disable it (there are already enough security holes).

I think we should found the root cause of this issue. I've tried to have a look with Inspector or to see if some javascript errors occur but without success for the moment.

Any other idea?

Re: Problem setting Phoca gallery 3.2.2

Posted: 24 Oct 2012, 20:58
by lukaszp
I just disable for a moment...

try to change suhosin.post.max_vars it maybe help

Re: Problem setting Phoca gallery 3.2.2

Posted: 28 Oct 2012, 18:10
by MrKonaPhil
Hi,

I've tried to disable suhosin (using both method .htaccess and php.ini + restart apache) but it did not solved the issue. I've also tried to change the value of suhosin.post.max_vars without any success.

But lukaszp you are right, my problem is linked to the max. POST variable used by the Phoca Gallery Parameters window when the user saves changes. In my apache error.log file, I can read:

[Sun Oct 28 17:03:43 2012] [error] ALERT - configured POST variable limit exceeded - dropped variable 'jform[picasa_load_pagination]' (attacker '(My IP Address)', file '/var/www/joomla2.5/administrator/index.php'), referer: http://(IP Address of my server)/joomla2.5/administrator/index.php?option=com_config&view=component&component=com_phocagallery&path=&tmpl=component

I try now to increase this limit.

Re: Problem setting Phoca gallery 3.2.2

Posted: 29 Oct 2012, 12:15
by MrKonaPhil
Hi

In my php.ini file, I set the following configuration :

Code: Select all

[suhosin]
; Misc Options
suhosin.simulation = On
I restart apache:

Code: Select all

/etc/init.d/apache2 restart
I check if suhosin is disabled:

Code: Select all

php -i | grep suhosin
and I can read:

Code: Select all

suhosin.simulation => On => On
that means that suhosin is disabled. When I validate the Phoca Gallery parameters, I can read in the apache log file:

Code: Select all

[Mon Oct 29 11:05:36 2012] [error] [client 82.227.52.87] ALERT - configured POST variable limit exceeded - dropped variable 'jform[picasa_load_pagination]' (attacker '(MY_IP_ADDRESS)', file '/var/www/joomla2.5/administrator/index.php'), referer: http://(MY_WEB_SITE_IP_ADDRESS)/joomla2.5/administrator/index.php?option=com_config&view=component&component=com_phocagallery&path=&tmpl=component
That means that there is another parameter that limits the size of POST requests. Do you have any idea?

Another way to configure Phoca Gallery without the backend interface is to set parameters directly in database or config file. Does anyone have an idea how?

Thanks for your answers, I'm starting to run out of ideas.... :idea: