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)
Posts: 32509
what's your php memory limit? system specs, g2 version, ..?
http://codex.gallery2.org/index.php/Gallery2:faq#What_information_is_required_when_I_ask_for_help_in_the_forums.3F
Posts: 9
I define the memory limit into the .htaccess file which is in the racine of the Gallery folder. The content of the file is :
Is the probleme comming from this ?
Posts: 32509
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.
Posts: 9
I increased this value to 32M, and that fine !!!
Thanks a lot !
Jean-Marie
Posts: 53
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)