xImran Posted August 28, 2006 Share Posted August 28, 2006 Hi All I have uploaded all the images into the osc/images folder. When I add new products it only asks me to browse for new images to be uploaded why it dones't allow me to choose from those already uploaded? what am I doing wrong? Thnaks all in advance. xImran Link to comment Share on other sites More sharing options...
Guest Posted August 28, 2006 Share Posted August 28, 2006 Hi All I have uploaded all the images into the osc/images folder. When I add new products it only asks me to browse for new images to be uploaded why it dones't allow me to choose from those already uploaded? what am I doing wrong? Thnaks all in advance. xImran Maybe check the write permisson to your images folder. When you edit a product, you don't really have an option to select a previous image. But it should say what image is currently being used directly under that upload field. Check your config file too.. make sure you didn't change the directory location for the images... -Jrock Link to comment Share on other sites More sharing options...
PD_Steve Posted August 28, 2006 Share Posted August 28, 2006 It's just safer to upload them from your HD rather than trying to locate them in the image directory using OsCommerce admin. If you have put the images in another directory such as /images/myproducts and you try to seek them using the Admin area, you will find that the product addition page fails to function. The submit button (or preview) will actually do nothing. I believe this is a known issue. Steve My Toolbox: Crimson Editor, Adobe Photoshop CS2.0, Expression Web, Macromedia Suite 8.0, Cinema 4D, Nvu. Link to comment Share on other sites More sharing options...
xImran Posted August 29, 2006 Author Share Posted August 29, 2006 It's just safer to upload them from your HD rather than trying to locate them in the image directory using OsCommerce admin. If you have put the images in another directory such as /images/myproducts and you try to seek them using the Admin area, you will find that the product addition page fails to function. The submit button (or preview) will actually do nothing. I believe this is a known issue. Steve When I try to upload from HDD it gives me this error "Warning: move_uploaded_file" followed by file name etc. "httpdocs\osc\admin\includes\classes\upload.php on line 91" What should I do or what am I doing wrong? Thanks in advance. xImran Link to comment Share on other sites More sharing options...
mtechama Posted August 29, 2006 Share Posted August 29, 2006 When I try to upload from HDD it gives me this error "Warning: move_uploaded_file" followed by file name etc. "httpdocs\osc\admin\includes\classes\upload.php on line 91" What should I do or what am I doing wrong? Thanks in advance. xImran could you post line 91 and 92 from Admin/includes/classes/upload.php please? Wade Morris Amarillo, Texas Before you do any changes on your site you need to do BACKUP! BACKUP! Link to comment Share on other sites More sharing options...
xImran Posted August 29, 2006 Author Share Posted August 29, 2006 could you post line 91 and 92 from Admin/includes/classes/upload.php please? Here is Line 91/92 of upload.php if (move_uploaded_file($this->file['tmp_name'], $this->destination . $this->filename)) { chmod($this->destination . $this->filename, $this->permissions); Please advise. Regards, xImran Link to comment Share on other sites More sharing options...
xImran Posted August 29, 2006 Author Share Posted August 29, 2006 Here is Line 91/92 of upload.php if (move_uploaded_file($this->file['tmp_name'], $this->destination . $this->filename)) { chmod($this->destination . $this->filename, $this->permissions); Please advise. Regards, xImran Hi Guys Any ideas about this error? Link to comment Share on other sites More sharing options...
schlegk Posted September 5, 2006 Share Posted September 5, 2006 I've got the same problem. My host says its either my permissions of my script. My permissions are set at 777. Have you found the answer? K. Hi Guys Any ideas about this error? Link to comment Share on other sites More sharing options...
xImran Posted September 6, 2006 Author Share Posted September 6, 2006 I've got the same problem. My host says its either my permissions of my script. My permissions are set at 777. Have you found the answer? K. Not Yet. I also have set the permissions to 777 but still same error. Anyone else got different idea? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.