the exact error message is
coppper6 <[email protected]>
| Newsgroups | gmane.comp.web.oscommerce.general |
|---|---|
| Message-ID | <7af6224f13928573a7c0ec25ae258216@osCommerce-Forums> |
This message was sent from: General Support
http://forums.oscommerce.com/viewtopic.php?p=227920#227920
----------------------------------------------------------------
Warning: move_uploaded_file(/home/site/catalog/images/matrox/20047.jpg): failed to open stream: Permission denied in /home/site/catalog/admin/includes/classes/upload.php on line 94
Warning: move_uploaded_file(): Unable to move '/tmp/phpSs2r4b' to /home/site/catalog/images/matrox/20047.jpg' in /home/site/catalog/admin/includes/classes/upload.php on line 94
i saw that in a bug filed about this ( http://www.oscommerce.com/community/bugs,1278 ).
i sthere any solution to this problem?
92 if (substr($this->destination, -1) != '/') $this->destination .= '/';
94 if (move_uploaded_file($this->file['tmp_name'], $this->destination . $this->filename)) {
95 chmod($this->destination . $this->filename, $this->permissions);
does explicitly declaring destination variable help?