Gallery Modul - function.upload.php - Pfade falsch?

Hilfe zu Modulen und Tags
Post Reply
cms_ei
Forum Members
Forum Members
Posts: 17
Joined: Fri Nov 27, 2009 8:24 am

Gallery Modul - function.upload.php - Pfade falsch?

Post by cms_ei »

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

Ich kann plötzlich keine Bilder mehr im Gallery Modul hochladen .
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));

Hab da schon einiges ausprobiert, hat aber nicht funktioniert .

Zum Beispiel statt
$_SESSION['rootpath'] die URL hingeschrieben.

Vielleicht weiss ja jemand Rat .
Danke.
Jos
Support Guru
Support Guru
Posts: 4017
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: Gallery Modul - function.upload.php - Pfade falsch?

Post by Jos »

cms_ei wrote:

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
Warum darf es nich an dieser Zeile hakken?
Post Reply

Return to “Module und Tags”