tompeet Posted September 29, 2008 Share Posted September 29, 2008 when uploading an image to a product i get no comfirmation that it has done and when i go onto the product the image is just a little red cross.please can someone help with this as the deadline for the website is getting closer by the day.Cheers Link to comment Share on other sites More sharing options...
zenrider420 Posted September 29, 2008 Share Posted September 29, 2008 I had this problem when i was trying to upload really big images... try reducing the size of the image in an image editor and then try to re-upload it... See if that works... It did for me.Also, make sure you set the permissions correctly as you are supposed to do during the install... if the correct permissions are not in place, you will not be able to upload or config the site.Just a couple of ideas... ;-) Link to comment Share on other sites More sharing options...
tompeet Posted September 29, 2008 Author Share Posted September 29, 2008 thats for the responce but still no luck tried uploadin smaller images and all the permissions are correct.any more ideas Link to comment Share on other sites More sharing options...
Melinda Posted September 30, 2008 Share Posted September 30, 2008 Are all the permissions correct on the folder and on the images themselves? I set mine to 777 on the images themselves which fixed it for me.In server root you would:chmod -R 777 img Link to comment Share on other sites More sharing options...
tompeet Posted September 30, 2008 Author Share Posted September 30, 2008 The img folder and subfolder and files are set to 777See attached pictures for the problem Iam havingthe ist picture is what happens after i upload an image and the second one is the image no showingcan anyone please help as im getting desprate Link to comment Share on other sites More sharing options...
Melinda Posted September 30, 2008 Share Posted September 30, 2008 There's no extension like .gif, .jpg on the picture it looks like. Also do not put any spaces in the names of your pictures. Link to comment Share on other sites More sharing options...
tompeet Posted September 30, 2008 Author Share Posted September 30, 2008 ball end -001 isnt the file name it the alt tag description, the image is called ball.gif, i have also tried it as a jpeg. All the permissions are set to 777. Does anyone know how to fix this as my deadline is getting very close.Thanks for your help so far.Tom Link to comment Share on other sites More sharing options...
tompeet Posted October 1, 2008 Author Share Posted October 1, 2008 Can anyone help me with my image problem Link to comment Share on other sites More sharing options...
spott Posted October 1, 2008 Share Posted October 1, 2008 What server error log shows? Link to comment Share on other sites More sharing options...
tompeet Posted October 2, 2008 Author Share Posted October 2, 2008 when I upload the image i get no error message just a blank screen as above Link to comment Share on other sites More sharing options...
tompeet Posted October 2, 2008 Author Share Posted October 2, 2008 Also the image is not being put into the img/p or the img/tmp foldersAny ideas?? Link to comment Share on other sites More sharing options...
tompeet Posted October 5, 2008 Author Share Posted October 5, 2008 Please can someone help me im getting really desperate.Seriously thinking about offering a reward if someone can help me sort this!!! Link to comment Share on other sites More sharing options...
ejectcore Posted October 5, 2008 Share Posted October 5, 2008 Hi I may be able to help you.quicker to go through live chat to resolve this, please see details below Link to comment Share on other sites More sharing options...
tompeet Posted October 6, 2008 Author Share Posted October 6, 2008 Hi amwdesign Thanks, i dont have skype but i do have msn messenger, would this be ok with you? Link to comment Share on other sites More sharing options...
matth Posted October 22, 2008 Share Posted October 22, 2008 did this issue ever get resolved? having the same problem with certain images - sometimes it's the larger ones, but sometimes not - no error generated in log or in the admin interface, just a truncated page as above. have spent some time trying to trace through the code, but as the interface just bails without any error, it's proving pretty tricky.EDIT: this appears to be an issue with image dimensions as opposed to file size. Link to comment Share on other sites More sharing options...
Dirty Bill Posted October 22, 2008 Share Posted October 22, 2008 I am experiencing a similar problem: the result is "error copying image file" (or something similar).Initially I was able to use the back office and set the logo and a single category image. Since then, every attempt to assign an image to anything from a category, product, logo, etc. fails. I run the server, didn't make any changes to permissions, settings, etc. It just stopped accepting. Nothing in the error logs, Firebug shows me nothing....completely puzzled.Any assistance would be great. We're evaluating Prestashop as an alternative to Magento.edit: I'm guessing no one knows what this is, no ideas?I'm running everything on a win2003 server: mySql 5, Php5, permissions are correct; a small php uploader test run from the prestashop install directory works...just not Presta... Link to comment Share on other sites More sharing options...
catherined Posted October 23, 2008 Share Posted October 23, 2008 I have exactly the same problem since a few days !!!Everything was working fine a few days ago and now it's impossible to upload any image anymore ! Link to comment Share on other sites More sharing options...
Dirty Bill Posted October 24, 2008 Share Posted October 24, 2008 *bump* Link to comment Share on other sites More sharing options...
Stu583 Posted October 24, 2008 Share Posted October 24, 2008 Hi guys,I had the very same problem when I started out with PS.I removed the image (that is getting "stuck") from the root directory and then uploaded the "new image" again. It worked every time for me. Link to comment Share on other sites More sharing options...
Dirty Bill Posted October 24, 2008 Share Posted October 24, 2008 Thanks for the reply. I tried that with the logo's, no love. With new products, there was never an existing "stuck" image. Its as if Presta just ceased being able to load images after the first few. Link to comment Share on other sites More sharing options...
Dirty Bill Posted October 30, 2008 Share Posted October 30, 2008 bumping...still a problem Link to comment Share on other sites More sharing options...
ramblingrose Posted November 5, 2008 Share Posted November 5, 2008 Well, today I thought to put some test products into my "prestashop to be" and with the very first one I created I experienced the same problem with assigning pictures to it as described earlier: there is no real error message and no picture is copied to the image/p directory. The file size of those initial pictures tried was about 67 Kb. which shouldn't be a big deal. I tried some smaller ones and they worked but when trying some other bigger ones those worked also, just not the original pictures belonging to that test product.As the size of the files doesn't seem the culprit I suspect it might have something to do with the dimensions of the image files which failed to upload. Those were all 640x480 while the other, working, ones all have smaller dimensions (even when they are bigger in size). If I remember well the largest setting within the backoffice for images is 600px by 600px but I have no idea if this could be the cause or has any relation to the problem. I haven't checked it any further which I will have to do later. What I also experienced is that upon assigning an image to a product and saving this to the database I return to a blank screen (whether the upload succeeded or not) and I have to choose again the category and the product before I can check/edit again ?! Link to comment Share on other sites More sharing options...
ramblingrose Posted November 6, 2008 Share Posted November 6, 2008 I just did some more testing and as is it appears for me the max. dimension I am able to use for my product images (probably any image) is 500px width (haven't tried for height). So there seems no relation to the image size settings within the backoffice. I have no idea why this restriction occurs and/or if it is hardcoded somewhere. Maybe related to this is that the image files do not get the correct file ownership and the thickbox is not opening for the image files with the newly created product (it does work for the default products provided with prestashop). Link to comment Share on other sites More sharing options...
osodani Posted November 6, 2008 Share Posted November 6, 2008 I'm having the exact same problem on a new install of PS. The screen I get is identical to the screenshots posted on the first page of this thread.I've check the file permissions and the php.ini file. My version of GD is 2.0.34.The problem happens with JPG, GIF or PNG, no matter the size of the file or the dimensions. It seems like nothing ever makes it to the /img/tmp directory.Any ideas?? Thanks! Link to comment Share on other sites More sharing options...
osodani Posted November 7, 2008 Share Posted November 7, 2008 Hi again,After stepping through the code, I found the problem occurred during the GD @imagejpeg call. Turned out that my PHP/GD was not configured with JPEG support - you can test for this by doing a var_dump(gd_info());After recompiling PHP with the --with-jpeg-dir= option, GD works, and so does the image upload. Link to comment Share on other sites More sharing options...
ramblingrose Posted November 8, 2008 Share Posted November 8, 2008 Installing Prestashop 1.1. beta2 finally lead me to the solution to the problem with the product images as I experienced them with Prestashop 1.0 as described earlier. In the end the problem was simply a matter of not enough memory assigned to PHP which can be solved through the .htaccess file by adding (if your hosting permits): php_value memory_limit 32M Some hosts will probably have a default memory limit of 8Mb assigned to the PHP installation which is not enough for more modern CMS/E-Commerce solutions. Link to comment Share on other sites More sharing options...
Matthieu Biart Posted November 8, 2008 Share Posted November 8, 2008 Hi everyone!I confirm that it could be related to your php server allowed memory limit.We already met that trouble in some host provider.But usualy PHP display an error "Unable to allocate memory".I'll create a sticky topic talkiing about it :-)Thank you for that self debuging which made us win a lot of time. Link to comment Share on other sites More sharing options...
sharpie Posted November 5, 2009 Share Posted November 5, 2009 i have the same problem my images wont upload. im on a mac ox 4. i dont see a .htaccess file to edit. please help. Link to comment Share on other sites More sharing options...
Krot Posted November 11, 2009 Share Posted November 11, 2009 Same problem... Prestashop version 1.2.4.0 - 7.303s - Russian Link to comment Share on other sites More sharing options...
chichipets Posted August 15, 2010 Share Posted August 15, 2010 [solved] I had this problem for just one of my images so far. It had nothing to do with image dimensions, file name, or file extension. It was simply a matter of having too many pixels. So I just edited the image in Paint, reduced the number of pixels to about 1500, and it worked. For those having problems and getting a blank screen, try this. Link to comment Share on other sites More sharing options...
ML Posted November 15, 2010 Share Posted November 15, 2010 I had the same problem with version 1.3.2Reduce the image and the problem disapered. Link to comment Share on other sites More sharing options...
Recommended Posts