imagemagic.php Error on line 220

Phoca Gallery - image gallery extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: imagemagic.php Error on line 220

Post 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
If you find Phoca extensions useful, please support the project
luisraposo
Phoca Member
Phoca Member
Posts: 16
Joined: 22 Aug 2009, 17:35
Location: Portugal
Contact:

Re: imagemagic.php Error on line 220

Post 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
luisraposo
Phoca Member
Phoca Member
Posts: 16
Joined: 22 Aug 2009, 17:35
Location: Portugal
Contact:

error on thumbnails

Post 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 :P )

please confirm,
luis raposo
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: imagemagic.php Error on line 220

Post by Jan »

:idea:
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
If you find Phoca extensions useful, please support the project
luisraposo
Phoca Member
Phoca Member
Posts: 16
Joined: 22 Aug 2009, 17:35
Location: Portugal
Contact:

Re: imagemagic.php Error on line 220

Post 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..)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: imagemagic.php Error on line 220

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
pdenessen
Phoca Member
Phoca Member
Posts: 12
Joined: 16 Jul 2009, 11:58

Re: imagemagic.php Error on line 220

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: imagemagic.php Error on line 220

Post 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
If you find Phoca extensions useful, please support the project
pdenessen
Phoca Member
Phoca Member
Posts: 12
Joined: 16 Jul 2009, 11:58

Re: imagemagic.php Error on line 220

Post by pdenessen »

Hi Jan,

I am using PHP version 5.2.10 and the memory_limit is set to 128M.

Patrick
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: imagemagic.php Error on line 220

Post by Jan »

and you still get this error:

Fatal error: Out of memory

?
If you find Phoca extensions useful, please support the project
Post Reply