Fatal error: Cannot create file

Contao is not allowed to create new files on your server. Check whether the folders system/html, system/logs and system/tmp are writable and enable the Safe Mode Hack 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.

Last update on 07.06.2010 by Leo Feyer.

Go back


Add a comment

What is the sum of 2 and 4?