We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25776
    • 8 Posts
    Upgraded revo 2.0.8pl to 2.1.0.rc but unfortunately the site is not working after the upgrade. I am able to login, an browse through the manager but file preview and going to the pages directly (within the browser) is not working and giving a http error 500 (internal server error) .Below the error messages in the modx manager log right after upgrading.

    Any thoughts?



    [2011-03-30 23:42:02] (ERROR in xPDOManager_mysql::removeField @ core/xpdo/om/mysql/xpdomanager.class.php : 341) Error removing field modResource->haskeywords: Array
    ([0] => 42000
    [1] => 1091
    [2] => Can’t DROP ’haskeywords’; check that column/key exists)

    [2011-03-30 23:42:02] (ERROR in xPDOManager_mysql::removeField @ /var/www/vhosts/bofal.nl/httpdocs/core/xpdo/om/mysql/xpdomanager.class.php : 341) Error removing field modResource->hasmetatags: Array
    (
    [0] => 42000
    [1] => 1091
    [2] => Can’t DROP ’hasmetatags’; check that column/key exists
    )

    [2011-03-30 23:42:02] (ERROR in xPDOManager_mysql::removeField @ /var/www/vhosts/bofal.nl/httpdocs/core/xpdo/om/mysql/xpdomanager.class.php : 341) Error removing field modUserProfile->role: Array
    (
    [0] => 42000
    [1] => 1091
    [2] => Can’t DROP ’role’; check that column/key exists
    )

    [2011-03-30 23:42:02] (ERROR in xPDOManager_mysql::addField @ /var/www/vhosts/bofal.nl/httpdocs/core/xpdo/om/mysql/xpdomanager.class.php : 276) Error adding field modUserGroup->description: Array
    (
    [0] => 42S21
    [1] => 1060
    [2] => Duplicate column name ’description’
    )

    [2011-03-30 23:42:02] (ERROR in xPDOManager_mysql::addField @ /var/www/vhosts/bofal.nl/httpdocs/core/xpdo/om/mysql/xpdomanager.class.php : 276) Error adding field transport.modTransportProvider->username: Array
    (
    [0] => 42S21
    [1] => 1060
    [2] => Duplicate column name ’username’
    )

    [2011-03-30 23:42:02] (ERROR in xPDOManager_mysql::addIndex @ /var/www/vhosts/bofal.nl/httpdocs/core/xpdo/om/mysql/xpdomanager.class.php : 296) Error adding index username to transport.modTransportProvider: Array
    (
    [0] => 42000
    [1] => 1061
    [2] => Duplicate key name ’username’
    )

    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not copy /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/modContext/9d37575aa4b09d211abce4ff6389d3fd/0/ to /var/www/vhosts/bofal.nl/httpdocs/index.php
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not copy /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/modContext/9d37575aa4b09d211abce4ff6389d3fd/1/ to /var/www/vhosts/bofal.nl/httpdocs/ht.access
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) xPDOVehicle resolver failed: type php (/var/www/vhosts/bofal.nl/httpdocs/core/packages/core/modContext/9d37575aa4b09d211abce4ff6389d3fd.resolve.core.resolver)
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not resolve vehicle for object of class modContext; criteria: web
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not copy /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/modContext/5425e253b58447a04184ebeca9b52dbf/0/ to /var/www/vhosts/bofal.nl/httpdocs/manager/assets
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not copy /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/modContext/5425e253b58447a04184ebeca9b52dbf/1/ to /var/www/vhosts/bofal.nl/httpdocs/manager/controllers
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not copy /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/modContext/5425e253b58447a04184ebeca9b52dbf/2/ to /var/www/vhosts/bofal.nl/httpdocs/manager/templates
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not copy /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/modContext/5425e253b58447a04184ebeca9b52dbf/3/ to /var/www/vhosts/bofal.nl/httpdocs/manager/ht.access
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not copy /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/modContext/5425e253b58447a04184ebeca9b52dbf/4/ to /var/www/vhosts/bofal.nl/httpdocs/manager/index.php
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) xPDOVehicle resolver failed: type php (/var/www/vhosts/bofal.nl/httpdocs/core/packages/core/modContext/5425e253b58447a04184ebeca9b52dbf.resolve.core.resolver)
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not resolve vehicle for object of class modContext; criteria: mgr
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/345ce9178d14882a7bbb9234e3d4eeec/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/ec717ebb7c0b459eba9df463b1266b0d/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/6828499cbde6e5c327462eb4a8ea7bc3/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/915677c188a08a6701c0a4bd69f8ec82/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/9ff0fe7eed0c63c0f6c347f9bdba2bec/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/3441aef9d991247e82124cb2af419eac/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/cb41b9b856779ebe74a95774cde0e091/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/00dfa4da0435c079ef48108a59523e2d/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/ca31184d9edd9b22d9058644321bd71a/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/44cbc2169aa783ea0a81c30584e6b37d/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
    [2011-03-30 23:42:04] (ERROR @ /setup/index.php) xPDOVehicle resolver failed: type php (/var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/44cbc2169aa783ea0a81c30584e6b37d.resolve.core.resolver)
      • 19132
      • 199 Posts
      No thoughts about these errors other than to say that I hoped you backed up your site before upgrading which according to the announcement one shouldn’t do this kind of upgrade until it’s publicly released.
        MySQL: 5.0.45
        PHP: 5.2.6
        Linux 2.6.9-023stab048.6-enterprise #1
        cURL enabled
        PDO enabled
        FFox Apple 3.6.8
        Firebug DIS-abled
      • Was this traditional or advanced?
          • 349
          • 76 Posts
          I have similar problems (error 500 when trying to open a resource in manager) after upgrading from 2.0.7 to 2.1 RC3.
          My sytems specs are:
          Debian 5.0 lenny
          MySQL: 5.1.37
          PHP: 5.3.5
          


          I downloaded the traditional release and get the following errors in the error log:

          [2011-04-14 09:01:33] (ERROR @ /setup/index.php) Resource URI  already exists for resource id = 20; skipping duplicate resource URI for resource id = 21
          the former error repeats for every resource i have in my resource tree;
          [2011-04-14 09:01:36] (ERROR in xPDOManager_mysql::addField @ /var/www/regenata/www/core/xpdo/om/mysql/xpdomanager.class.php : 276) Error adding field modUserGroup->rank: Array
          (
              [0] => 42S21
              [1] => 1060
              [2] => Duplicate column name 'rank'
          )
          
          [2011-04-14 09:01:36] (ERROR in xPDOManager_mysql::addIndex @ /var/www/regenata/www/core/xpdo/om/mysql/xpdomanager.class.php : 296) Error adding index rank to modUserGroup: Array
          (
              [0] => 42000
              [1] => 1061
              [2] => Duplicate key name 'rank'
          )
          
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) Could not copy /var/www/regenata/www/core/packages/core/modContext/4a6d84baed8e37dd17db53784567c8eb/0/ to /var/www/regenata/www/index.php
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) Could not copy /var/www/regenata/www/core/packages/core/modContext/4a6d84baed8e37dd17db53784567c8eb/1/ to /var/www/regenata/www/ht.access
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) Could not copy /var/www/regenata/www/core/packages/core/modContext/99485f3898d6d3ba6d1946c4875c9d4c/0/ to /var/www/regenata/www/manager/assets
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) Could not copy /var/www/regenata/www/core/packages/core/modContext/99485f3898d6d3ba6d1946c4875c9d4c/1/ to /var/www/regenata/www/manager/controllers
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) Could not copy /var/www/regenata/www/core/packages/core/modContext/99485f3898d6d3ba6d1946c4875c9d4c/2/ to /var/www/regenata/www/manager/templates
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) Could not copy /var/www/regenata/www/core/packages/core/modContext/99485f3898d6d3ba6d1946c4875c9d4c/3/ to /var/www/regenata/www/manager/ht.access
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) Could not copy /var/www/regenata/www/core/packages/core/modContext/99485f3898d6d3ba6d1946c4875c9d4c/4/ to /var/www/regenata/www/manager/index.php
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) xPDOVehicle resolver failed: type php (/var/www/regenata/www/core/packages/core/modContext/99485f3898d6d3ba6d1946c4875c9d4c.resolve.core.resolver)
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) Could not resolve vehicle for object of class modContext; criteria: mgr
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) Could not install files from /var/www/regenata/www/core/packages/core/xPDOFileVehicle/80f19b2beef00573c1b9163933002339/ to /var/www/regenata/www/connectors/
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) Could not install files from /var/www/regenata/www/core/packages/core/xPDOFileVehicle/bd56a17457e5ed915a7c929519260c35/ to /var/www/regenata/www/connectors/
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) Could not install files from /var/www/regenata/www/core/packages/core/xPDOFileVehicle/dee64627b50b4d1d6213234c86fc8228/ to /var/www/regenata/www/connectors/
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) Could not install files from /var/www/regenata/www/core/packages/core/xPDOFileVehicle/982cb129e217f3e9b3cdc2102fcea887/ to /var/www/regenata/www/connectors/
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) Could not install files from /var/www/regenata/www/core/packages/core/xPDOFileVehicle/cac8974f247578fc443f556bbf5e4541/ to /var/www/regenata/www/connectors/
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) Could not install files from /var/www/regenata/www/core/packages/core/xPDOFileVehicle/3fc2bf695a426231d06c7587f734e3ca/ to /var/www/regenata/www/connectors/
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) Could not install files from /var/www/regenata/www/core/packages/core/xPDOFileVehicle/7108512a518aaeca7be83be5d60431f9/ to /var/www/regenata/www/connectors/
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) Could not install files from /var/www/regenata/www/core/packages/core/xPDOFileVehicle/5430b818fb4f8e5c4191b380e9d96972/ to /var/www/regenata/www/connectors/
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) Could not install files from /var/www/regenata/www/core/packages/core/xPDOFileVehicle/665d56bc281435d020ab22c4fdb15325/ to /var/www/regenata/www/connectors/
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) Could not install files from /var/www/regenata/www/core/packages/core/xPDOFileVehicle/c26446e882164498d59ded35a785f62e/ to /var/www/regenata/www/connectors/
          [2011-04-14 09:01:38] (ERROR @ /setup/index.php) xPDOVehicle resolver failed: type php (/var/www/regenata/www/core/packages/core/xPDOFileVehicle/c26446e882164498d59ded35a785f62e.resolve.core.resolver)
          • What do you mean by "open a resource in the manager"? Do you mean try to Preview the Resource from the manager? Or is the 500 error when you try to actually edit the Resource in the manager UI?

            Most of those errors you posted are normal and nothing to worry about when using the traditional release since all the files to be copied are already in place. You should be able to fix the duplicate URI problem by seeing why the Resource with id = 20 is returning a blank URI. That should not happen unless there is a problem with the data. Post some details about that Resource if you can’t figure it out. Otherwise, those are all normal.
              • 349
              • 76 Posts
              Or is the 500 error when you try to actually edit the Resource in the manager UI?
              Yes, i try to edit and get the error 500. I logged out of the manager before upgrading as recommended in the setup routine.
              • Something must be wrong with the installation. I have upgraded several sites from 2.0.8 to 2.1.0 and experienced nothing like this. Did you FTP transfer the files individually? Traditional or advanced? If advanced, did you make sure all the MODX files were writable by the PHP process and thus got updated by the installer?
                  • 349
                  • 76 Posts
                  I did the following
                  downloaded traditional modx via wget on machine where modx runs
                  unzipped it
                  copied all files to the directory where the previous installation (modx 2.0.8 ) lives:
                  cp -R modx-2.1.0-rc3/* www/
                  and then mywebsite.com/setup
                  no errors occured during setup
                  logged into manager (works fine)
                  try to edit a resource
                  error 500