We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10746
    • 126 Posts
    Trying, painfully, to install Revolution.

    I finally got MySQL upgraded to 5.0.67 to avoid the "MySQL except 5.0.51" and PHP upgraded to 64M memory etc.

    I reach the final "Install" stage, push the button, and get

    Errors were encountered during core installation. Please review the installation results below, correct the problems and proceed as directed.

    The only problem is: there ARE no installation results below... just a button saying "Retry".

    So where do I find the problems that need correcting?

    However, despite the failed install, I went anyway to what would be the homepage and found


    Fatal error: Class ’xPDOQuery_’ not found in <snipped>WWW/modx/core/xpdo/xpdo.class.php on line 1934


    So maybe this is the problem?

    Cheers

    Gordon


      • 28215
      • 4,149 Posts
      A few questions before we can help further:

      1. What’s your PHP Version?
      2. I assume this is Apache? 1 or 2? What OS?
      3. Did anything here help? http://svn.modxcms.com/docs/display/revolution/Fresh+Installation
      4. Are there any errors in core/cache/logs/error.log that are illuminating?
      5. Was there a setup log generated in core/cache/logs/ that would show setup errors?

      Thanks!
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 10746
        • 126 Posts
        1. PHP is 5.2.6-3ubuntu4.1
        2. Apache 2, Ubuntu 9.04
        3. No, but I read it.
        4. No file "error.log"
        5. Perhaps... a file called install.config.2009-08-12T19:54:35

        It starts with

        [2009-08-12 19:54:36] (ERROR @ /~gordon/modx/setup/index.php) Error executing PHP script /u2/gordon/WWW/modx/core/packages/core/modContext/ab8283ddd78f3596da18cdea5c4ae72e.resolve.core.resolver
        [2009-08-12 19:54:36] (ERROR @ /~gordon/modx/setup/index.php) Could not resolve vehicle: Array
        (
        [resolve_files] => 0
        [package_action] => 0
        [vehicle_package] => transport
        [vehicle_class] => xPDOObjectVehicle
        [class] => modContext
        [guid] => 8f93d7b4cc622da452262d40ca873bae
        [native_key] => web
        [filename] => modContext/ab8283ddd78f3596da18cdea5c4ae72e.vehicle
        [preserve_keys] => 1
        [update_object] =>
        [resolve] => Array
        (
        [0] => Array
        (
        [type] => file
        [body] => {"source":"core\/modContext\/ab8283ddd78f3596da18cdea5c4ae72e\/0\/","target":"return MODX_BASE_PATH;","name":"index.php"}
        )

        [1] => Array
        (
        [type] => file
        [body] => {"source":"core\/modContext\/ab8283ddd78f3596da18cdea5c4ae72e\/1\/","target":"return MODX_BASE_PATH;","name":"ht.access"}
        )

        [2] => Array
        (
        [type] => php
        [body] => {"type":"php","source":"core\/modContext\/ab8283ddd78f3596da18cdea5c4ae72e.resolve.core.resolver","target":"return MODX_BASE_PATH . ’config.core.php’;","name":"resolve.core"}
        )

        )

        [package] => modx
        [signature] => ab8283ddd78f3596da18cdea5c4ae72e
        [object] => {"key":"web","description":"The default front-end context for your web site."}
        )

        [2009-08-12 19:54:36] (ERROR @ /~gordon/modx/setup/index.php) Error executing PHP script /u2/gordon/WWW/modx/core/packages/core/modContext/ebf3d1dbbd26058b74ea9c1480568112.resolve.core.resolver

        and keeps going in similar vein...


        Thanks

        Gordon

          • 10746
          • 126 Posts
          Oh, I also read

          http://modxcms.com/forums/index.php?topic=37177.0

          and tried setting everything to 777, but this didn’t help either..

          Gordon
            • 18044
            • 10 Posts
            Have the same problem. My install.config:
            [2009-10-09 03:35:38] (ERROR @ /setup/index.php) Error executing PHP script /var/www/ipbased/www/revolution/core/packages/core/modContext/515674d74fb65d3459617987b6ea7f0f.resolve.core.resolver
            [2009-10-09 03:35:38] (ERROR @ /setup/index.php) Could not resolve vehicle: Array
            (
                [resolve_files] => 0
                [package_action] => 0
                [vehicle_package] => transport
                [vehicle_class] => xPDOObjectVehicle
                [class] => modContext
                [guid] => 8b6c0d4b97730c197d4e0dc77a5c247d
                [native_key] => web
                [filename] => modContext/515674d74fb65d3459617987b6ea7f0f.vehicle
                [preserve_keys] => 1
                [update_object] => 
                [resolve] => Array
                    (
                        [0] => Array
                            (
                                [type] => file
                                [body] => {"source":"core\/modContext\/515674d74fb65d3459617987b6ea7f0f\/0\/","target":"return MODX_BASE_PATH;","name":"index.php"}
                            )
            
                        [1] => Array
                            (
                                [type] => file
                                [body] => {"source":"core\/modContext\/515674d74fb65d3459617987b6ea7f0f\/1\/","target":"return MODX_BASE_PATH;","name":"ht.access"}
                            )
            
                        [2] => Array
                            (
                                [type] => php
                                [body] => {"type":"php","source":"core\/modContext\/515674d74fb65d3459617987b6ea7f0f.resolve.core.resolver","target":"return MODX_BASE_PATH . 'config.core.php';","name":"resolve.core"}
                            )
            
                    )
            
                [package] => modx
                [signature] => 515674d74fb65d3459617987b6ea7f0f
                [object] => {"key":"web","description":"The default front-end context for your web site."}
            )
            
            [2009-10-09 03:35:38] (ERROR @ /setup/index.php) Error executing PHP script /var/www/ipbased/www/revolution/core/packages/core/modContext/1642954be5370caa3c12fffb831fbccd.resolve.core.resolver
            [2009-10-09 03:35:38] (ERROR @ /setup/index.php) Could not resolve vehicle: Array
            (
                [resolve_files] => 0
                [package_action] => 0
                [vehicle_package] => transport
                [vehicle_class] => xPDOObjectVehicle
                [class] => modContext
                [guid] => 5140acfd9b727c87ff5c91f4f5785397
                [native_key] => mgr
                [filename] => modContext/1642954be5370caa3c12fffb831fbccd.vehicle
                [preserve_keys] => 1
                [update_object] => 
                [resolve] => Array
                    (
                        [0] => Array
                            (
                                [type] => file
                                [body] => {"source":"core\/modContext\/1642954be5370caa3c12fffb831fbccd\/0\/","target":"return MODX_MANAGER_PATH;","name":"assets"}
                            )
            
                        [1] => Array
                            (
                                [type] => file
                                [body] => {"source":"core\/modContext\/1642954be5370caa3c12fffb831fbccd\/1\/","target":"return MODX_MANAGER_PATH;","name":"controllers"}
                            )
            
                        [2] => Array
                            (
                                [type] => file
                                [body] => {"source":"core\/modContext\/1642954be5370caa3c12fffb831fbccd\/2\/","target":"return MODX_MANAGER_PATH;","name":"templates"}
                            )
            
                        [3] => Array
                            (
                                [type] => file
                                [body] => {"source":"core\/modContext\/1642954be5370caa3c12fffb831fbccd\/3\/","target":"return MODX_MANAGER_PATH;","name":"ht.access"}
                            )
            
                        [4] => Array
                            (
                                [type] => file
                                [body] => {"source":"core\/modContext\/1642954be5370caa3c12fffb831fbccd\/4\/","target":"return MODX_MANAGER_PATH;","name":"index.php"}
                            )
            
                        [5] => Array
                            (
                                [type] => php
                                [body] => {"type":"php","source":"core\/modContext\/1642954be5370caa3c12fffb831fbccd.resolve.core.resolver","target":"return MODX_MANAGER_PATH . 'config.core.php';","name":"resolve.core"}
                            )
            
                    )
            
                [package] => modx
                [signature] => 1642954be5370caa3c12fffb831fbccd
                [object] => {"key":"mgr","description":"The default manager or administration context for content management activity."}
            )
            
            [2009-10-09 03:35:38] (ERROR @ /setup/index.php) Could not install files from /var/www/ipbased/www/revolution/core/packages/core/xPDOFileVehicle/5624a8113caf59ad3c91e78915591c38/ to /var/www/ipbased/www/revolution/connectors/
            [2009-10-09 03:35:38] (ERROR @ /setup/index.php) Could not install files from /var/www/ipbased/www/revolution/core/packages/core/xPDOFileVehicle/16f23e2fbd0b1a072f6ed04a1974b6dc/ to /var/www/ipbased/www/revolution/connectors/
            [2009-10-09 03:35:38] (ERROR @ /setup/index.php) Could not install files from /var/www/ipbased/www/revolution/core/packages/core/xPDOFileVehicle/31fdde596a6791c130fd4800f4c7ec57/ to /var/www/ipbased/www/revolution/connectors/
            [2009-10-09 03:35:38] (ERROR @ /setup/index.php) Could not install files from /var/www/ipbased/www/revolution/core/packages/core/xPDOFileVehicle/3291dae6c3f6eb27bfd04bc954eae910/ to /var/www/ipbased/www/revolution/connectors/
            [2009-10-09 03:35:38] (ERROR @ /setup/index.php) Could not install files from /var/www/ipbased/www/revolution/core/packages/core/xPDOFileVehicle/08dd348faed6e3e61ce14b95f2de256d/ to /var/www/ipbased/www/revolution/connectors/
            [2009-10-09 03:35:38] (ERROR @ /setup/index.php) Could not install files from /var/www/ipbased/www/revolution/core/packages/core/xPDOFileVehicle/9c8d71af7aedf418d3ac1c94e5357399/ to /var/www/ipbased/www/revolution/connectors/
            [2009-10-09 03:35:38] (ERROR @ /setup/index.php) Could not install files from /var/www/ipbased/www/revolution/core/packages/core/xPDOFileVehicle/e3ffd172ae2744b88f5ababbfd6c5fbc/ to /var/www/ipbased/www/revolution/connectors/
            [2009-10-09 03:35:38] (ERROR @ /setup/index.php) Could not install files from /var/www/ipbased/www/revolution/core/packages/core/xPDOFileVehicle/2ae49a4fba5fe49063ad176058039b79/ to /var/www/ipbased/www/revolution/connectors/
            [2009-10-09 03:35:38] (ERROR @ /setup/index.php) Could not install files from /var/www/ipbased/www/revolution/core/packages/core/xPDOFileVehicle/9a444ef7f0ad7ea8d0eb36b67654edfa/ to /var/www/ipbased/www/revolution/connectors/
            [2009-10-09 03:35:38] (ERROR @ /setup/index.php) Could not install files from /var/www/ipbased/www/revolution/core/packages/core/xPDOFileVehicle/5cd650ebaf46bd0e8b27a44e79bf6b18/ to /var/www/ipbased/www/revolution/connectors/
            


            Apache 2.2.11 (Ubuntu)
            PHP 5.2.6-3ubuntu4.2 with Suhosin-Patch
            MySQL 5.0.75-0ubuntu10.2
            pdo_mysql, mcrypt and mhash are installed.
              Допустим так, сюда туда,
              Будет так ни так, ни сяк.
              Ну не так, чтоб уж туды,
              Запроси сюды.
              Как бы так, чтобы не сяк,
              Эдак, водак, мяк и шмяк,
              Залепить сюда вот-так,
              Получается - Косяк.
            • Is this from SVN or are you using the beta-3 traditional zip or beta-3 advanced zip distributions? If this is the traditional package, you need to make the directory you are installing into, as well as connectors/ and manager/ writable before executing the install step in setup. This is due to a bug in the beta-3 distribution; this will not be necessary in beta-4 when it is released.
                • 18044
                • 10 Posts
                I tried both traditional & advanced but the same problem.
                All directories have 777 permissions including revolution (where i install modx)

                But while trying install advanced version I had another error log. There were something about the duplicate data in mysql. I deleted all tables and the old error log (like traditional version) appeared again.
                  Допустим так, сюда туда,
                  Будет так ни так, ни сяк.
                  Ну не так, чтоб уж туды,
                  Запроси сюды.
                  Как бы так, чтобы не сяк,
                  Эдак, водак, мяк и шмяк,
                  Залепить сюда вот-так,
                  Получается - Косяк.