Problem setting Phoca gallery 3.2.2

Phoca Gallery - image gallery extension
seb598
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 08 Oct 2012, 20:07

Problem setting Phoca gallery 3.2.2

Post 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
martin.prechtl
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 11 Oct 2012, 19:05

Re: Problem setting Phoca gallery 3.2.2

Post by martin.prechtl »

I have the same problem!
Has nobody an idea?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem setting Phoca gallery 3.2.2

Post 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
If you find Phoca extensions useful, please support the project
lukaszp
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 14 Oct 2012, 22:04

Re: Problem setting Phoca gallery 3.2.2

Post by lukaszp »

I have the same problem ;/
MrKonaPhil
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 23 Oct 2012, 21:20

Re: Problem setting Phoca gallery 3.2.2

Post 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,
lukaszp
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 14 Oct 2012, 22:04

Re: Problem setting Phoca gallery 3.2.2

Post by lukaszp »

Problem is : Suhosin

I disable it and all works :)
MrKonaPhil
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 23 Oct 2012, 21:20

Re: Problem setting Phoca gallery 3.2.2

Post 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?
lukaszp
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 14 Oct 2012, 22:04

Re: Problem setting Phoca gallery 3.2.2

Post by lukaszp »

I just disable for a moment...

try to change suhosin.post.max_vars it maybe help
MrKonaPhil
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 23 Oct 2012, 21:20

Re: Problem setting Phoca gallery 3.2.2

Post 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.
MrKonaPhil
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 23 Oct 2012, 21:20

Re: Problem setting Phoca gallery 3.2.2

Post 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:
Post Reply