Ich habe folgende Zeilen in der FullBackup.php ab Zeile 288 auskommentiert:
PHP-Code:
//check if tmp_path is writable
/* if (!is_writable($tmp_path)) {
if (chmod($tmp_path, 0775) == FALSE) {
throw new Exception('not chmoddable: ' . $tmp_path);
}
}
*/
Leider funktioniert es noch immer nicht und ich erhalte nun folgende Fehlermeldung im Frontend:
PHP-Code:
Warning: copy(/www/htdocs/xxx/system/modules/FullBackup/tmp/.htaccess) [function.copy]: failed to open stream: Permission denied in /www/htdocs/xxx/system/modules/FullBackup/FullBackup.php on line 300
#0 /www/htdocs/xxx/system/modules/FullBackup/FullBackup.php(300): __error(2, 'copy(/www/htdoc...', '/www/htdocs/xxx...', 300, Array)
#1 /www/htdocs/xxx/system/modules/FullBackup/FullBackup.php(204): FullBackup->checkTmpPath('/www/htdocs/v10...', '/www/htdocs/xxx...')
#2 /www/htdocs/xxx/system/drivers/DC_Table.php(1837): FullBackup->checkEnvironment()
#3 /www/htdocs/xxx/system/modules/backend/Backend.php(282): DC_Table->edit(Object(DC_Table))
#4 /www/htdocs/xxx/contao/main.php(120): Backend->getBackendModule()
#5 /www/htdocs/xxx/contao/main.php(230): Main->run('FullBackup')
#6 {main}
Fatal error: Uncaught exception Exception with message cannot copy .htaccess to: /www/htdocs/v104984/system/modules/FullBackup/tmp/ thrown in /www/htdocs/xxx/system/modules/FullBackup/FullBackup.php on line 301
#0 /www/htdocs/xxx/system/modules/FullBackup/FullBackup.php(204): FullBackup->checkTmpPath()
#1 /www/htdocs/xxx/system/drivers/DC_Table.php(1837): FullBackup->checkEnvironment(Object(DC_Table))
#2 /www/htdocs/xxx/system/modules/backend/Backend.php(282): DC_Table->edit()
#3 /www/htdocs/xxx/contao/main.php(120): Backend->getBackendModule('FullBackup')
#4 /www/htdocs/xxx/contao/main.php(230): Main->run()
#5 {main}
Liegt es vielleicht daran, dass die Website mit dem Safe Mode Hack läuft?