I tried to upload an image for a product I want to add, and I got the following warnings:
________________________
Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/tmp/phpW6kM0Z) is not within the allowed path(s): (/home/xxxxx/public_html/catalog/) in /home/xxxxx/public_html/catalog/admin/includes/classes/upload.php on line 86
Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/tmp/phpW6kM0Z) is not within the allowed path(s): (/home/xxxxx/public_html/catalog/) in /home/xxxxx/public_html/catalog/admin/includes/classes/upload.php on line 86
Warning: move_uploaded_file(/tmp/phpW6kM0Z) [function.move-uploaded-file]: failed to open stream: Operation not permitted in /home/xxxxx/public_html/catalog/admin/includes/classes/upload.php on line 86
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpW6kM0Z' to '/home/xxxxx/public_html/catalog/images/licensekey.png' in /home/xxxxx/public_html/catalog/admin/includes/classes/upload.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/catalog/admin/includes/classes/upload.php:86) in /home/xxxxx/public_html/catalog/admin/includes/functions/general.php on line 34
_________________________
If it helps...
Here is /home/xxxxx/public_html/catalog/admin/includes/classes/upload.php lines 86 and 87
if (move_uploaded_file($this->file['tmp_name'], $this->destination . $this->filename)) {
chmod($this->destination . $this->filename, $this->permissions);
Here is /home/xxxxx/public_html/catalog/admin/includes/functions/general.php line 34
header('Location: ' . $url);
catalog/images folder permission is set to 755
I have uploaded images before, through the admin image upload manager, not sure what has happened now. Obviously, I've done something to it.
Edited by fdegree, 21 August 2012 - 05:37 PM.









