Post by enewbold » Thu Nov 08, 2007 4:17 am

Just completed a new installation at:
http://www.perfectcreationsonline.com/store/

Am getting this error:
Fatal error: Call to undefined function imagecreatefromjpeg() in /web/script/enewbold/perfectcreationsonline.com/store/library/image/image.php on line 72

Any suggestions?

Thanks in advance for your assistance.
Ed Newbold
Last edited by enewbold on Thu Nov 08, 2007 4:29 am, edited 1 time in total.

Newbie

Posts

Joined
Thu Nov 08, 2007 12:55 am

Post by enewbold » Thu Nov 08, 2007 10:22 pm

Interesting. When reviewing the code in image.php, the function call there is:

    switch ($size[2]) {
      case '1':
        $source = imagecreatefromgif(DIR_IMAGE . $image);


is there, but not a function named

    switch ($size[2]) {
      case '1':
        $source = imagecreatefromjpeg(DIR_IMAGE . $image);


Is this an oversight?  Is there an update coming to fix this?

Thanks,
Ed
(ednewbold@enewbold.com)
Last edited by enewbold on Thu Nov 08, 2007 10:24 pm, edited 1 time in total.

Newbie

Posts

Joined
Thu Nov 08, 2007 12:55 am

Post by enewbold » Thu Nov 08, 2007 10:35 pm

Well, I'm tracking down the problem. Found the probable issue in this thread:
http://forum.opencart.com/index.php?topic=103.0

It's a GD and PHP 5 issue.

Will report back later....
Ed

Newbie

Posts

Joined
Thu Nov 08, 2007 12:55 am

Post by enewbold » Fri Nov 09, 2007 9:53 pm

Here's what my phpinfo() reveals:

GD Support   enabled
GD Version   bundled (2.0.28 compatible)
GIF Read Support enabled
GIF Create Support enabled
PNG Support   enabled
WBMP Support enabled
XBM Support   enabled

Notice that jpg support is not listed. I've contacted my sys admin and asked for a recompile.
=END of SUPPORT ISSUE=

Newbie

Posts

Joined
Thu Nov 08, 2007 12:55 am
Who is online

Users browsing this forum: No registered users and 4 guests