dennis1981 Posted August 26, 2009 Share Posted August 26, 2009 Hello to all! Im trying to upload product-images through BackOffice >> Catalogue - Images tab.I ve read previous posts for the subject, but they only explain how to import product records using .CSV files.Eventhough i can upload categories-images using Back-Office, i cant do the same for product-images. This is the error shown in Firebug:POST index.php?tab=AdminCatalog&id;_product302 Moved TemporarilyFailed to load source for: http://mydomain/myadminfolder/index.php?tab=AdminCatalog&id_product=11&token=f338d1a6488526ce09ac52cf9b726370Both folders /img/c and /img/p are both 777 chmoded, so why the script cannot upload the images in the 'products' folder as well?Is importing .CSV files the only way to upload images for my products records? I cant really understand why one script allows me to upload images into the categories (/img/c) folder and does not allow me to do the same at the products (/img/p) folder , where both folders have the same file permissions.Product-records can be created with no problem at all, as i see in my database, but there is no column for image.Could anyone inform me on that please???Thanks in advance Link to comment Share on other sites More sharing options...
dennis1981 Posted August 27, 2009 Author Share Posted August 27, 2009 OK after lots of brainstorming..i reached to the following conclusions..and finally i can upload product images from the BO smile)If you can indeed create product records through BO, but the product-image is not uploaded to the /img/p folder, but there is a “update successful” message, and supposed you have GD support in your PHP..this is why it happens:the upload script tries to copy first the image at /img/tmp/myproduct.jpg and then transfer it to /img/p/myproduct.jpgAs my company uses a dedicated Windows server 2003 box, with IIS 6 (( i had really big problems with the permissions…anyways what i did was to change the permissions of the /tmp folder to 777 as my rest of the /img folders and it worked fine! i can upload product images through the interface of the BO from the ‘Catalog’.This is only applied to situations where u can create a product record through the BO but cannot upload any images.I hope this helped!RegardsDennis Link to comment Share on other sites More sharing options...
nsatguy Posted October 22, 2009 Share Posted October 22, 2009 As my company uses a dedicated Windows server 2003 box, with IIS 6 (( i had really big problems with the permissions…anyways what i did was to change the permissions of the /tmp folder to 777 as my rest of the /img folders and it worked fine! i can upload product images through the interface of the BO from the ‘Catalog’. You'll have to forgive my NOOBness but exactly how did you change the permissions of your /tmp folder to 777 ? It's my understanding that this is a method used on an apache server unless i'm missing some setting on my windows box. I've added IUSR to those folders under "Security Settings" giving it "Full Control" permissions and still no luck uploading product images despite PrestaShop displaying a "Update Successful" message.Hopefully this proves to be a case of me looking at my display for way too many hours straight and just a simple oversight on my part ;-) Link to comment Share on other sites More sharing options...
cassim Posted November 22, 2010 Share Posted November 22, 2010 Hallo there..If you still are out there.. I have the same problem right now. the /img is 777 the they /img/tmp is 777 but it still don't work.. I can import .csv files without anyproblem if they don't have the pic with. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now