steve22 Posted January 29, 2013 Share Posted January 29, 2013 (edited) Hi all, I had a huge problem importing images. They would not show. Turns out the problem is that presta tries to create subdirectories and if the path is not accessible to it, it just does nothing (and does not report a problem - please fix this...). My shop was created in linux, using root, so all dirs were owned by root, although they were chmod'ed to 777. So what I did was navigate to the root of my shop (in linux), and did this: chown -R nobody img/ now user 'nobody' which is the apache user owns the directories, and it can create the subdirs as needed. Problem solved. Presta developers: I only spent like 10 hours on this. Can you plllleeeeeeasse provide debugging info for this. steve Edited January 29, 2013 by steve22 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 29, 2013 Share Posted January 29, 2013 thanks for sharing your know-how about that issue. Well, i work on linux based OS and manging many vps / dedicated servers. In my opinion it isn't good solution (for security reasons). I do not want to go into details, but it is better to create a group of users with assigned rights, treat this as a hint;) Link to comment Share on other sites More sharing options...
steve22 Posted January 29, 2013 Author Share Posted January 29, 2013 Thanks, Vekia. I am going to look into that. My Linux skill level is not quite where you are. In anycase, during the setup validation process I am suggesting that validation code should try to create a product image, and see if it can read it back. This is simple to do, and would save hours for people like me. If you are "in" with the developers or you are one of them, can you please get the message to them. I have seen a ton of "cannot add image" posts. Link to comment Share on other sites More sharing options...
Recommended Posts