Results 1 to 2 of 2

Thread: Safe Mode Hack again

  1. #1
    User
    Join Date
    06-19-09.
    Location
    Elbl?g, Poland
    Posts
    152

    Default Safe Mode Hack again

    In http://dev.typolight.org/issues/1618 Leo say:
    If you need the Safe Mode Hack, the install tool will ask you to enter the FTP details.

    Now I want work on my client server, during installation TL didn't ask me about FTP details but System Check Tool say:
    Code:
    Create directory	•	Error	Error creating directory "typolight-check"
    Create file	•	Error	Error creating file "typolight-check.txt"
    You will most likely not be able to run TYPOlight without Safe Mode Hack.
    so I assume that I need to use Safe Mode Hack becouse e.g. I can not set any settings becouse I'm not to able to write to localconfig.php file.
    In this case I add manually to localconfig.php this:
    Code:
    $GLOBALS['TL_CONFIG']['useFTP'] = true;
    $GLOBALS['TL_CONFIG']['ftpHost'] = 'ftp.server.com';
    $GLOBALS['TL_CONFIG']['ftpPath'] = '';
    $GLOBALS['TL_CONFIG']['ftpUser'] = 'user';
    $GLOBALS['TL_CONFIG']['ftpPass'] = 'password';
    But it's still doesn't work. How to add manually Safe Mode Hack in 2.8.1? Or I done right but someting is wrong with server?

    When I try to install any extension via Extension manager I received:
    Code:
    Cannot create file "system/modules/catalog_ext/CHANGELOG.txt"
    /www/mysite/system/libraries/File.php[107]
    Marcin

    http://www.contao.pl - Polish Support Site
    http://forum.contao.pl - Polish Contao community forum


    -----------------------
    Need custom template? Feel free to contact me by e-mail marcin@contao.pl

  2. #2

    Default Re: Safe Mode Hack again

    Maybe you need to add something like 'www/mysite/' or 'mysite/' as ftp path. (It should be the relative TL_ROOT path seen when you open a ftp connection.)

    The smhcheck utility from the repository may also help you track down the issue.
    Extensions: avatar, cron, dlstats, editarea, geshi, helpdesk, recall, rep_*, smhcheck.
    FAQ's - Documents - Tickets
    Please no help requests by PM, use the forum or ticket link above instead!

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
  •