We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10165
    • 129 Posts
    Hi - hope someone can help - Moving Evolution site to Revolution latest

    I've been trying for a while to use the GoRevo package to attempt to convert as much as possible
    Using the latest version 1.2.0 I've managed to get the Evolution side to save the Zip file - installed the fresh Revolution site added/installed from the transport package and put the zip file into gorevo folder.

    Revolution side of things
    The site is very large so it timed out in browser, tried it in terminal (mac) using :
    php /Applications/MAMP/htdocs/gorevo/index.php

    Errors are:
    [2018-01-09 17:23:35] (ERROR in xPDOConnection::connect @ /Applications/MAMP/htdocs/core/xpdo/xpdo.class.php : 3116) SQLSTATE[HY000] [2002] No such file or directory

    I've tried moving the Revolution site into the core (had it in a sub folder) - also tried chmod folders to 755 files to 644 as they didn't appear to be correct. Still same problem

    Any ideas?

    thanks

      • 20413
      • 2,877 Posts
      From Bob's site:

      If your assets directory is very large, it may cause the export or the import to time out. You may want to exclude it from the process and transfer it on your own. If you are running index.php from the command line (or if your server thinks you are in CLI mode) the assets directory may be transferred anyway. If so, edit line 55 of the gorevo/index.php file like this: $includeDirs = '';

      ...and upload it to the /gorevo/ directory of the Revolution site (just under the MODX root directory).

      https://bobsguides.com/gorevo-package.html
        @hawproductions | http://mrhaw.com/

        Infograph: MODX Advanced Install in 7 steps:
        http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

        Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
        http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
        • 10165
        • 129 Posts
        Thanks for that pointer - I'll have a look at that


        Quote from: mrhaw at Jan 09, 2018, 04:07 PM
        From Bob's site:

        If your assets directory is very large, it may cause the export or the import to time out. You may want to exclude it from the process and transfer it on your own. If you are running index.php from the command line (or if your server thinks you are in CLI mode) the assets directory may be transferred anyway. If so, edit line 55 of the gorevo/index.php file like this: $includeDirs = '';

        ...and upload it to the /gorevo/ directory of the Revolution site (just under the MODX root directory).

        https://bobsguides.com/gorevo-package.html
          • 10165
          • 129 Posts
          I tried doing it from scratch - changing the setting to ignore the assets which made a much smaller zip file but again I'm having the same problems in Revolution..

          It won't run through browser which I'd expect but I think maybe it's the way I'm trying to run the index.php file - I'm typing into Terminal on Mac to access the gorevo/index.php file which I've got running in /htdocs in MAMP

          this is my Terminal command:
          php /Applications/MAMP/htdocs/gorevo/index.php
          which comes back with this

          [2018-01-10 12:27:37] (ERROR in xPDOConnection::connect @ /Applications/MAMP/htdocs/core/xpdo/xpdo.class.php : 3116) SQLSTATE[HY000] [2002] No such file or directory
          [2018-01-10 12:27:37] (ERROR @ /Applications/MAMP/htdocs/core/xpdo/om/xpdoquery.class.php : 653) Could not construct or prepare query because it is invalid or could not connect: SELECT `modResource`.`id` AS `modResource_id`, `modResource`.`type` AS `modResource_type`, `modResource`.`contentType` AS `modResource_contentType`, `modResource`.`pagetitle` AS `modResource_pagetitle`, `modResource`.`longtitle` AS `modResource_longtitle`, `modResource`.`description` AS `modResource_description`, `modResource`.`alias` AS `modResource_alias`, `modResource`.`link_attributes` AS `modResource_link_attributes`, `modResource`.`published` AS `modResource_published`, `modResource`.`pub_date` AS `modResource_pub_date`, `modResource`.`unpub_date` AS `modResource_unpub_date`, `modResource`.`parent` AS `modResource_parent`, `modResource`.`isfolder` AS `modResource_isfolder`, `modResource`.`introtext` AS `modResource_introtext`, `modResource`.`content` AS `modResource_content`, `modResource`.`richtext` AS `modResource_richtext`, `modResource`.`template` AS `modResource_template`, `modResource`.`menuindex` AS `modResource_menuindex`, `modResource`.`searchable` AS `modResource_searchable`, `modResource`.`cacheable` AS `modResource_cacheable`, `modResource`.`createdby` AS `modResource_createdby`, `modResource`.`createdon` AS `modResource_createdon`, `modResource`.`editedby` AS `modResource_editedby`, `modResource`.`editedon` AS `modResource_editedon`, `modResource`.`deleted` AS `modResource_deleted`, `modResource`.`deletedon` AS `modResource_deletedon`, `modResource`.`deletedby` AS `modResource_deletedby`, `modResource`.`publishedon` AS `modResource_publishedon`, `modResource`.`publishedby` AS `modResource_publishedby`, `modResource`.`menutitle` AS `modResource_menutitle`, `modResource`.`donthit` AS `modResource_donthit`, `modResource`.`privateweb` AS `modResource_privateweb`, `modResource`.`privatemgr` AS `modResource_privatemgr`, `modResource`.`content_dispo` AS `modResource_content_dispo`, `modResource`.`hidemenu` AS `modResource_hidemenu`, `modResource`.`class_key` AS `modResource_class_key`, `modResource`.`context_key` AS `modResource_context_key`, `modResource`.`content_type` AS `modResource_content_type`, `modResource`.`uri` AS `modResource_uri`, `modResource`.`uri_override` AS `modResource_uri_override`, `modResource`.`hide_children_in_tree` AS `modResource_hide_children_in_tree`, `modResource`.`show_in_tree` AS `modResource_show_in_tree`, `modResource`.`properties` AS `modResource_properties` FROM `modx_site_content` AS `modResource` WHERE `modResource`.`id` = ? 
          
          ...... another 5/6 as above
          followed by this:
          
          Fatal error: Call to a member function bindParam() on a non-object in /Applications/MAMP/htdocs/core/components/gorevo/model/gorevo/gorevoimport.class.php on line 159
          CreativeGuru2:~ CreativeGuru2$ 
          


          Bob mentions if it times out to clear out the crud in the site - I'm simply deleting tables and re-importing the database (blank site with just home page and gorevo extra) - should I be doing anything else?

          many thanks

          PS I also tried running this: php localhost:8888/gorevo/index.php and 127.0/0/1:8888/gorevo/index.php but still errors
            • 20413
            • 2,877 Posts
            I haven't used this extra but it seems as you install MODX Revolution first? Like this: /Applications/MAMP/htdocs/myWebsite

            then setup gorevo like this: /Applications/MAMP/htdocs/myWebsite/gorevo
              @hawproductions | http://mrhaw.com/

              Infograph: MODX Advanced Install in 7 steps:
              http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

              Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
              http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
              • 10165
              • 129 Posts
              Yes that's right, I've tried both having the revolution in a folder and in the core but same errors so really stuck as to why.

              Quote from: mrhaw at Jan 10, 2018, 11:24 AM
              I haven't used this extra but it seems as you install MODX Revolution first? Like this: /Applications/MAMP/htdocs/myWebsite

              then setup gorevo like this: /Applications/MAMP/htdocs/myWebsite/gorevo
                • 3749
                • 24,544 Posts
                Did the Revolution install finish, and were you able to successfully install the GoRevo package from inside the Revolution Manager?

                  Did I help you? Buy me a beer
                  Get my Book: MODX:The Official Guide
                  MODX info for everyone: http://bobsguides.com/modx.html
                  My MODX Extras
                  Bob's Guides is now hosted at A2 MODX Hosting
                  • 10165
                  • 129 Posts
                  Hi Bob, thanks for your reply - yes the Revolution installed successfully and the package installed too - the only thing I wasn't too sure about was I downloaded the latest version and had to rename it - add ".transport" and zip in order to use it but seemed to all work fine.

                  Each time I've tried to rerun I've re-imported the fresh Revolution with the package in place.

                  thanks



                  Quote from: BobRay at Jan 12, 2018, 12:05 AM
                  Did the Revolution install finish, and were you able to successfully install the GoRevo package from inside the Revolution Manager?

                    • 3749
                    • 24,544 Posts
                    I downloaded the latest version and had to rename it - add ".transport" and zip

                    If you mean the GoRevo package file, this is your problem.

                    You have to unzip the package after downloading it as described in the docs. The transport.zip file is *inside* the package's .zip file.
                    Move the transport.zip file to core/packages and use "Search Locally for Packages" in Package Manager.

                    I would uninstall and remove the corrupted version you installed first before doing that.

                      Did I help you? Buy me a beer
                      Get my Book: MODX:The Official Guide
                      MODX info for everyone: http://bobsguides.com/modx.html
                      My MODX Extras
                      Bob's Guides is now hosted at A2 MODX Hosting
                      • 10165
                      • 129 Posts
                      Hi Bob,

                      when I download from the "GoRevo updated" email link I get an already unzipped folder in my download folder containing:

                      /gorevo-1.2.0-pl
                      - manifest.php
                      - /modCategory
                      - /modNamespace

                      tried clicking "Download all" and "Download" button but get the same result - I was expecting it to be a zipped file or a .transport file already?

                      many thanks
                      Phil




                      Quote from: BobRay at Jan 13, 2018, 01:41 PM
                      I downloaded the latest version and had to rename it - add ".transport" and zip

                      If you mean the GoRevo package file, this is your problem.

                      You have to unzip the package after downloading it as described in the docs. The transport.zip file is *inside* the package's .zip file.
                      Move the transport.zip file to core/packages and use "Search Locally for Packages" in Package Manager.

                      I would uninstall and remove the corrupted version you installed first before doing that.

                      [ed. note: freshwaterwest last edited this post 8 years, 8 months ago.]