I was trying to upgrade from version 1.02 to v. 2.2.0pl (revolution). I uploaded all new files over the old (most were new, and the files the upgrade area told me not to overwrite, were not in the new file to begin with). I ran the script at: www.MYDomainName.com/setup/ selected: Upgrade Existing Install and file are already in place is checked. When I click: Next I get: Error 500: Internal Server Error.
On the Homepage I see these errors:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /MYDirectory/public_html/core/model/modx/modx.class.php on line 429
Fatal error: Class 'xPDODriver_' not found in /MYDirectory/public_html/core/xpdo/xpdo.class.php on line 1779
Any idea as to how to fix this?
The first thing to try is deleting all files in the core/cache directory and clearing your browser cache and cookies.
The next thing is going into the DB with PhpMyAdmin and turning off compress_js and compress_css in the modx_system_settings table.
If you used FTP to transfer the files individually, it's not uncommon to have a missing or corrupted file.
Here's a way to do it without FTP:
http://bobsguides.com/modx-upgrade-faq.html
---------------------------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
MODX info for everyone:
http://bobsguides.com/modx.html
-
☆ A M B ☆
- 2,213 Posts
Hello,
Could you please confirm you are trying to upgrade from MODX Evolution to Revolution directly? There is NOT a direct upgrade path, so your problem is likely related.
If this is the case restore your pre-upgrade backup, and upgrade it to 1.0.5 which is the current Evolution version (1.0.6 is due out soon, guessing before months end).
If you still want to upgrade to Revolution, you will need to use a module like provisioner, or do a direct database upgrade. We can discuss these options further if you need additional assistance.
Oops. Another one I missed. Time to get some sleep.
Quote from: BobRay at Feb 21, 2012, 10:18 PM
The next thing is going into the DB with PhpMyAdmin and turning off compress_js and compress_css in the modx_system_settings table.
I went into PHPMyAdmin found the "modx_system_settings" table but could not find: compress_js or compress_css. I asked my hosting provider and they also could not find these settings. The provider asked me to find more details.
I did upload files manually (with FileZilla) but almost all folders and most files were new. The /Setup, /Core, and /Connectors folders were all new (not on the server before upgrade) and inside the /Managers folder the: /controllers, /min, and /templates (If I recall correctly) folder were also new. Basically I dropped these new folders into place and Filezilla did the rest. If I recall there seemed to be 3,000 or so new files. Basically there was a huge difference between the version I had and this new version.
I am not 100% sure the first version (1.02) that I had was evolution or revolution but I believe it was revolution (I never choose evolution). And I know the new version is revolution.
They should definitely be in the table you checked. That might be another sign that you tried to upgrade an Evolution version. Everything up to and including 1.0.5 would be Evolution.
---------------------------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
MODX info for everyone:
http://bobsguides.com/modx.html
OK. So I basically tried to upgrade from Evolution to Revolution. In the top right of the control panel it has the version number but it did not say Evolution or Revolution, so I must have been mistaken. How can I reverse these files? Or should I backup my database via PHP MyAdmin do a new install of Evolution, and then upload the database to the new install. I guess I am confused as to what to do from here.
It doesn't matter to me whether it's Evolution or Revolution it's just that I am not much of a developer. So I don't need all the extras.
Actually, now that I think of it I only had 4 template items (most of them I saved) and 5 blank pages created. I guess I just empty my database and hit install and see what happens.
I just did a fresh install and dropped the database tables. Was fairly easy. Thank you for your help.
I'm glad you got it sorted. There should probably be more prominent warnings about trying to do this.
---------------------------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
MODX info for everyone:
http://bobsguides.com/modx.html