denyse Posted April 18, 2004 Posted April 18, 2004 Hi there, I am having a problem uploading/saving images from the admin panel. When I try to upload an image to a product I get these error messages. Warning: move_uploaded_file(e:\accounts\shopdays/catalog/images/catalog_accessories.gif): failed to open stream: Permission denied in E:\accounts\shopdays\catalog\admin\includes\classes\upload.php on line 94 Warning: move_uploaded_file(): Unable to move 'e:\PHP\uploadtemp\php3305.tmp' to 'e:\accounts\shopdays/catalog/images/catalog_accessories.gif' in E:\accounts\shopdays\catalog\admin\includes\classes\upload.php on line 94 If I try to add an image to the categories or subcategories items I get these error messages: Warning: move_uploaded_file(e:\accounts\shopdays/catalog/images/catalog_baseball_cap.gif): failed to open stream: Permission denied in E:\accounts\shopdays\catalog\admin\includes\classes\upload.php on line 94 Warning: move_uploaded_file(): Unable to move 'e:\PHP\uploadtemp\php3306.tmp' to 'e:\accounts\shopdays/catalog/images/catalog_baseball_cap.gif' in E:\accounts\shopdays\catalog\admin\includes\classes\upload.php on line 94 Warning: Cannot modify header information - headers already sent by (output started at E:\accounts\shopdays\catalog\bigcheez\includes\classes\upload.php:94) in E:\accounts\shopdays\catalog\admin\includes\functions\general.php on line 18 Does anyone have any idea what is causing these errors? I tried changing a few folder and file permissions and that did not help. This is probably why (?) I can't get images to display on the individual product item also...even though the placeholders are there under the categories...just not on the individual item...ya think? Help me out please!
♥Vger Posted April 18, 2004 Posted April 18, 2004 osCommerce, on Linux servers, needs to be run on sites set to 'High Security' not 'Normal' or '3.1'. This may be the source of your problem. Try and find out from your host just what the site security level is set to. If you are on a windows server, which the pathway may indicate, sorry can't help you - except to say osCommerce works best on Unix and Linux. Vger p.s. also look at your use of forward and back slashes - they're not exactly consistent!
kilroy13 Posted April 19, 2004 Posted April 19, 2004 Do you have any additional information on this "High Security" thing? I'm currently trying out osCommerce and just received the exact same errors when attempting to add a category image to a category.
denyse Posted April 20, 2004 Author Posted April 20, 2004 Well, I posted the first message... I am on Windows 2003 server. I'm getting frustrated...this is holding me up big time. *sigh* Anyone got a clue? Thanks, Denyse
Guest Posted April 20, 2004 Posted April 20, 2004 what rights do you have while adding the images? there are a few (as in not many) who have gotten osCommerce working on a W2K3 server
denyse Posted April 24, 2004 Author Posted April 24, 2004 Well, I got frustrated....moved it all to a UNIX server and have similar problems. ACK!!! For some reason it does not recognize the images or the download folders. I get error messages taht the folders do not exist...but THEY DO...they are there...visible... Both folders are set up with read/write permissions (777)... any ideas here? Denyse
Guest Posted April 26, 2004 Posted April 26, 2004 I'm in the same boat Denyse... have you gotten a resolution on this as of yet? I'm on a UNIX server and also have the folders there and have 777 permissions... this is rather frustrating, as i'd like to get my shop going soon
denyse Posted April 26, 2004 Author Posted April 26, 2004 Yes siree... This is a great forum. You can see what was posted on this topic at: http://www.oscommerce.com/forums/index.php?act=ST&f=1&t=89698 My problem was all a matter of the path files that were defined in the configure.php files. See if the answers provided there help out. Denyse
Recommended Posts
Archived
This topic is now archived and is closed to further replies.