Welcome, Guest. Please login or register.
Did you miss your activation email?

 
Advanced search

18643 Posts in 5527 Topics- by 9327 Members - Latest Member: Yannis

May 20, 2013, 01:30:11 PM
JOOM::GALLERY::FORUMJoomGallery 1.5 MVCBackend / AdministrationJoomgallery backend doesn't save configuration settings
Pages: 1 2 [3] 4
Print
Author Topic: Joomgallery backend doesn't save configuration settings  (Read 19858 times)
0 Members and 1 Guest are viewing this topic.
mab
Administrator
Sr. Member
*****
Offline Offline

Posts: 377



View Profile
« Reply #30 on: January 14, 2009, 06:44:23 PM »

Hi 2all,

normally the configuration settings will be saved without problems, but there may be some server settings that prevent JoomGallery from saving.
First of all there are the Unix-Rights of the files administrator/components/com_joomgallery/joomgallery.config.php and components/com_joomgallery/assets/css/joom_settings.css.
During the installation JoomGallery tries to chmod those files to 766 to make them writeable for the gallery. But some server do not allow to chmod the files and so they get the standard chmod of 644 what is not enough. In some cases especially on servers with the wwwrun problem 766 is not enough; there you have to change the rights manually.

The second reason could be the suhosin patch which may be installed on your server. The suhosin patch should protect the server but some of it's (changeable) options are to restrictive for the gallery. The configuration contains 198 variables, some of them are arrays.  The suhosin patch controls for example how many variables were send using $Post or $REQUEST; normally the values for those options are set to 200:
suhosin.post.max_vars = 200;
suhosin.request.max_vars = 200;
If they are set lower than 200 the configuration could not be saved.
And there are two other options that maybe collide with the configuration:
suhosin.request.max_array_index_length and
suhosin.post.max_array_index_length
If the arrays in the configuration e.g. for the choosen Exif-options or for the allowed categories have more indexes as the value of this options the configuration could also break.
 
So we need your phpinfo() and your config-file.
« Last Edit: January 14, 2009, 09:30:49 PM by mab » Logged

with best regards...
mab
standio
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #31 on: January 14, 2009, 07:59:21 PM »


 
So we need your phpinfo() and your config-file.

I have put two posts earlier my php info file but i was a bit confused with this problem and i have made a down grade to the
1.0 version...and imagine it is working. I have no idea what was a problem, maybe the last mentioned reason by mab, I mean smaller number of variables used by this version.
So for now I will stay with this one and in future I will to get ready for any upgrade:)
Thanks a lot
Bartek
Logged
raza
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #32 on: January 15, 2009, 11:21:43 AM »

 Hello, everybody!

 Apparently I have the exact same issue.
 The funny thing about it is that I had this component up and running smoothly before I was forced to make a recovery from a backup file. And what a nice gallery component this is!
 Then started the problems as my gallery wouldn't recognize any of it's categories or pictures, and I wasn't able to save the configuration file.
 The server is exactly the same (no possibility then for the server settings to prevent JoomGallery from saving). So are all other settings, including chmod 777 to all files and folders.
  Has anyone found a fix for this issue? I can live with repairing my gallery this one time, but I don't want to do this every time I recover from a backup. Most of all I want to be able to save.

  Best wishes!
Logged
fabiogarcia
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #33 on: January 26, 2009, 04:51:13 PM »

I'm with the same problem.

Does someone find the way to fix this?

Please tell us how.

Thanks for help,

Fábio Garcia
Logged
fabiogarcia
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #34 on: January 26, 2009, 09:39:51 PM »

Mab,

My configuration is set to 200, as you can see here: http://www.cdametais.com.br/phpinfo.php

On this forum you are so talk about two others sets:

And there are two other options that maybe collide with the configuration:
suhosin.request.max_array_index_length and
suhosin.post.max_array_index_length

How they shoul be? It's on 64 for now.

Best,

Fábio Garcia
Logged
mab
Administrator
Sr. Member
*****
Offline Offline

Posts: 377



View Profile
« Reply #35 on: January 27, 2009, 09:47:39 AM »

Hi fabiogarcia,

those settings could only be relevant if you choose more than 64 categories from the list Configuration Manager >> User Access Rights >> User Upload >> Allowed Category or from the list Configuration Manager >> User Access Rights >> User Upload >> Allowed for usercategories.

What about the two configuration files? Are they writeable?

Logged

with best regards...
mab
dado
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #36 on: January 31, 2009, 06:41:10 PM »

