[SOLVED] Too many photos?

Ofer Shaked

Joined: 2006-08-13
Posts: 2
Posted: Sun, 2006-08-13 10:34

I have a strange problem with Gallery.
Whenever I try to view an albums with more than 500 photos (estimated, I don't know when exactly it happend), Gallery claims that I don't have the permission to view the album - altough I am the admin.
If I try to view an albums with less pictures, 300 photos maybe, then it works fine.

Do you have an idea what is the problem?

BTW - I don't think it's a problem in Gallery, because it worked on another server with probably different Apache & PHP configs.


Gallery version (not just "2"): 1.5.2
PHP version (e.g. 4.3.11): 4.3.10
PHPInfo Link (see FAQ): http://netzach.co.il/temp/vac.php
Webserver (e.g. Apache 1.3.33): 2.0.54-5
Database (e.g. MySql 4.0.11): MySQL 4.0.24-10
Activated toolkits (e.g. NetPbm, GD): none that I know of
Operating system (e.g. Linux): Linux
Browser (e.g. Firefox 1.0): FireFox 1.5.0.6

 
Ofer Shaked

Joined: 2006-08-13
Posts: 2
Posted: Mon, 2006-08-14 09:16

solved.
the problem was that Gallery tried to allocate too much memory, and PHP killed it.
changing in php.ini from memory_limit = 8M to something like 16M, maybe 24M solves this issue.
use Gallery 2 if you have a lot of pictures.