Member
Member
makar   2012-04-11, 08:21
#1

Hello,

There is a following problem. Shortly after enabling ImageMagick, site becomes inaccessible with errors like:

when visiting main address:

Fatal error: Out of memory (allocated 6029312) (tried to allocate 7680 bytes) in /zp-core/functions-i18n.php on line 563

or when visiting Zenphoto backend:

Fatal error: Out of memory (allocated 3670016) (tried to allocate 491520 bytes) in /zp-core/admin-functions.php on line 1550

After disabling ImageMagick via phpMyAdmin normal operation resumes.

Here is system info:

I'd like to ask to snipe this URL from this message after visiting

Is it the case of not enough memory provided to ImageMagick or perhaps perhaps it is too old and has some issues in this release? Or something else?

Thank you!

Administrator
Administrator
acrylian   2012-04-11, 08:54
#2

The imagick version should be fine. The error seems to indicate that you don't have enough memory to process the images you want to. Try using smaller images dimensionwise.

Member
Member
makar   2012-04-11, 09:07
#3

Currently this site has no images managed by Zenphoto at all. So this error occurs simply by ImageMagick being enabled.

Administrator
Administrator
acrylian   2012-04-11, 10:10
#4

Then it might be not configured/installed correctly. In that case you need to ask your host.

Member
Member
makar   2012-04-11, 16:11
#5

I've contacted the host and they say that everything on their side is as it should be, and instead suggested to check the script's compatibility with PHP 5.3.

I'm not sure what else to try... Could you suggest any procedures or steps that can help in examining this issues further?

Administrator
Administrator
acrylian   2012-04-11, 16:14
#6

Try uploading an image. I have not seen this behaviour. I however mostly use GDlib as my local server package does not have Imagick but my live server has and I have not seen this.

Zenphoto is php 5.3 compatible as that is what I am developing on for quite a while.

Member
Member
makar   2012-04-11, 16:44
#7

I have uploaded a single image, but the effect when switching to imagick is the same.

Could this be an issue with the LiteSpeed web server that the host uses? There was an upgrade recently on the host, switch from Apache and PHP upgrade, before which imagick worked perfectly together with Zenphoto.

Administrator
Administrator
acrylian   2012-04-11, 17:29
#8

Might be, we only test Apache.

Member
Member
makar   2012-04-11, 17:49
#9

I see. I guess then I'll be looking for a hoster with Apache after my current contract is finished. Taking a quick peek on the "Web Hosting Talk" at shared hosting offers however leaves with me with impression (since my last visit there) that many have now adopted LiteSpeed...

Administrator
Administrator
acrylian   2012-04-11, 18:09
#10

Honestly, I don't know any host that uses litespeed but that might be different over the "pond"...

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.