Results 1 to 6 of 6

Thread: Migrating a contao 3.2.X site

  1. #1
    User
    Join Date
    06-20-09.
    Location
    Middlesbrough, UK
    Posts
    246

    Default Migrating a contao 3.2.X site

    Are there any changes to the way Contao 3.3.X handles data when backing up an importing through phpmyadmin or other SQL managers.

    We usually develop locally and then export the database, upload all the files to a live server and then import the database into the new site and it works.

    The tl_files seems to be different. Does this use binary and need any field type changes or anything.

    Does anyone have a step by step guide if there is a new process?

    Thanks
    360fusion: Virtual Tours - Web Design
    Social Media: Twitter - Facebook Page

  2. #2
    New user
    Join Date
    05-22-14.
    Posts
    6

    Default

    Hi, I'm loiking how to achieve this, did you manage to do it ?

    Thank you =)

  3. #3
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default

    From Contao 2.x to Contao 3.x you have to use /files instead of /tl_files
    1. Use the new .htaccess.default
    2. BE-Settings $GLOBALS['TL_CONFIG']['bypassCache'] = true; (/system/config/localconfig.php)
    3. Get contao-db-update.php https://gist.github.com/leofeyer/3304014
    4. Run CONTAO_ROOT/contao-db-update.php after you put your DB connection data in there
    5. BE-Settings $GLOBALS['TL_CONFIG']['uploadPath'] = 'files'; (/system/config/localconfig.php)
    6. Move your files form /tl_files to /files
    7. Delete /tl_files
    8. Delete contao-db-update.php

    You may hire me to do the job.
    Last edited by Andreas; 12/15/2014 at 16:11.
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

  4. #4
    User
    Join Date
    12-13-14.
    Posts
    33

    Default

    Quote Originally Posted by Andreas View Post
    From Contao 2.x to Contao 3.x you have to use /files instead of /tl_files
    1. Use the new .htaccess.default
    2. BE-Settings $GLOBALS['TL_CONFIG']['bypassCache'] = true;
    3. Get contao-db-update.php https://gist.github.com/leofeyer/3304014
    4. Run CONTAO_ROOT/contao-db-update.php after you put your DB connection data in there
    5. BE-Settings $GLOBALS['TL_CONFIG']['uploadPath'] = 'files';
    6. Move your files form /tl_files to /files
    7. Delete /tl_files
    8. Delete contao-db-update.php

    You may hire me to do the job.
    how do you do that and is it needed for 2.11.17 to 3.0.0 upgrade also?

  5. #5
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default

    Do exactly the steps from 1 to 8. Config settings can be done in /system/config/localconfig.php.

    needed? Yes, as I told you before Contao 2 => 3 means /tl_files/ => /files/
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

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

    Default

    Quote Originally Posted by jimmy2 View Post
    [...] and is it needed for 2.11.17 to 3.0.0 upgrade also?
    It is not necessarily needed (see https://contao.org/en/news/contao-3_0_0.html), but it might be a good idea to do that anyway.
    Contao Community Moderator
    → Support options

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
  •