Encountered a weird error

the_menace

Joined: 2004-02-16
Posts: 39
Posted: Sun, 2005-01-23 01:49

Everything was doing great and we didn't mess with the files until we had problem. We were trying to add a bunch of pictures this morning when this error message came up.
Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/mrtoon/public_html/gallery/modules/gd/classes/GdFunctionality.class on line 244

The thumnail shows as a red "x" and when I tried deleting the album, it shows the error above. Is there anything that I can do? I tried replacing the file above with a fresh one and didn't work either. Thanks guys.
----

Gallery URL (optional):
Gallery version: 2 Alpha
Webserver (with version): cPanel Build 10.0.0-RELEASE 7
Datatabase (with version): 4.0.22-standard
PHP version (eg 4.2.1): 4.3.10
phpinfo URL (optional):
Graphics Toolkit(s): GD toolkit
Operating system: Windows XP
Web browser/version: Internet Explorer 6

- Menace

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2005-01-24 10:49

Sounds like something changed in your GD support for PHP. That shouldn't happen unless you make a change to your PHP installation.

Try using NetPBM or ImageMagick instead.