[SOLVED] System Maintenance : Build all thumbnails/resizes

schneiderj

Joined: 2005-05-29
Posts: 9
Posted: Mon, 2005-07-25 10:11

Hello !

When I run this operation it stop after the following message :

Quote:
Processing image 25 of 120

What I have to do to overcome this ?

Thanks for your help,
Jean-Marie

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-07-25 10:21
 
schneiderj

Joined: 2005-05-29
Posts: 9
Posted: Mon, 2005-07-25 10:39

I define the memory limit into the .htaccess file which is in the racine of the Gallery folder. The content of the file is :

Quote:
php_value memory_limit 16M

Is the probleme comming from this ?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-07-25 10:44

it's hard to tell where the problem is comming from, it could be the memory limit.

if you open the file config.php and replace the line

$gallery->setDebug(false);
with
$gallery->setDebug('buffered');

and then go again to the maintenance task and start it, you should see the memory usage in the upper right corner.

if this is the problem, you should just increase the memory limit to something like
php_value memory_limit 24M
or 32 or 64 during the build thumbs/resizes task.

 
schneiderj

Joined: 2005-05-29
Posts: 9
Posted: Mon, 2005-07-25 10:47

I increased this value to 32M, and that fine !!!

Thanks a lot !
Jean-Marie

 
nad13

Joined: 2005-11-19
Posts: 53
Posted: Tue, 2006-05-16 13:05

Hello,

I tried to create a file .htaccess
php_value memory_limit 32M

I install it with the root of the gallery, but he says to me: error 500 ??
I do not arrive any more has to create labels, I am blocked for albums of marriages.

help me please
nadine

Gallery version = 2.0.1 noyau 1.0.0.1
PHP version = 4.4.2 cgi
Serveur Web = Apache/1.3.33 (Unix)
Base de données = mysql 4.0.25-standard-log
Boîtes à outils = ArchiveUpload, NetPBM, Thumbnail, Gd
Système d'exploitation = Linux infong 2.4 #1 SMP Wed Jan 18 14:53:29 CET 2006 i686 unknown
Navigateur Web = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)