Package: gallery2
Version: 2.2.4-2
Severity: important

I have installed and configured gallery2 and uploaded a bunch of photos.
I now wish to remove the "View All Versions" permission from group
"Everybody" (using the Edit Permissions page of the root album). Every
time I try to do this I get one of the following two errors: 

1:
Fatal error: Maximum execution time of 30 seconds exceeded in
/usr/share/gallery2/modules/core/classes/helpers/GalleryItemHelper_mediu
m.class on line 979

I don't understand this one, since my phpinfo (link below) clearly shows
that the max execution time is 630 seconds (I edited
/etc/php5/apache2/php.ini to increase the time limit). 

2:
Warning: fopen(/archive/Gallery/locks/1) [function.fopen]: failed to
open stream: Too many open files in
/usr/share/gallery2/modules/core/classes/GalleryPlatform.class on line
326

Warning:
GalleryCoreApi::require_once(/usr/share/gallery2/modules/core/classes/..
/../../modules/core/classes/GalleryStatus.class)
[function.GalleryCoreApi-require-once]: failed to open stream: Too many
open files in
/usr/share/gallery2/modules/core/classes/GalleryCoreApi.class on line
2717

Fatal error: GalleryCoreApi::require_once() [function.require]: Failed
opening required
'/usr/share/gallery2/modules/core/classes/../../../modules/core/classes/
GalleryStatus.class' (include_path='.:/usr/share/php:/usr/share/pear')
in /usr/share/gallery2/modules/core/classes/GalleryCoreApi.class on line
2717

This one makes a little more sense, but I cannot find any configuration
option to increase the maximum number of open files allowed. 

I'd be really grateful for any help resolving this - all I want to do is
remove global view permission so that my photos can be viewed using a
guest password or a registered account. I have posted three times on the
G2 support forum and had no respones at all. 

Here is the output of gallery2's System Info from the Admin page: 

Gallery version = 2.2.4 core 1.2.0.6
PHP version = 5.2.5-3 apache2handler
Webserver = Apache/2.2.8 (Debian) PHP/5.2.5-3 with Suhosin-Patch
Database = mysqli 5.0.51a-3, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, NetPBM,
SquareThumb, Thumbnail
Acceleration = none, none
Operating system = Linux baba 2.6.22-3-k7 #1 SMP Sun Feb 10 21:04:14 UTC
2008 i686
Default theme = matrix
gettext = enabled
Locale = en_GB
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR
3.0.04506.648)
Rows in GalleryAccessMap table = 378
Rows in GalleryAccessSubscriberMap table = 3914
Rows in GalleryUser table = 5
Rows in GalleryItem table = 3912
Rows in GalleryAlbumItem table = 66
Rows in GalleryCacheMap table = 0

The gallery is at http://www.terminalarrogance.com/gallery
The phpinfo link is http://www.terminalarrogance.com/gallery/phpinfo.php

The file integrity test showed one file modified: lib/pear/HTMLSax3.php
- this file has has been modified by Debian (in order to adhere to
Debian's copyright requirements for free software, I think).

This e-mail may contain information which is confidential, legally privileged 
and/or copyright protected. This e-mail is intended for the addressee only. If 
you receive this in error, please contact the sender and delete the material 
from your computer



Reply via email to