Results 1 to 23 of 23

Thread: i18nl10n

  1. #1
    New user
    Join Date
    09-08-10.
    Posts
    14

    Default i18nl10n

    Hello, I have tried extension i18nl10n for Multilingual Pages. I have removed the extension.
    The side don't work :cry: - I get this message:

    [attachment=0:3jmw7l5i]contao.JPG[/attachment:3jmw7l5i]
    When the extension is installed, the site work normally. I have tried to make a new Contao installation (with new database), but the situation is same. How to remove the extension without "damage" the site? :roll:

    Thanks in advance!

  2. #2
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default Re: i18nl10n

    Hi gigo,

    did you read the message? You should do this:
    Open file system/config/localconfig.php and add the following line:
    $GLOBALS['TL_CONFIG']['displayErrors'] = true;
    How did you "remove" the extension?

    Did you make sure to update the database after installing/uninstalling the extension?
    Contao Community Moderator
    → Support options

  3. #3
    New user
    Join Date
    09-08-10.
    Posts
    14

    Default Re: i18nl10n

    Hi xchs,

    yes, I did. I already have done this:

    Open file system/config/localconfig.php and add the following line:
    $GLOBALS['TL_CONFIG']['displayErrors'] = true;
    To remove the extension I clicked on red cross "Uninstall extension" in Extension manager. Contao deleted files and when I clicked on Update (the database) - immediately I got the message.

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

    Default Re: i18nl10n

    Can you try the install tool to update the database?

    If that won't work you might also check the file database.sql inside the config directory of that extension (you may need to download/install it to regain the files). inside that file you can see which fields where added to the contao database. You could remove them using phpmyadmin or similar tool. Remove fields with caution!

  5. #5
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default Re: i18nl10n

    Hi gigo,
    Quote Originally Posted by gigo
    Contao deleted files and when I clicked on Update (the database) - immediately I got the message.
    You still get the yellow notice ("An error occurred while executing this script!") even with the line
    Code:
    $GLOBALS['TL_CONFIG']['displayErrors'] = true;
    added to the "localconfig.php"? That would be very strange!

    You might want to check your installation with the Contao System Check Tool?
    Contao Community Moderator
    → Support options

  6. #6
    New user
    Join Date
    09-08-10.
    Posts
    14

    Default Re: i18nl10n

    Hi xchs and Ruud,

    sorry, I had no time for solving the problem.

    Yes, I really get the notice with the line
    Code:
    $GLOBALS['TL_CONFIG']['displayErrors'] = true;
    I tried to use Contao install tool to update the database by clicking on update button, but the situation was the same - notice appeared...

    I checked with Contao System Check Tool:
    [attachment=0:sxh3irk2]contao_check.GIF[/attachment:sxh3irk2]

  7. #7
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: i18nl10n

    Are you actually using "safe mode hack"?

  8. #8
    New user
    Join Date
    09-08-10.
    Posts
    14

    Default Re: i18nl10n

    Sorry, but I don't know. ops: I didn't understand what exactly is "safe mode hack" .... ops:

  9. #9
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default Re: i18nl10n

    Quote Originally Posted by gigo
    Sorry, but I don't know. ops: I didn't understand what exactly is "safe mode hack" .... ops:
    http://www.contao.org/using-the-safe-mode-hack.html -> Using FTP for file operations

    When you have configured the Safe Mode Hack (SMH), use this script to check if it is working right.
    Contao Community Moderator
    → Support options

  10. #10
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: i18nl10n

    Or instead (much easier), just ask your host to turn Safe Mode Off for you.
    You can do this yourself in your php.ini file, but your host should be able to do it for you - then you won't need to use the Safe Mode hack at all.

    Read the jpg you posted, under the red lines.

    EDIT:
    if you have a file called php.ini in your root, check/alter these lines
    safe_mode = 0
    upload_max_filesize = 12M

  11. #11
    New user
    Join Date
    09-08-10.
    Posts
    14

    Default Re: i18nl10n

    OK, thanks a lot. I will try.

    I think the problem is in i18nl10n extension - maybe it damages something... When i18nl10n is installed - site works, when I try to uninstall it - the problem is here :lol:

  12. #12
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: i18nl10n

    no, the problem is you haven't set up Contao properly :D

  13. #13
    New user
    Join Date
    09-08-10.
    Posts
    14

    Default Re: i18nl10n

    I don't know... I tried to install and uninstall another extensions without problems... :lol:

  14. #14
    New user
    Join Date
    09-08-10.
    Posts
    14

    Default Re: i18nl10n

    Hi, I tried a lot of possible combinations for ftpPath. Nothing worked. :cry:

  15. #15
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: i18nl10n

    well nobody will be able to guess it for you.
    have you asked your host?
    I think it usually ends with a trailing slash if that helps. (eg: '/usr/local/www/contao/' or 'html/')

  16. #16
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default Re: i18nl10n

    Quote Originally Posted by gigo
    Hi, I tried a lot of possible combinations for ftpPath. Nothing worked. :cry:
    The "ftpPath" is that part of the path to which you have to navigate when you connect via FTP.

    Examples:

    After connecting via FTP client you are in the server directory "www", but you have to navigate to the folder "www/myfavoritecms/" where your Contao installation is located. Then your "ftpPath" would be "myfavoritecms/"

    If you have installed Contao in the root folder of your "home directory" (in our example "www") then just put "/" for the variable "ftpPath".

    HTH
    Contao Community Moderator
    → Support options

  17. #17
    New user
    Join Date
    09-08-10.
    Posts
    14

    Default Re: i18nl10n

    Thank you for the answers!

    Quote Originally Posted by ramjet
    well nobody will be able to guess it for you.
    Yes, I know this

    Quote Originally Posted by ramjet
    have you asked your host?
    Yes I have -> "leave empty, there is no need to set the default directory"

    Quote Originally Posted by ramjet
    I think it usually ends with a trailing slash if that helps. (eg: '/usr/local/www/contao/' or 'html/')
    OK, I tried a lot of combinations like Your examples (maybe about hundred :lol: )

    Quote Originally Posted by xchs
    After connecting via FTP client you are in the server directory "www", but you have to navigate to the folder "www/myfavoritecms/" where your Contao installation is located. Then your "ftpPath" would be "myfavoritecms/"
    If you have installed Contao in the root folder of your "home directory" (in our example "www") then just put "/" for the variable "ftpPath".
    I have Contao in the root directory. I have already tried this variants....

    BTW. What is better - to install Contao in the root directory or in a separate folder?

    Have a nice day

  18. #18
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default Re: i18nl10n

    Quote Originally Posted by gigo
    What is better - to install Contao in the root directory or in a separate folder?
    That makes no difference. However, when you have other things on the server, maybe it's better to organize it in different folders.
    Contao Community Moderator
    → Support options

  19. #19
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: i18nl10n

    You have Contao 2.9.4 installed?
    I don't know why that image you posted refers to "Typolight" not Contao.
    When you run the system check tool (for 2.9.4) do you get other "red" lines when it checks all the files/folders/permissions etc?

  20. #20
    New user
    Join Date
    09-08-10.
    Posts
    14

    Default Re: i18nl10n

    Thanks for answers.
    Quote Originally Posted by xchs
    That makes no difference. However, when you have other things on the server, maybe it's better to organize it in different folders.
    Yes, this is a good idea.

    Quote Originally Posted by ramjet
    You have Contao 2.9.4 installed?
    I don't know why that image you posted refers to "Typolight" not Contao.
    When you run the system check tool (for 2.9.4) do you get other "red" lines when it checks all the files/folders/permissions etc?
    Yes, I have Contao 2.9.4.
    I use this version http://www.contao.org/extension-list/vi ... ck.en.html

    Quote Originally Posted by ramjet
    When you run the system check tool (for 2.9.4) do you get other "red" lines when it checks all the files/folders/permissions etc?
    No, all files are "green".

  21. #21
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: i18nl10n

    this thread may help if you haven't seen it
    http://www.contao.org/forum/topic/8830.html#new-name
    It seems like something a lot of people struggle with.

    Can't you (or your host) simply disable safemode for the domain instead of using the Safe Mode Hack?

  22. #22
    New user
    Join Date
    09-08-10.
    Posts
    14

    Default Re: i18nl10n

    Thanks! I will see the thread

    BTW. How it is possible to add FTP info during the install process?

  23. #23
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: i18nl10n

    Bascially when you run the install in recent versions, Contao automaticall checks if it can modify files and folders. If it cannot, it will prompt you during installation for the FTP settings, otherwise, you don't need it, and it will work without it.
    You should always run the contao-check script on new hosting providers, to see if they comply with contao...

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
  •