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
imagemagic.php Error on line 220
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: imagemagic.php Error on line 220
If you find Phoca extensions useful, please support the project
-
luisraposo
- Phoca Member

- Posts: 16
- Joined: 22 Aug 2009, 17:35
- Location: Portugal
- Contact:
Re: imagemagic.php Error on line 220
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
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

- Posts: 16
- Joined: 22 Aug 2009, 17:35
- Location: Portugal
- Contact:
error on thumbnails
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
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
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: imagemagic.php Error on line 220
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

- Posts: 16
- Joined: 22 Aug 2009, 17:35
- Location: Portugal
- Contact:
Re: imagemagic.php Error on line 220
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..)
(but let me tell you also that on a local installation, it did work fine with the commented line..)
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: imagemagic.php Error on line 220
Ok
If you find Phoca extensions useful, please support the project
-
pdenessen
- Phoca Member

- Posts: 12
- Joined: 16 Jul 2009, 11:58
Re: imagemagic.php Error on line 220
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
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
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: imagemagic.php Error on line 220
Hi, if you have out of memory problem, you need to increase php memory on your server or try to resize images.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
pdenessen
- Phoca Member

- Posts: 12
- Joined: 16 Jul 2009, 11:58
Re: imagemagic.php Error on line 220
Hi Jan,
I am using PHP version 5.2.10 and the memory_limit is set to 128M.
Patrick
I am using PHP version 5.2.10 and the memory_limit is set to 128M.
Patrick
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: imagemagic.php Error on line 220
and you still get this error:
Fatal error: Out of memory
?
Fatal error: Out of memory
?
If you find Phoca extensions useful, please support the project