Page 1 of 2
Re: imagemagic.php Error on line 220
Posted: 26 Aug 2009, 18:26
by Jan
Hi, the script doesn't have enough memory (try to resize your images before adding them to gallery) or try to increase server memory if you are able.
Jan
Re: imagemagic.php Error on line 220
Posted: 06 Sep 2009, 17:54
by luisraposo
hello there,
this same problem is hapenning with me
it worked fine with Phoca 2.5.6, but after upgrading to 2.5.7, with same size images, I am no longer able to create thumbnails..
serve PHP memory is limited to 32Mb and I can not change this parameter..
could it be something with the new version..?
thanks,
luis raposo
error on thumbnails
Posted: 07 Sep 2009, 23:30
by luisraposo
hi Jan,
apparently this is a bug introduced with the new version 2.5.7
on com_phocagallery\administrator\views\phocagallerys\view.html.php, line ~50
the new version has this line commented ( // )
if you remove the comment, thumbnails start working!! (at least for me

)
please confirm,
luis raposo
Re: imagemagic.php Error on line 220
Posted: 08 Sep 2009, 19:22
by Jan
Hi, this was obsolete code:
$context = 'com_phocagallery.phocagallery.list.';
the $context variable were not used in 2.5.6 so commeting or uncommeting this doesn't have any influence of thubmnails creating ???
Jan
Re: imagemagic.php Error on line 220
Posted: 08 Sep 2009, 20:12
by luisraposo
well Jan, it did solve the problem for me..
(but let me tell you also that on a local installation, it did work fine with the commented line..)
Re: imagemagic.php Error on line 220
Posted: 12 Sep 2009, 22:43
by Jan
Ok
Re: imagemagic.php Error on line 220
Posted: 22 Sep 2009, 12:51
by pdenessen
HI Jan,
I uncommented the line 50, as explained above, but still face the same problem?
Any Idea? What Info do you need ?
Using version 2.5.8
Patrick
Re: imagemagic.php Error on line 220
Posted: 23 Sep 2009, 20:10
by Jan
Hi, if you have out of memory problem, you need to increase php memory on your server or try to resize images.
Jan
Re: imagemagic.php Error on line 220
Posted: 24 Sep 2009, 10:09
by pdenessen
Hi Jan,
I am using PHP version 5.2.10 and the memory_limit is set to 128M.
Patrick
Re: imagemagic.php Error on line 220
Posted: 24 Sep 2009, 16:45
by Jan
and you still get this error:
Fatal error: Out of memory
?