We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

nGen fatal error ?

Development and Programming

wbjp's avatar
wbjp
89 posts
16 years ago
wbjp's avatar wbjp

When I try to upload an image through an nGen field I get

“Fatal error: Call to undefined function imagejpeg() in /home/mydomain.com/system/extensions/fieldtypes/ngen_file_field/ft.ngen_file_field.php on line 907”

Despite the error, the image is uploaded to the uploads directory but the only way I can get rid of the error message is by deleting the uploaded image.

Very fustrating… wondering if anyone can help?

It’s a completely new EE install, the only addons are FieldFrame, Playa, wygwam and they are both working.

EE 1.6.8 Build: 20091201 ————————- Apache 2.1.14 PHP 5.2.11 ( Memory limit 128MB ) MySQL 5.1.41 PHP Upload limit 20MB

Thanks

       
Jason Morehead's avatar
Jason Morehead
456 posts
16 years ago
Jason Morehead's avatar Jason Morehead

This article might be of some help.

It sounds like you’re missing something in your GD library. I’d suggest checking with your hosting provider to see if they make sure your GD library has what you need.

       
pixelman's avatar
pixelman
12 posts
16 years ago
pixelman's avatar pixelman

I tried to install the last version of nGen field with 1.6.8 > blank screen. With 128MB limit in recent PHP… Then I got a previous version (first version) from a colleague as a test. And guess what; it worked! So I think it has some problems with the latest build of ee.

       
wbjp's avatar
wbjp
89 posts
16 years ago
wbjp's avatar wbjp

Thanks for for your help Jason and pixelman, I found out that my GD library was missing support for jpeg.

Update. I tried both ImageMagick or NetPBM but they didn’t work so I had jpeg support added to the GD library and nGen works perfectly now. Thanks!

       
Jason Morehead's avatar
Jason Morehead
456 posts
16 years ago
Jason Morehead's avatar Jason Morehead
Update. I tried both ImageMagick or NetPBM but they didn’t work so I had jpeg support added to the GD library - nGen works perfectly now. Thanks!

Cool, glad it all worked out.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.