We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46074
    • 6 Posts
    Hello forum users!
    Congratulations to all a Happy New Year!

    On the occasion of the Christmas holidays decided to update the site with a platform 0.9.6.3 to Revo 2.3.2-pl.
    1. Create a domain level 3 and copied up a site on it. Checked - works fine.
    2. According to the instructions Revo distribution copied and upgraded. Everything went smoothly.
    3. Result: admin console enter normal, but the structure of the tree is lost. Accordingly, the site opens with a pristine white field.

    Where did I go wrong?
    Materials for analysis is willing to provide.

    This question has been answered by dvstudiosinc. See the first response.

    [ed. note: jeam_stone last edited this post 9 years, 3 months ago.]
    • You can't just upgrade the original codebase, 0.9.x or 1.0.x Evolution, to Revolution. It's an entirely different core. Converting a site from Evo (or previous versions) to Revo is a much-discussed, complicated process. There is an extra that can help, Provisioner. http://modx.com/extras/package/provisioner

      http://modx.com/learn/modx-college/migrating-from-evo-to-revo/
      http://www.scribd.com/doc/55906476/MODx-Provisioner-User-Guide-v1-9-beta#scribd
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 46074
        • 6 Posts
        Quote from: sottwell at Jan 06, 2015, 06:16 PM
        You can't just upgrade the original codebase, 0.9.x or 1.0.x Evolution, to Revolution.
        Thanks for your reply, although it did not pleased. This is very sad news.
        What are ways to solve my problem, you can suggest?
        • You should do a fresh install of Revolution in the directory and then use the links Susan provided to migrate the site. Alternatively, you could hire someone to perform the upgrade for you.
            Patrick | Server Wrangler
            About Me: Website | TweetsMODX Hosting
          • The difficulty of the port depends on the complexity of your site. Do you have a lot of users? Do you use a lot of custom snippets or plugins?

            Resources, templates, chunks, TVs are pretty much the same. The MODX tags are all different, but there are scripts to fix those. The basic snippets are somewhat different - Wayfinder is still Wayfinder and works much the same, but Ditto becomes getResources, which is quite different. Some of the plugins for Evo have been baked into the Revo core, for example the phx plugin has become the Output Modifiers feature of Revo. User management is radically different.

            [ed. note: sottwell last edited this post 9 years, 3 months ago.]
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 46074
              • 6 Posts
              Quote from: sottwell at Jan 07, 2015, 06:59 AM
              The difficulty of the port depends on the complexity of your site. Do you have a lot of users? Do you use a lot of custom snippets or plugins?
              Our site have only 1 user - Administrator.
              22 snippets, 8 plugins.
                • 46074
                • 6 Posts
                Quote from: AMDbuilder at Jan 06, 2015, 10:06 PM
                You should do a fresh install of Revolution in the directory and then use the links Susan provided to migrate the site. Alternatively, you could hire someone to perform the upgrade for you.
                Thank you for tips.
                Alternative can not be considered yet. [ed. note: jeam_stone last edited this post 9 years, 3 months ago.]
                • That makes it a lot easier. No need to import users at all. Just use the admin user from the Revolution (2.3.2) installation.

                  Depending on the plugins and snippets, if these are standard "add-on" snippets and plugins, not custom-coded, then there will most likely be Revo versions of them.
                    Studying MODX in the desert - http://sottwell.com
                    Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                    Join the Slack Community - http://modx.org
                  • discuss.answer
                    I have been doing a lot of EVO -> REVO updates in the past three months.

                    Using Provisioner is essential, but not the end of the process.

                    Provisioner doesn't like to move assets from the old EVO to REVO... you have to do that manually through ftp.

                    Any snippets that were written will need to be reviewed as accessing classes and db records change a bit from EVO to REVO. THe more custom snippets that call to the database, the more work to be done to refactor them.

                    Important note is that mentally, you need to think of this less as a conversion and more of a population of content and data from and evo site to a revo site, as you are essentially filling a new REVO database with content (pages, chunks, snippets, templates, tvs) from an evo database. Provisioner does some of the heavy lifting by converting tag syntaxes and changing Ditto to getResources as best it can, but there are limits.

                    Here is a brief process I use to do an EVO->REVO conversion:

                    1. Set up new database for REVO set on target server
                    2. Install a fresh REVO 2.2.16 install on target server (Provisioner seems to work best in 2.2.16 currently)
                    3. Install Provisioner, getResources and Wayfinder in new REVO install
                    4. Backup Evo site + database (always a good idea when dealing with automated import scripts)
                    5. Upload revogateway to assets/snippets of EVO site
                    6. Zip assets/js and assets/site files OR tar the assets folder to wget after conversion
                    7. Import Evo into Revo via Provisioner. NOTE. Provisioner creates a Provisioner context, so when you import make sure you tell it which context to put it in.
                    8. Upload/wget EVO asset files
                    9. Reinstall addons (the import sometimes mucks up the packages)
                    10. Update users with correct passwords (need to be known prior to conversion since the HASHing is different between EVO and REVO)
                    11. Update jQuery version if needed
                    12. TEST 2.2.16 VERSION OF SITE FIRST... then either fix or....
                    13. Upgrade REVO site to 2.3.1
                    14. TEST SITE IN 2.3.1.


                    • I prefer to use pdoTools over GetResources, Wayfinder, etc. So I go into the site after words and convert all my tags to the pdoTools equivalent (fortunately pdoTools can use the same parameter names).
                    • Also, eForm, if used in EVO, has no direct equivalent in REVO, so you will need to rebuild your forms using FormIt, Formz, mxFormBuilder, etc.
                    • Same for AJAXSearch... need to install SimpleSearch and manually convert tags.

                    This process has worked well, with some adjusting needed here and there depending on the complexity of the EVO site.

                    Don't bother importing plugins, from my experience they never work in REVO.

                    oh, and DO NOT TICK THE COPY PARENT CATEGORIES BOX on the import pane. It causes all kinds of issues as the categories never come in nicely and it takes going into the database and changing category fields on the records to fix. If this doesn't make sound familiar, then don't worry about it (the box is unticked by default).

                    If you are able to import the pages into the tree, and the site is still showing white, check you server error logs as well as modx error logs. Most of the time is is a snippet error due to the version change. I had an EVO gallery add on that was causing issues with one of my converts and it drove me nuts until I figured out what part was not jiving with REVO.

                    Hopefully this helps. Once I get through the remaining 10 EVO conversions I have this quarter, I will put together a tutorial on what I find works best.
                      • 46074
                      • 6 Posts
                      Quote from: dvstudiosinc at Jan 07, 2015, 04:08 PM
                      I have been doing a lot of EVO -> REVO updates in the past three months.
                      Thank you very much for the detailed instructions.
                      I tried to do the conversion on your instructions. Everything went well, but the site is still not working properly. Get an error "Fatal error: Call to undefined method modX :: getFullTableName () in /revo/assets/snippets/ditto/classes/ditto.class.inc.php on line 39"

                      I realized that the time spent on the site conversion comparable to the construction of the new site. Since I am not a professional developer sites, therefore decided to stop at this.

                      Thanks to all responded! smiley