I've installed imagecache on drupal (4.7.6), and configuring presets doesn't work.

I can create a preset, and add an initial action to it. When I put in some values for the action, I get a page not found. If I then reload the page, I'm back on the imagecache presets page, but without any of the new information. I'm currently unable to set any values.

In the logs I get:
[Wed Mar 14 08:39:10 2007] [error] [client 129.215.212.29] FATAL: emalloc(): Unable to allocate 138787081 bytes, referer: http://dave.murray-rust.org/admin/imagecache/preset/2
[Wed Mar 14 08:39:10 2007] [error] [client 129.215.212.29] Premature end of script headers: php.cgi, referer: http://dave.murray-rust.org/admin/imagecache/preset/2

This happens both with and without clean urls set. I'm running PHP 4.4.4. I've tried both the stable and the dev. snapshot of imagecache

Comments

mo-seph’s picture

On further investigation, it seems like this was a more general drupal/dreamhost issue.

I've moved from drupal 4.7 to 5.1, and the problem has gone away.

Tresler’s picture

Status: Active » Closed (fixed)

Searching for other issues, but thought I'd mark this closed on my way through.

ktonini’s picture

Status: Closed (fixed) » Active

Hmm, this is happening to me on drupal 6 / dreamhost

Premature end of script headers: php.cgi, referer: http://www.mysite.com/path-to-gallery

Any ideas?

MatthewDodwell’s picture

For me the error was the order of gd.so and pdf.so in php/extensions.ini. gd.so must come first

I just moved them to the end of the list:

....
gd.so
pdf.so

and everything is now working fine.

MatthewDodwell’s picture

m.schwarzenberg’s picture

Version: 4.7.x-1.x-dev » 6.x-2.x-dev
Component: User interface » imagecache_image module
Issue tags: +ImageCacheInCore, +drupal 7, +imagecache preset, +image presets

ImageCache went's into core in D7. It is not possible to post reply without valid version so I post it in to latest version.....

My problem:
I have the (nearly) same error in D7. Only one image preset is editable.

Thanks in advance for hints.
Markus Schwarzenberg

I have flushed cache, closed and reopen firefox already.
Where can I find php/extensions.ini in D7?

Edit: I assume a problem with module panels...

puya’s picture

make sure that you have at least one image library enabled under your modules page for imagecache (either Gd2 or Imagemagik)

m.schwarzenberg’s picture

Yes it is enabled.
After investigation of the provider we have downgrades php 5.3 >> 5.2. Voila! it works...

I don't think that this ist teh right solution. Therefore I do not tag this issue as solved

sandrewj’s picture

Status: Active » Closed (won't fix)

Seems like you are not using this module but instead the Drupal 7 core functionality