Support Forums

1.Upload failed: rec.jpg :error: Failed to create the image in memory

This is a discussion on 1.Upload failed: rec.jpg :error: Failed to create the image in memory within the Technical Support forums, part of the Technical Support Forums category; What version of 68 Classifieds are you running? Example: V4.1.6 Designer Just Upgraded New Please describe in detail the issue ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 02-11-2010, 11:10 PM   #1
Customer
 
Join Date: Feb 2010
Posts: 9
Rep Power: 0
jnas is on a distinguished road
Default 1.Upload failed: rec.jpg :error: Failed to create the image in memory

What version of 68 Classifieds are you running?
Example: V4.1.6 Designer
Just Upgraded New



Please describe in detail the issue you are having:

When I upload image in the Place an ad, I receivie this error.

1.Upload failed: rec.jpg :error: Failed to create the image in memory
jnas is offline   Reply With Quote
Old 02-12-2010, 02:15 AM   #2
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,082
Rep Power: 33
bowers01 is on a distinguished road
Default

Hi,
How big were the photos you were trying to upload? try a little photo and see if that works.
Make sure the thumbs and photos folder is chmod to 777, if you dont know how to do it a quick google search helps.
Cheers,
Nick
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline   Reply With Quote
Old 02-12-2010, 05:41 AM   #3
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,004
Rep Power: 74
seymourjames is a jewel in the rough
Default

As you have just upgraded your templates, you should also perhaps consider upgrading now as you are 3 versions back.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds Version 5 Themes and Version 4 Templates
seymourjames is offline   Reply With Quote
Old 02-12-2010, 09:01 AM   #4
curmudgeon
 
Join Date: Mar 2006
Posts: 5,352
Rep Power: 134
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Chances are your image is larger than your server memory allows.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 02-12-2010, 01:55 PM   #5
Customer
 
Join Date: Feb 2010
Posts: 9
Rep Power: 0
jnas is on a distinguished road
Default

Hello
Thanks for the reply.

I did upgrade.

The Photo/thumb is cmod to 777

I also tryed downloading a 50 x 50 pix with barely no megs and I tryed many differnt sizes.

It still will not work.

I have bravehost as the provider and I put a ticket into templatecodes and they said I should switch providers to hostgator.

I beleive there should be a way to make this work, I just need to find that glitch.

Thanks
J
jnas is offline   Reply With Quote
Old 02-12-2010, 02:04 PM   #6
curmudgeon
 
Join Date: Mar 2006
Posts: 5,352
Rep Power: 134
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

It may be an issue with the way the server is configured or how much space there is for the global php temp storage folder.

\I would check with your host and see if they can recommend a way for you to set your php upload_tmp_dir setting to point to a directory in your webspace.

Another test you could try is to create an extra field for file uploads and see if you can place an ad and upload a file and see if that works.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 02-12-2010, 02:34 PM   #7
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,004
Rep Power: 74
seymourjames is a jewel in the rough
Default

Yup - I recommend Hostgator every day of the week but you make it sound like it was a case of you must do that or it will never work - not quite. I think you are capable of asking your existing hosting provider and making a decision for yourself if you do not get the service needed. I have got the the point nowadays though that you call your existing provider once and if they muck about or do not perform then just change them.

We determined that this is occurring on the default template so it is probably the server set up. I presume you re-uploaded your 68C system in case of FTP corruption so you can discount that?

Now it becomes clear in your second email to me. You also have Godaddy. If you wish to try that then you may need to do some specific things which are detailed in the forum and if I remember correctly those details are given elsewhere in the 68C general documentation. I would not recommend it though.

So to discount one more thing: you do have the multiple image uploader deactivated at this point while testing? If not then I think I know what will be the issue with your hosting provider:

This happens when the server is setup not to allow flash swf files to be run. Here are the general issues.

The problem is with mod_security and flash player. See more here:

http://www.swfupload.org/forum/generaldiscussion/86
http://swfupload.org/forum/generaldiscussion/176

As suggested above the POST filtering is the problem. You must turn it off for flash to upload an image. For the image uploader to run you must also have "SecFilterScanPOST Off" in your htaccess file. You might consult your hosting provider for options of enabling/disabling it on a per page basis if you want it on otherwise. The only other alternatives if they will not allow you to have those settings are

1. Don't use the multiple image uploader
2. change hosting providers that will let you run flash swf files.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds Version 5 Themes and Version 4 Templates
seymourjames is offline   Reply With Quote
Old 02-12-2010, 03:58 PM   #8
Customer
 
Join Date: Feb 2010
Posts: 9
Rep Power: 0
jnas is on a distinguished road
Default

Okay

I will try a couple more things and ask them.

I turned the multi image upload off, and I can upload a image but the thumbnail has no photo/image in it. I also tryed downloading differnt images. ( NO GO)

This is what set on my PHP

Optimization:Alternative PHP Cache (APC) Zend Optimizer No Optimization
Memory Limit:32 MB 64 MB 128 MB
Safe Mode: No
Register Globals: Yes
Display Errors: Yes
Allow URL Fopen:Yes
Magic Quote GPC: Yes

Is there something I can ask my provider what to do.

and If they do not help like you said I have know choice to move.

I was also testing 68class in godaddy and I get a message when I am trying to log into admin.
Site error: the file /home/content/16/5637316/html/class/administration/includes/init.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.

Thanks
jnas is offline   Reply With Quote
Old 02-12-2010, 04:29 PM   #9
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,004
Rep Power: 74
seymourjames is a jewel in the rough
Default

Well Godaddy is not an immediate go - first time every time as I said. This is why I also there are things which need to be done specifically to use 68 classifieds with this hosting provider. Do a quick search on the forum and in the 68C documentation about what is needed with Godaddy. I really can't remember.

End of this thread may help on why you are perhaps having issues with images not showing but they are uploading.

Guest views

turning off the magic quotes.

If that solves this probelm then you can try to activate the multiple image uploader. Then test again. If it does not fly with the multiple image uploader then it is a case of setting those things as advised above if you can. If your hosting provider does not play ball about that then the choice is yours.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds Version 5 Themes and Version 4 Templates
seymourjames is offline   Reply With Quote
Old 02-12-2010, 05:02 PM   #10
Customer
 
Join Date: Feb 2010
Posts: 9
Rep Power: 0
jnas is on a distinguished road
Default

Ok
I turned off Magic Quote and Turned off Safe mode.

and I still have multi image deactive and I receive this error.

I am not sure if this is something to do with it or not.

Notice: Undefined index: category in /misc/30/319/914/454/8/user/web/ghict.com/includes/core/checkout/step5.php on line 25

Warning: Cannot modify header information - headers already sent by (output started at /misc/30/319/914/454/8/user/web/ghict.com/includes/core/checkout/step5.php:25) in /misc/30/319/914/454/8/user/web/ghict.com/includes/core/checkout/step5.php on line 144
jnas is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checkout ERROR ::Query failed PimMC Technical Support 5 10-14-2009 02:48 PM
failed transfers redstar Technical Support 3 09-23-2008 06:14 PM


All times are GMT -4. The time now is 04:55 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0