Upgrade from version 1.0.4 to 1.2
Upgrade from version 1.0.4 to 1.2
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
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
Last edited by SnyTek on Fri Oct 19, 2007 8:17 pm, edited 1 time in total.
-
- Forum Members
- Posts: 45
- Joined: Tue Nov 28, 2006 7:46 pm
Re: Upgrade from version 1.0.4 to 1.2
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.
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.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Upgrade from version 1.0.4 to 1.2
(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.
(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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
- Forum Members
- Posts: 45
- Joined: Tue Nov 28, 2006 7:46 pm
Re: Upgrade from version 1.0.4 to 1.2
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?calguy1000 wrote: (18:48:27) calguy1000: cmsinfo: upgrade?
(18:48:27) cmsinfo:
Re: Upgrade from version 1.0.4 to 1.2
@ 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
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

@ sayitlikeitis:
I had the exaclty same thoughts about the database structure as you when posting the question

Cheers
SnyTek
-
- Forum Members
- Posts: 45
- Joined: Tue Nov 28, 2006 7:46 pm
Re: Upgrade from version 1.0.4 to 1.2
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.
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.
-
- Forum Members
- Posts: 45
- Joined: Tue Nov 28, 2006 7:46 pm
Re: Upgrade from version 1.0.4 to 1.2
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.
Last edited by sayitlikeitis on Mon Oct 22, 2007 10:46 am, edited 1 time in total.
Re: Upgrade from version 1.0.4 to 1.2
No problem sayitlikeitis. It's definitly related to my topic
.

Re: Upgrade from version 1.0.4 to 1.2
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
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
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...
Will also keep your lang preferences...
Re: Upgrade from version 1.0.4 to 1.2
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
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
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...