and what is solution to this problem?
Logged
assssa
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #37 on: February 04, 2009, 02:49:39 PM »

I check post request data and found about 260 variables to save JoomGallery config.
I've changed amount of allowing variables in suhosin module to 300 and configuration were saved!
You should write 3 lines in the end of php.ini file:

[suhosin]
suhosin.post.max_vars=300
suhosin.request.max_vars=300

More read on http://www.webhostgear.com/416.html
Logged
aram7x
Newbie
*
Offline Offline

Posts: 35



View Profile WWW
« Reply #38 on: February 15, 2009, 03:33:21 PM »

Hi,
I have same problem,
I use joomgallery 1 in joomla 1.0.15,when I save configuration in backend ,save working fine,but when i change other parameters and save again my last saved parameters return to default.
For Example:Go to Category View --->change Content of the Option List then save configuration.
Go to User Access Rights --->Allowed Category or Allowed for usercategories then save again.
Return to Category View --->change Content of the Option List you see everything change to default.
I was tested in local & Host.

Regards
Alireza

Logged

Iran Machinery Reference
www.iranmachinery.com
photopositive
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #39 on: June 13, 2009, 11:58:42 PM »

Hi All,

New here. I installed JoomGallery the other day and it was working fine. It seems my webhost changed some permissions and it's gone a bit weird. I have changed all permissions shown for paths/directories so they are writable and I have green lines. The problem seems to be the same as others have had: the css file is not writable. I have been into the components/com_joomgallery/assets/css/ folder and changed the whole folder and contents to 777. But still the general settings tab tells me that joom_settings.css is not writable.
There's nothing else I can think of to make it realise that the file is 777 permissions. It means that when I try and change settings such as the gallery view (that was working fine) I just get a "css file not writable" error.

Is there any more information on this or does anyone have a solution for me?

Many thanks in advance...

Dave
Logged
photopositive
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #40 on: June 14, 2009, 12:55:33 PM »

There's a second part to this as well - I've just done a test upload to see what was happening and there is this error coming up too.... they must be related as they have appeared at the same time.

Warning: imagejpeg() [function.imagejpeg]: Unable to open '/components/com_joomgallery/img_thumbnails/macro_6/_dmn4923_20090614_1473620373.jpg' for writing: Permission denied in administrator/components/com_joomgallery/common.joomgallery.php on line 370

Warning: getimagesize(/components/com_joomgallery/img_thumbnails/macro_6/_dmn4923_20090614_1473620373.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /administrator/components/com_joomgallery/common.joomgallery.php on line 415

Does anyone have a solution?

TIA
Dave
Logged
mab
Administrator
Sr. Member
*****
Offline Offline

Posts: 377



View Profile
« Reply #41 on: June 16, 2009, 11:10:31 AM »

Hi photopositive,

is the FTP-Layer enabled?
Logged

with best regards...
mab
glk70
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #42 on: June 29, 2009, 11:39:54 AM »

Hello there

I've got the same problem described in this post : Any change in joomgallery config backend was NOT saved. Yet the component and modules working perfectly with the current configuration.

I solved changing the content of the configuration field Special Character in General Settings -> substitutions

Check carefully the field Special Chars doesn't contain ' or "

This solved the issue for me.

Why I inserted ' and " in that field ? simply. the ' in descriptions stops JoomImg module from working. but this will be posted in another topic.

Regardsw
Logged
frob
Newbie
*
Offline Offline

Posts: 14


View Profile
« Reply #43 on: October 03, 2009, 03:44:13 PM »


I've got the same problem described in this post : Any change in joomgallery config backend was NOT saved. Yet the component and modules working perfectly with the current configuration.

I solved changing the content of the configuration field Special Character in General Settings -> substitutions

Check carefully the field Special Chars doesn't contain '
or "

This solved the issue for me.


 Shocked

it solve the problem for me too

thanks a lot  Grin
Logged
paciock87
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #44 on: November 25, 2009, 12:17:45 PM »

I have the same problem, the configuration manager does not save the new settings. But the real big problem is that if i change manual /administrator /components /com_joomgallery/joomgallery.config.php does not change nothing! It is impossible, where does joomgallery get the info for settings? Why if i, for example, change "$jg_maxuserimage = "500";" in "$jg_maxuserimage = "600";" it doesn't change in joomgallery?

Thank you!
Valerio
Logged
Pages: 1 2 [3] 4
Print
Jump to:  

Theme orange-lt created by panic

Bad Behavior has blocked 841 access attempts in the last 7 days.