Newbie question - upgrade from 1.2.5?

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Pance
Forum Members
Forum Members
Posts: 15
Joined: Wed Oct 06, 2010 5:47 pm

Newbie question - upgrade from 1.2.5?

Post by Pance »

I'm new to CMS Made Simple. The project I've inherited is ver 1.2.5 "Free Hill".

Any pitfalls I should know about before upgrading to the latest version 1.8.2?

Is there a smple guide for upgrading?

Thanks

Pance
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Newbie question - upgrade from 1.2.5?

Post by Dr.CSS »

Back up DB and folders/files...

Install xampp on your computer, import DB into it, put folders/files in htdocs, change config.php paths to DB and other paths, or put 1.2.5 install folder in and run it but on STEP 5 DON'T CREATE TABLES OR INSTALL DEFAULT CONTENT and it will fix paths...

Then upgrade it to see if you will have any problems, mostly it will likely be that some 3rd party modules will have to be upgraded...

These pages may help you...

http://wiki.cmsmadesimple.org/index.php/User_Handbook
Pance
Forum Members
Forum Members
Posts: 15
Joined: Wed Oct 06, 2010 5:47 pm

Re: Newbie question - upgrade from 1.2.5?

Post by Pance »

I don't understand - why would I run the 1.2.5 installer???

I made a backup of the MySQL DB.

Now - can I go ahead and download the latest version and unzip it?

Pance
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Newbie question - upgrade from 1.2.5?

Post by Wishbone »

Pance wrote: I don't understand - why would I run the 1.2.5 installer???
Always a good idea to test it on the side first. He's suggesting that you re-create it locally, make sure it's working, then upgrade. Then do the same to your live server. What I do is re-create it in a side folder in my hosting account, upgrade it, test it, then make that side install active.
Pance
Forum Members
Forum Members
Posts: 15
Joined: Wed Oct 06, 2010 5:47 pm

Re: Newbie question - upgrade from 1.2.5?

Post by Pance »

good news - it worked. Here are the steps:

1. as usual - always make a backup. I made two different kinds of backup of the MySQL datrabase and all the source PHP files.

2. wget the latest version of CMS:
$last_line = system('wget http://s3.amazonaws.com/cmsms/downloads ... ull.tar.gz', $retval);

2. untar it:
$last_line = system("tar -zxvf cmsmadesimple-1.8.2-full.tar.gz", $retval);

3. chmod config.php to 666

4. run the upgrade:
_____/install/upgrade.php

5. in my case the wizard gave me a check mark on everything except a few cautions, but I said proceed anyway.

6. check out the website - in my case everything was fine.

7. delete the install folder

8. chmod config.php to 444 or 644

chio bella...
baresi
Forum Members
Forum Members
Posts: 129
Joined: Fri Jul 27, 2007 4:15 pm

Re: Newbie question - upgrade from 1.2.5?

Post by baresi »

Went straight to 1.8.2 from 1.2.5?  :o

;)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Newbie question - upgrade from 1.2.5?

Post by Dr.CSS »

I upgraded a site from 1.0 to 1.8.2 yesterday, no problems...

Of course if you have certain modules installed or you use the old news template way you will have to do a little more work after your done, like one I did used the old news template way and I just copied them into news and changed the news tag call and was good to go...
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Newbie question - upgrade from 1.2.5?

Post by Wishbone »

Dr. CSS. I have a silly question.. I have a total of 5 or 6 CMSMS sites out there, mostly on 1.6.6.. Not too many and not too much effort to update them all. I'm assuming that you have many more sites using this CMS. When there is a new update, especially a security update, do you then spend a month updating them all? Do you do this as part of the package that the client paid for, or charge them for this? Or do you usually just leave a site on the version that you designed it with?
cyberman

Re: Newbie question - upgrade from 1.2.5?

Post by cyberman »

In german forum area someone has coded a script for version check, uploading new version and installing

http://forum.cmsmadesimple.org/index.ph ... 472.0.html

Really useful ... maybe you can read it via Google translator (or similar).
Locked

Return to “[locked] Installation, Setup and Upgrade”