Page 1 of 1
Upgrade from version 1.0.4 to 1.2
Posted: Fri Oct 19, 2007 8:11 pm
by SnyTek
Hi
I'm having a webpage running with version 1.0.4 of CMS Made Simple and would like to upgrade to version 1.2.
What is the correct way to upgrade from such an old version?
I use the following modules at the moment:
- Guestbook
- Captcha
- FeedbackForm
- HitCounter
- Smileys
Many thanks for your help!
SnyTek
Re: Upgrade from version 1.0.4 to 1.2
Posted: Sat Oct 20, 2007 12:27 am
by sayitlikeitis
I was about to post a similar question, and I was wondering whether I have to progressively "upgrade" through each version, or just go to the latest and "install" it. My concern about coming up to date quickly by doing an install is that there may be table structure changes that the new version requires that may cause problems if the old database structure is not altered by progressive upgrades.
SnyTek,
yestersay I found out my site was displaying some garbage at the top of each page. I was on v1.0.5 and decided, should I have some corrupted files, to do an install rather than an upgrade, and went to the next level up: v1.0.6. I got into a little bit of a panic because I presume when you do an upgrade the installer knows to keep the database, whereas when you do an install the installer thinks you might need a new database or in any case threatens to delete your data. A screen is presented to you during the installation process about 'creating tables' and 'install sample content and templates' with tick boxes to delete and install; of course I was careful to ensure the tickboxes were both unticked, which retained my data. My other problem was that I had to turn the house upside down looking for that safe place where I had written down my mySQL username and password (you know, that safe place that you forget as soon as you walk out the room - we all have them). Make sure you have this information where you can find it.
Re: Upgrade from version 1.0.4 to 1.2
Posted: Sat Oct 20, 2007 12:44 am
by calguy1000
(18:48:27) calguy1000: cmsinfo: upgrade?
(18:48:27) cmsinfo: it has been said that upgrade is Take a *backup* of db and files! Copy new files over old files. Run install/upgrade.php. Enjoy! You should also go to Modules to see if any of the modules needs upgrade.
Re: Upgrade from version 1.0.4 to 1.2
Posted: Sat Oct 20, 2007 4:05 am
by sayitlikeitis
calguy1000 wrote:
(18:48:27) calguy1000: cmsinfo: upgrade?
(18:48:27) cmsinfo:
I don't know about the other person, and I'm trying not to be obtuse, but what does this mean? Is it a reference to a previous posting. I can't work it out. Can you please make your response simpler?
Re: Upgrade from version 1.0.4 to 1.2
Posted: Sat Oct 20, 2007 7:56 pm
by SnyTek
@ calguy1000
I'm not sure if I understand you correctly. You suggest to just over copy the existing version 1.0.4 with the new files of version 1.2 and run the upgrade script. That sounds easy

. I assume the upgrade script will take care of the database changes, right?
@ sayitlikeitis:
I had the exaclty same thoughts about the database structure as you when posting the question

. As soon as I find some time I will try to do the upgrade and let you know how it went. Unfortunately I can't tell when that will be (hope in the next few days).
Cheers
SnyTek
Re: Upgrade from version 1.0.4 to 1.2
Posted: Sun Oct 21, 2007 4:54 am
by sayitlikeitis
I jumped in and splash - I have a problem. Here's what I've done:
I was on v1.0.5 and upgraded to 1.0.6 (no problem).
I upgraded to 1.0.7 and then 1.0.8 (no problems).
There was only an install for v1.1 so went ahead and did that, and the installation routine went okay but when I tried to open my site it displayed the site header but no other content and in its place displayed the following:
Fatal error: Call to undefined function
cleanparamhash()
in /home/nkneewul/public_html/lib/classes/class.module.inc.php
on line 1505
I thought, nothing to loose now. So, I installed v1.2 and that seemed to go okay too to but unfortunately displayed the same error.
Re: Upgrade from version 1.0.4 to 1.2
Posted: Mon Oct 22, 2007 10:34 am
by sayitlikeitis
Sorry to take over your post SnyTek. I think I best clear out and start my own. I belive my error may have been me forgeting to set permissions as described in Step 4, Quick Install via FTP.
Re: Upgrade from version 1.0.4 to 1.2
Posted: Mon Oct 22, 2007 6:17 pm
by SnyTek
No problem sayitlikeitis. It's definitly related to my topic

.
Re: Upgrade from version 1.0.4 to 1.2
Posted: Mon Nov 05, 2007 1:55 pm
by Rulle
Hi there.
I am running version 1.04 on my server, but my host has closed my site due to spamming!? And they mention my CMS as a possible reason, therefore i have to update it before they will open it again. But then the big question is: Do i have to take all the updates from 1.04 to 1.2 one by one? Or can i just download 1.2 and overwrite all files and run upgrade script?
I have made a lot of changes in stylesheets and various other things, how about them? I dont want to start all over again on my site.
It's a danish site, and the laungage is danish on the site. Will i have to make that change again?
I use the following addons: Guestbook, Album & News.
/Martin
Re: Upgrade from version 1.0.4 to 1.2
Posted: Mon Nov 05, 2007 6:00 pm
by Dr.CSS
Just copy over existing folders/files and run upgrade it won't touch any changes to DB stylesheets templates etc...
Will also keep your lang preferences...
Re: Upgrade from version 1.0.4 to 1.2
Posted: Wed Nov 07, 2007 6:37 pm
by Pierre M.
Please read the "
proper steps for upgrading" to 1.2.
Pierre M.
Re: Upgrade from version 1.0.4 to 1.2
Posted: Wed Nov 07, 2007 6:42 pm
by RonnyK
The installation/upgrade to 1.2 is done using the full package, so no diff-file.
Be aware that starting CMSMS 1.1 and you'll cross that line, news templates are DB-driven, so any changes that you've made to the summary-template and the detail-template of News will be gone. If changed, store them and put them back in after the installation.
Basically,
- store news-templates (if changed)
- BACKUP
- Transfer full package over current
- run domain/install/upgrade.php
- restore news-templates
Ronny
Re: Upgrade from version 1.0.4 to 1.2
Posted: Thu Nov 08, 2007 3:04 am
by Dr.CSS
You will find the steps for reusing any news summary/detail templates that you may have customized and called in your news tag from the news/templates folder...