4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: cronk005 on October 15, 2007, 01:45:24 AM

Title: Upload Error After Server Crash and Rebuild by Host
Post by: cronk005 on October 15, 2007, 01:45:24 AM
Hi There-

The server which houses my site crashed (though there was no loss of data), there appears to be an issue with uploading files into categories which existed prior to the server crash). I now get the following error when trying to upload files into these directories.

Warning: move_uploaded_file(./data/media/228/2007.October.13-Zoo-147.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /******/******/******/galleries/includes/upload.php on line 103

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpIVrnYu' to './data/media/228/2007.October.13-Zoo-147.jpg' in /******/******/******/galleries/includes/upload.php on line 103

I am running version 1.7.2
Php verison: 4.4.7

Line 103 of the file in upload.php is 
$ok = move_uploaded_file($this->upload_file, $this->upload_path[$this->image_type]."/".$this->file_name);
Your help is greatly appreciated in how I can get rid of this error.
Title: Re: Upload Error After Server Crash and Rebuild by Host
Post by: thunderstrike on October 15, 2007, 02:03:33 AM
This might help:

http://www.4homepages.de/forum/index.php?topic=7400.0
Title: Re: Upload Error After Server Crash and Rebuild by Host
Post by: cronk005 on October 15, 2007, 02:30:14 AM
Thank you. That worked perfectly. I'm glad there are people around here that can help..