Post by fernando » Thu Dec 17, 2009 10:27 pm

When i add item to cart it goes to the cart ok, but if i click on basket i get this error

Fatal error: Call to undefined function imagecreatefromjpeg() in /home/refurbis/public_html/system/library/image.php on line 34

Any ideas what the problem is

Newbie

Posts

Joined
Thu Dec 03, 2009 4:32 pm

Post by Xsecrets » Thu Dec 17, 2009 10:44 pm

sounds like you are missing some php modules. Did you get any warnings during the install?

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by fernando » Thu Dec 17, 2009 10:52 pm

Not that i know of, my host company did the install for me

Newbie

Posts

Joined
Thu Dec 03, 2009 4:32 pm

Post by Qphoria » Thu Dec 17, 2009 11:16 pm

That would be the problem.
Do yourself a favor and get the latest version from the download link here. upload it to your FTP and do a fresh install

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by fernando » Thu Dec 17, 2009 11:40 pm

It is a fresh install 1.3.4 they got from the link here

Newbie

Posts

Joined
Thu Dec 03, 2009 4:32 pm

Post by Xsecrets » Thu Dec 17, 2009 11:59 pm

imagecreatefromjpeg() is a standard php function, but it requires that the gd module be installed in php. It is not an error with opencart, but the fact that your host doesn't have gd installed. The install script should have notified them of this.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by Qphoria » Fri Dec 18, 2009 12:01 am

well that error doesn't happen for anyone else. Seems odd that the cart would even have an image error as it doesn't show image in the cart module

But imagecreatefromjpeg() is a php function. If it can't find it that would tell me that the server doesn't support it. But you should have seen that on the front page as that is the main chunk used for image cache.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by fernando » Fri Dec 18, 2009 2:36 am

Thanks for the info,will get onto my host about the problem.

Newbie

Posts

Joined
Thu Dec 03, 2009 4:32 pm

Post by fernando » Fri Dec 18, 2009 5:34 pm

Just like to thank Qphoria & xsecret you were spot on with the problem being host side.

Pleased to say all sorted and working now

Thanks guys

Newbie

Posts

Joined
Thu Dec 03, 2009 4:32 pm
Who is online

Users browsing this forum: No registered users and 1 guest