File Upload Not Saved Message
After setting up ZenCart, I was able to add a product and include an image when testing it. I am ready to add products and now it is not letting me add images. I have tried both uploading through admin and FTP. In the Admin the error on the preview page says "File Upload Not Saved". Please explain or offer some direction. Thank You
Re: File Upload Not Saved Message
Check the permissions on your /images and any subdirectories that you are using that they are either 777 or 755 depending on your server ...
Re: File Upload Not Saved Message
I have gone through and checked (hopefully) all my permissions. Still no luck in adding images. After initially setting up ZenCart and experimenting with it, the final details that were done were the security settings. Is there anything in those that would have stopped me from being able to add images?
Thanks
Re: File Upload Not Saved Message
Could you look at the file, on the server:
/images/.htaccess
and ensure that your file type is listed in there ...
Re: File Upload Not Saved Message
# but now allow just *certain* necessary files:
<FilesMatch ".*\.(jpe?g|JPE?G|gif|GIF|png|PNG|swf|SWF)$" >
Order Allow,Deny
Allow from all
</FilesMatch>
Re: File Upload Not Saved Message
And what is the filename and extension that you are trying to add? :unsure:
Re: File Upload Not Saved Message
I will be using JPGs and GIFs. Sorry I guess that would have been
helpful.
Re: File Upload Not Saved Message
And you are sure that the directories for /images and all subdirectories are set to 777 ...
Could you post, from the server, without your secret admin name or password the file:
/your_secret_admin/includes/configure.php
3 Attachment(s)
Re: File Upload Not Saved Message
Went to /images and included it's subdirectories and set permissions for Owner only. I watched as it went through each folder. Noticed the responses as it was going through the files. Some said "command not understood". I am including a random selection of these.
After it finished, I waited a few minutes. Still could not upload. Went back to check the permissions on the server and they were not checked??????
Attaching config.php file requested.
Here's the server responses: (random selection)
Status: Set permissions of '/zencart/images/samples/1_small.jpg' to '744'
Command: SITE CHMOD 744 1_small.jpg
Response: 500 'SITE CHMOD 744 1_small.jpg': command not understood
Status: Set permissions of '/zencart/images/sierra/Thumbs.db' to '744'
Command: SITE CHMOD 744 Thumbs.db
Response: 500 'SITE CHMOD 744 Thumbs.db': command not understood
Status: Set permissions of '/zencart/images/sierra/swat_3.gif' to '744'
Command: SITE CHMOD 744 swat_3.gif
Response: 500 'SITE CHMOD 744 swat_3.gif': command not understood
Status: Set permissions of '/zencart/images/uploads/.htaccess' to '744'
Command: SITE CHMOD 744 .htaccess
Response: 500 'SITE CHMOD 744 .htaccess': command not understood
Re: File Upload Not Saved Message
The files should be 644 and the directories and subdirectories 777 ...
Try changing /images to 777 ... can you then add a file to that directory when editing a Product?