Cannot Upload Images

08.06.2012 00:39
#1
tcbisthewaytobe
Joomshopping forum user no avatar
Name: Travis
20.05.2012
Posts: 12
Quote
Cannot Upload Images

When attempting to upload images I receive this error code:


Fatal error: Call to undefined function imagecreatefromjpeg() in /home/hippieru/public_html/Joomla2.5/components/com_jshopping/lib/image.lib.php on line 213

Not too sure what the problem is but line 213 reads:

$image = imagecreatefromjpeg($img);

Would love to use your product, but not without the ability to upload images.

Thankyou,
Travis.


Joomla: 2.5
JoomShopping: 3.6.1
PHP: 5.0
Website Url: http://www.hippierunner.com/Joomla2.5
 
08.06.2012 01:14
#2
tcbisthewaytobe
Joomshopping forum user no avatar
Name: Travis
20.05.2012
Posts: 12
Quote
Aw: Cannot Upload Images

Problem solved by installing GD Library.

Another problem arose specific to product images. When uploading an image I get the following:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@hippierunner.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 
08.06.2012 07:29
#3
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16517
Quote
Aw: Cannot Upload Images

Need more memmory or ... Problem your server.

 
12.06.2012 15:53
#4
tcbisthewaytobe
Joomshopping forum user no avatar
Name: Travis
20.05.2012
Posts: 12
Quote
Aw: Cannot Upload Images

I actually talked to my host about the problem and they found a solution sending me an e-mail stating this was there fix and it worked:

In /usr/local/lib/php.ini

added

upload_tmp_dir = /tmp

session.save_path = /tmp



Then in /usr/local/apache/conf/modsec2/custom.conf

added

SecUploadDir /tmp

SecTmpDir /tmp

 
Copyrights MAXXmarketing GmbH. All Rights Reserved