Imagemagick No Thumbnails No Resize No Error - 1&1 Hosting

gabes

Joined: 2007-07-02
Posts: 6
Posted: Thu, 2012-05-31 09:09

Afert searching a few days about what's happening, i found the solution and think it would be great to share it, if it can avoid you to lost 2 weeks :
In ImageMagick.php file you need to add the line
putenv('MAGICK_THREAD_LIMIT=1');
at the second line of the file.

Hope this can help someone.

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25961
Posted: Thu, 2012-05-31 13:43

Thanks. I've added to the other 1&1 issues the community has found:
http://codex.gallery2.org/Gallery3:Host_specific_issues#1_.26_1

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
iUser

Joined: 2010-04-12
Posts: 9
Posted: Mon, 2012-07-02 23:16
gabes wrote:
....
Hope this can help someone.

You sure did help someone! Thank you!

After not adding any galleries for the last 8 month I tried to add one last night. No thumbs, no resize. Spent a couple of hours trouble shooting before finding this solution. Dropped the line in the file and things work again.

Something must have changed at 1and1 since everything worked just fine for me for a couple of years.

Login or register to post comments
kellsiek

Joined: 2007-12-16
Posts: 6
Posted: Sun, 2012-08-12 21:42

I think I'm having a similar problem but I'm using Gallery2. Where would I put the putenv("MAGICK_THREAD_LIMIT=1"); command for Gallery2?

Login or register to post comments
gabes

Joined: 2007-07-02
Posts: 6
Posted: Mon, 2012-08-13 06:54

I dont have gallery 2 installed at this time... so i cant give you filename..
but you need to find a file included (as a common header, or as a configuration page) in gallery.
At defaut you can try to find the magick files and put it in this one who is doing the resize job.

Login or register to post comments