Quote from: einsteinsboi at Jan 07, 2010, 11:23 AM
Quote from: OldGuru at Jan 07, 2010, 10:22 AM
Quote from: einsteinsboi at Dec 16, 2009, 06:35 AM
... make sure the option "Upgrade existing site" is chosen instead of the one to install a new website. Ofcourse you want to make sure you don’t install the sample website as this will overwrite your current website.
I upgraded from 1.0.0, but didn’t notice anything about installing the sample website. As the result, all my resources and elements are messed up.
To correct the problem, is it enough to restore the database and re-install 1.0.2 or shall I first do a clean install of 1.0.0 and then perform the other two steps?
As a suggestion, I believe it would be much better if the option of sample website be unchecked by default when we upgrade. After all, the whole purpose of upgrading, as opposed to clean install, is that you want to keep what you already have.
The install sample website option is unchecked by default when performing an upgrade. What do you mean when you say your resources and elements are messed up? Also, did you clear your cache?
My home page was changed to what seemed to be the sample site’s home page, some other pages disappeared (probably because they had the same Ids as the pages in sample site), other pages’ templates were changed to modxHost. Similar things happened to my templates, chunks, snippets, ...
I restored the database and performed the upgrade again and now everything seems ok. As you said, the sample site option was off by default. Here is the only thing that I did differently from the first time:
After selecting the upgrade option, for some reason I received a false warning about register_globals being ’on’ (it happened before too during installs or upgrades). The first time, I checked php.ini and register_globals was ’off’. So, I pressed the back button, selected the upgrade option again, clicked next and then started the installation. The second time, I just ignored the false warning.