Results 1 to 4 of 4

Thread: Cannot install with Safe mode hack

  1. #1
    New user
    Join Date
    06-22-09.
    Posts
    9

    Default 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!

  2. #2
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default 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)

  3. #3
    User
    Join Date
    09-15-09.
    Location
    Netherlands
    Posts
    37

    Default 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.

  4. #4
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default 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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •