nsatguy Posted October 16, 2009 Share Posted October 16, 2009 I’m new to PrestaShop, having completed my first install yesterday. WOW awesome job guys!!!Everything has gone extremely well and issue free until now…After configuring the shop and creating all my categories/subcategories, I’ve run into what hopefully will be a simple issue to resolve. I can create products using the BO but when I try to upload an image for the product, I just get the default “No image available” image in the Front End. It states that the product image upload was successful at the top and even when you attempt a second upload it says the update was successful but still no image.The weird thing is that i’ve had no problems to this point uploading images for my categories and have even tried to use an image I’ve successfully uploaded for a category.My Environment: Win 2003 Server – PHP 5.2.8 – MySQL 5Sorry for the duplicate post. I originally posted this in the Installation section but with no luck...I’ve made both the img>p and the img>tmp folders have the proper permissions and that PHP is configured as recommended.My Observations so far…1. Nothing gets uploaded to the img>tmp folder2. Nothing gets copied over to the img>tmp folder3. All of the images i’ve uploaded for categories exist both in the img>tmp and img>c folders so I assume permissions are ok…4. If I enable customization so that an image can be uploaded on the front end, it also appears to successfully upload an image but the script leaves off the file extension so the only thing displayed on the product page is a broken link image.Any assistance would be greatly appreciated!!!p.s. – I have full access to the server and although I can’t write PHP scripts, I am comfortable editing them once I’m told where to look and what to change Link to comment Share on other sites More sharing options...
nsatguy Posted October 18, 2009 Author Share Posted October 18, 2009 I really don't want to abandon PrestaShop but i've spent countless hours trying to figure out why you can upload category, manufacturer and logo images but can't upload product images. Can someone please tell me whether i'm just wasting my time or if there is a resolution to this problem?I've even tried re-downloading the files and a fresh installation... same results.Thanks... Link to comment Share on other sites More sharing options...
Tropical Dream Posted October 21, 2009 Share Posted October 21, 2009 This is very weird! I have exactly the same upload problem. I cannot upload product pictures on my IIS (production server) Prestashop 1.2.4 installation. However on MAMP (test server) I can uplad pictures. My Environment: Win 2008 Server IIS – PHP 5.3.0 – MySQL 5Does someone have a solution to this? Link to comment Share on other sites More sharing options...
nsatguy Posted October 21, 2009 Author Share Posted October 21, 2009 I absolutely love PrestaShop but unfortunately I'm afraid I'll have to abandon it and continue my search. As mentioned above, I can upload images for everything except products. I'm not a coder but it is just baffling why the image upload process would work for one part of PrestaShop and not the product creation process.It's been about a week now of playing around with the server and no success. grrrrr.....Good luck Tropical! Link to comment Share on other sites More sharing options...
slick Posted October 22, 2009 Share Posted October 22, 2009 I've the same problem on IIS7 on WinServer 2008. It seems prestashop doesnt work on IIS. I've spended hours solving this issue with no result. In my opinion it is caused by priviligies and access rights Link to comment Share on other sites More sharing options...
nsatguy Posted October 22, 2009 Author Share Posted October 22, 2009 What's weird is that you can upload images for your logo, manufacturers, categories, etc. I'm far from being able to code but why would the authors of this script not just use the same method to upload product images as they do the others? If it's a case of going with a majority who don't use IIS and giving them the ability to upload multiple images vs. only one at a time, simply employ two options which may be set through admin panel configuration settings.I am currently running a number of other PHP scripts on my server (Win2003 w/ IIS6) and they have the ability to upload images without problems. I've even got a photo album script which uploads multiple images at once successfully.The frustration for me is that the only two scripts that even appeal to me (PrestaShop & Magento) both currently have the same issue running under Windows/IIS. This sucks!!!!! Link to comment Share on other sites More sharing options...
nsatguy Posted October 22, 2009 Author Share Posted October 22, 2009 Removed... please see last post... Link to comment Share on other sites More sharing options...
nsatguy Posted October 30, 2009 Author Share Posted October 30, 2009 Ok, after weeks of scouring this forum as well as numerous others across the big WWW I come across a post for a photo gallery script where someone running a server in the same environment (Win2003 Server, IIS 6, PHP ISAPI) was having issues uploading images.Basically, through the numerous steps suggested, I narrowed the solution down to a simple permission setting which finally allowed me to successfully upload product images in PrestaShop. I have successfully tested this on both Version 1.2.4.0 and Version 1.2.5.0Add IUSR_xxx to c:\windows\temp (MODIFY/read/list/execute) Hopefully this helps anyone else who finds themselves pulling their hair out like I've been doing for over 2 weeks now!!!To place credit where credit is due, here is the link to the forum where I finally found the solution...http://gallery.menalto.com/node/38659 Poster: PXUI'm finally a happy PrestaShop user!!!Cheers!!! Link to comment Share on other sites More sharing options...
n1912 Posted November 1, 2009 Share Posted November 1, 2009 Hi!I have just set up my Prestashop, have the same trouble. Considering that I'm totally new to this world, I'll have to ask what exactly am I supposed to do to solve this problem. Which file to open, what to edit...etc, etc...Thanks! Link to comment Share on other sites More sharing options...
rhenry16 Posted November 7, 2009 Share Posted November 7, 2009 Ok.. I am really new to this, but can you be more specific in which permission setting you changed? Was it the file or a directory? I am pretty decent with UNIX settings and I am truly stumpted. Also I'm working on opensolaris so I don't have a c:\windows\temp directory. Any feedback would be appreciated. Ok, after weeks of scouring this forum as well as numerous others across the big WWW I come across a post for a photo gallery script where someone running a server in the same environment (Win2003 Server, IIS 6, PHP ISAPI) was having issues uploading images.Basically, through the numerous steps suggested, I narrowed the solution down to a simple permission setting which finally allowed me to successfully upload product images in PrestaShop. I have successfully tested this on both Version 1.2.4.0 and Version 1.2.5.0Add IUSR_xxx to c:\windows\temp (MODIFY/read/list/execute) Hopefully this helps anyone else who finds themselves pulling their hair out like I've been doing for over 2 weeks now!!!To place credit where credit is due, here is the link to the forum where I finally found the solution...http://gallery.menalto.com/node/38659 Poster: PXUI'm finally a happy PrestaShop user!!!Cheers!!! Link to comment Share on other sites More sharing options...
Guindillas Posted December 11, 2009 Share Posted December 11, 2009 Hello:I have the same problem can't uoload product images. Can upload category images without problem but not product images. Don't gives any error and say Ok, but the image don't upload.I.m using windows XP +`XAMPP as administrator in local mode. It's not a permission problem. The category image is in /img/tmp folder and in /img/c but the product image is not in /img/tmp and/or /img/pAnybody can help us?Thanks in advance. Link to comment Share on other sites More sharing options...
Lizbit Posted December 19, 2009 Share Posted December 19, 2009 I've been posting for help on this and not receiving any responses. Glad to have found this thread.I have photography I'm selling.I'll add the product, then click on "images" tab, I enter the caption (which is the same as the file name), then browse for the file. Then I hit save. SOMETIMES I will get the green "Successfully Added" screen, and I can move on to the next item.If, however, it goes back to the root catalog page, the item is added but the image is not.So... I open the image in photoshop, resize it, save it with a different name.Then I go in to the product, edit, delete the image I had already specified (which also failed to view), then add the new image with the new name, and it works.There must be a solution to this. It takes 2-3 minutes to add each individual photo as it is. And to have to go back and repeat steps because it's not working the first time around is ridiculous.I know that no one here owes us an explanation - and this is a free CMS and they are volunteers - but I can't understand why we aren't getting answers to this. I'm grateful for PrestaShop - it's so simple to use - so I'm really hoping for a solution here. Link to comment Share on other sites More sharing options...
SonnyBoyII Posted July 20, 2010 Share Posted July 20, 2010 I had the same problem. In my case, I had to add a folder "tmp" in my presta instalation root folder. This folder needs to be chmod "777" regards SonnyBoy Link to comment Share on other sites More sharing options...
LovePrestashop Posted July 20, 2010 Share Posted July 20, 2010 Hi nsatguy, I have exactly same issue as yours. I have followed your way - Add IUSR_xxx to c:\windows\temp (MODIFY/read/list/execute), but it still doesn't work. Any one could help me please? I have posted this thread couple of days ago, but still not found answer yet. http://www.prestashop.com/forums/viewthread/63145/configuring___using_prestashop/can_not_upload_product_image Link to comment Share on other sites More sharing options...
fern8597 Posted July 21, 2010 Share Posted July 21, 2010 Ok, after weeks of scouring this forum as well as numerous others across the big WWW I come across a post for a photo gallery script where someone running a server in the same environment (Win2003 Server, IIS 6, PHP ISAPI) was having issues uploading images.Basically, through the numerous steps suggested, I narrowed the solution down to a simple permission setting which finally allowed me to successfully upload product images in PrestaShop. I have successfully tested this on both Version 1.2.4.0 and Version 1.2.5.0Add IUSR_xxx to c:\windows\temp (MODIFY/read/list/execute) Hopefully this helps anyone else who finds themselves pulling their hair out like I've been doing for over 2 weeks now!!!To place credit where credit is due, here is the link to the forum where I finally found the solution...http://gallery.menalto.com/node/38659 Poster: PXUI'm finally a happy PrestaShop user!!!Cheers!!! nsatguy, You are the man. This totally got me fixed up when I was about to quit. I am using Windows 2003, IIS6. It worked as soon as I added IUSR_computerName, and I have had no issues since. Link to comment Share on other sites More sharing options...
jarvispc Posted August 4, 2010 Share Posted August 4, 2010 My prestashop is on a linux server and I am also unable to upload any images... any ideas for that one? I did try the suggestion by SonnyBoyII and created a directory called tmp under the prestashop directory and gave it 777 permissions but it still doesn't work... Link to comment Share on other sites More sharing options...
amt2002 Posted September 27, 2010 Share Posted September 27, 2010 Add IUSR_xxx to c:\windows\temp (MODIFY/read/list/execute) Does this fix require speaking to the hosting company to do this on our behalf, assuming your using a shared server? Link to comment Share on other sites More sharing options...
fern8597 Posted September 27, 2010 Share Posted September 27, 2010 I have my own Windows 2003 server with IIS6. I have no idea how to get this rectified via hosting company as they are probably UNIX/Linux. Sorry! but good luck. Prestashop is awesome, and my customers love it! Link to comment Share on other sites More sharing options...
amt2002 Posted September 28, 2010 Share Posted September 28, 2010 I have my own Windows 2003 server with IIS6. I have no idea how to get this rectified via hosting company as they are probably UNIX/Linux. Sorry! but good luck. Prestashop is awesome, and my customers love it! I'm on a Windows 2008 server but it's shared and managed by hosting company. I switched to Linux server and problem solved. The site is also about 4x faster!Good luck solving this to anyone on windows server, I tried all the suggestions in this thread (except the solution I refer to above) but nothing worked! Link to comment Share on other sites More sharing options...
designtoweb Posted May 15, 2011 Share Posted May 15, 2011 Hi, I had exactly the same problem, but already solved. Тurns out it was because i has wrong images.inc.php file. WhenI installed prestashop 1.4 I replaced the original file with one that support .png transparency. But I copied it from my prestashop 1.3 intstallation. When I found that file for presta 1.4 and copied it in main directory everything was OK. Here it is: images.inc.php for prestashop 1.4I hope this is usefull and solves your problem. 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