Code: Select all
Warning: imagejpeg():
Unable to open '../../uploads/images/Gallery/Advent/thumb_ma_san.jpg' for writing:
Permission denied in
/www/htdocs/xyz/domain/modules/Gallery/function.upload.php on line 79
Warning: move_uploaded_file
(/www/htdocs/xyz/domain/uploads/images/Gallery/Advent/ma_san.jpg):
failed to open stream: Permission denied in /www/htdocs/xyz/domain/modules/Gallery/function.upload.php on line 111
Warning: move_uploaded_file(): Unable to move '/tmp/phpYmHeLM' to '/www/htdocs/xyz/domain/uploads/images/Gallery/Advent/ma_san.jpg' in /www/htdocs/xyz/domain/modules/Gallery/function.upload.php on line 111
FILEID:e6c14f88da2b03941a9b6f45578bf6a8
Es kommt die obige Fehlermeldung.
Es hakt an dieser Zeile -111:
Code: Select all
move_uploaded_file($_FILES['Filedata']['tmp_name'], str_replace('/', DIRECTORY_SEPARATOR, $_SESSION['rootpath'] . $filename));
Zum Beispiel statt
$_SESSION['rootpath'] die URL hingeschrieben.
Vielleicht weiss ja jemand Rat .
Danke.