Warning: fopen() failed to open stream: Permission denied

Contao is not allowed to edit files on your server. Activate the Safe Mode Hack to allow file operations via FTP by adding the following lines to the local configuration file system/config/localconfig.php:

$GLOBALS['TL_CONFIG']['useFTP'] = true;
$GLOBALS['TL_CONFIG']['ftpHost'] = '';  // FTP host
$GLOBALS['TL_CONFIG']['ftpPath'] = '';  // FTP path (e.g. html/)
$GLOBALS['TL_CONFIG']['ftpUser'] = '';  // FTP username
$GLOBALS['TL_CONFIG']['ftpPass'] = '';  // FTP password

Do not try to fix the issue by changing any file permissions! If there are any file permission issues, always use the Safe Mode Hack.

The Safe Mode Hack is not longer available in Contao 4.0.

Last update on 11.08.2015 by Leo Feyer.

Go back

Add a comment

What is the sum of 9 and 9?