Cannot install with Safe mode hack
Hello,
I try to install latest version of Contao on my server.
I unfortunately need to use the Safe mode hack.
I fill out the form with my credentials and press the button, then the form just reloads and is empty.
I get no errors and I cannot continue. What is wrong?
Thankful for all help!
Re: Cannot install with Safe mode hack
You need to provide more info. Where in the installation are you? Can you show your localconfig.php file (change passwords before showing us)
Re: Cannot install with Safe mode hack
I had a similar problem. The solution was that my provider activated Suphp for me. suPHP is a tool for executing PHP scripts with the permissions of their owners.
Re: Cannot install with Safe mode hack
I've had the problem recently. It seems a bit like a catch-22 to me; you need ftp permissions to edit the file, but try to edit the file in order to add ftp permissions (though technically perhaps Contao uses the provided permissions to edit the file since Leo is quite smart).
But to the point; you can activate the safe mode hack by editing the localconfig.php file and add these lines to the bottom;
Code:
$GLOBALS['TL_CONFIG']['useFTP'] = true;
$GLOBALS['TL_CONFIG']['ftpHost'] = '****';
$GLOBALS['TL_CONFIG']['ftpPath'] = '****';
$GLOBALS['TL_CONFIG']['ftpUser'] = '****';
$GLOBALS['TL_CONFIG']['ftpPass'] = '****';
Use your ftp info and provide the reltive path to the contao installation. I'm not sure about the path, it is mostly something alike /httpdocs or /sites/domain.com. Try with and without start-/ending slashes if this doesn't work.