Marg Posted April 7, 2005 Posted April 7, 2005 When I upload an image in admin/categories (add new product), It doesn't save nor does it upload the image. When I peek at the phperror.log I see: PHP Warning: Only 0 bytes were written, expected to write 5119 in Unknown on line 0 I have searched for a very long time and the only thing I have seen is that my "tmp" folder is full? I assume this is a server folder and not anything I have control over. My host can only say... "Huh? I don't think I understand your problem." Ouch...! Anyone else seen this and if so... please tell me what you did to fix. Thanks in advance, Marg
Guest Posted April 7, 2005 Posted April 7, 2005 When I upload an image in admin/categories (add new product), It doesn't save nor does it upload the image. When I peek at the phperror.log I see:PHP Warning: Only 0 bytes were written, expected to write 5119 in Unknown on line 0 I have searched for a very long time and the only thing I have seen is that my "tmp" folder is full? I assume this is a server folder and not anything I have control over. My host can only say... "Huh? I don't think I understand your problem." Ouch...! Anyone else seen this and if so... please tell me what you did to fix. Thanks in advance, Marg <{POST_SNAPBACK}> Sounds like the permissions that are set on the directory that one is uploading the product image files to is disallowing access. I believe the directory that the product files are uploaded to on the server is named catalog/images. One should have the permissions set to 777 - which means READ -WRITE - EXECUTE for Owner / Group / Public access is allowed for that directory. If the WRITE permission is not enabled then one will never be able to upload an image to that directory. 444 is READ access for Owner /Group/ Public and no access for Write or Execute. I bet you have the permissions incorrect. Use an FTP client to log onto your site and use the FTP's ability to CHMOD -stands for Change Mode in the Unix world and after one clicks on the the images directory below the catalog directory and CHMOD's it they can see and modify the permissions. At the least send this to your ISP and ask them to check the permissions and correct. They will know what to do if you give them this info. Hope this solves. If it does let me know and send me some chocklate chip cookies ...
Marg Posted April 7, 2005 Author Posted April 7, 2005 I should have mentioned this site has been live and running properly for a couple of years. It suddenly quit working this am whilst I was putting up new items. Can I corrupt a database using characters in descriptions? (I have repaired, optimized and spanked the database..still nothing.)This is one of the only things I did while creating a new product so I figure I should mention it. All this said... the permissions are correct on the folder and if I were domestic, I'd send you those cookies anyway. Thanks for your response, Marg
Recommended Posts
Archived
This topic is now archived and is closed to further replies.