Page 1 of 3
[SOLVED] Upgrading from 1.6.3
Posted: Sun Oct 18, 2015 9:45 pm
by stevenryals
Hi all.
Helping a friend upgrade.
Currently on 1.6.3.
Looking at the upgrade page, it seems to only have the option for upgrading 1.6.7. Is there an upgrade package for 1.6.3?
And how much is it for assistance on this project ?
-Steven
Re: Upgrading from 1.6.3
Posted: Mon Oct 19, 2015 8:13 am
by velden
The mentioned versions are the latest of those 'major' versions. So latest of 1.6.x, latest of 1.7.x etc
Make sure you have a backup of files and database before upgrading!
You can first upgrade to 1.6.7 using the diff packages (no need to do database updates):
cmsmadesimple-base-diff-1.6.3-1.6.5.tar.gz or cmsmadesimple-full-diff-1.6.3-1.6.5.tar.gz
then
cmsmadesimple-base-diff-1.6.5-1.6.6.tar.gz or cmsmadesimple-full-diff-1.6.5-1.6.6.tar.gz
then
cmsmadesimple-base-diff-1.6.6-1.6.7.tar.gz or cmsmadesimple-full-diff-1.6.6-1.6.7.tar.gz
Full has a lot of extra language file
Base is English only
BTW: I would expect that using
cmsmadesimple-1.6.7-base.tar.gz or cmsmadesimple-1.6.7-full.tar.gz
to overwrite your installation would have the same effect (remove 'install' folder afterwards)
Of course you need to check system requirements and 3rd party module dependencies too.
Re: Upgrading from 1.6.3
Posted: Mon Oct 19, 2015 8:27 am
by Rolf
Re: Upgrading from 1.6.3
Posted: Mon Oct 19, 2015 12:16 pm
by stevenryals
Thanks guys, that's exactly the help I needed.
Too bad I can't skip all the subsequent versions and go straight to the latest.. looks like 5 or 6 upgrades to get where they need to be :0
Re: Upgrading from 1.6.3
Posted: Mon Oct 19, 2015 12:37 pm
by Rolf
It depends on the third party modules you use on the website...
Re: Upgrading from 1.6.3
Posted: Mon Oct 19, 2015 1:22 pm
by stevenryals
I'll be patient and go one by one.
I just loaded the 1.6.7 files and my site says:
Site down for maintenance.
Also: many of the admin functions are broken:
system verification > "Smarty error: unable to read resource: "checksum.tpl""
they all say "smarty error... unable to read xxxxxxx.tpl"
Any clues here?
Re: Upgrading from 1.6.3
Posted: Mon Oct 19, 2015 1:33 pm
by Jo Morg
stevenryals wrote: just loaded the 1.6.7 files (...)
And how did you do that? FTP?
Re: Upgrading from 1.6.3
Posted: Mon Oct 19, 2015 1:43 pm
by stevenryals
I'm sorry, yes, FTP. I extracted the files from the 1.6.7 Base tar to my local machine and pushed them to my FTP client.
I'm currently scouring the site to find the details of how to run the checksum test, but not having much luck. I'm assuming, from what I've been reading, that this should be my next step.
(FYI Admin > System Information give me:
string(55) "Smarty error: unable to read resource: "systeminfo.tpl"" )
Re: Upgrading from 1.6.3
Posted: Mon Oct 19, 2015 2:03 pm
by velden
FTP:
Note: Be sure to upload the installer file in "binary" mode. Do not chose "auto" or ASCII.
source: http://docs.cmsmadesimple.org/installation/upload-files
Not doing so can result in many corrupt files.
Just find the binary mode option of your FTP client and upload agina (make sure to overwrite all files)
Re: Upgrading from 1.6.3
Posted: Mon Oct 19, 2015 3:13 pm
by stevenryals
Cool.. I wouldn't have found that.
Reverted to 1.6.3. Still some errors, but able to get on admin without those *.tpl access issues..
Uploaded 1.6.7 files via binary ftp (filezilla)
ran 1.6.7 checksup : All checksums match those in the uploaded file
Template is destroyed lol
site is saying "site down for maintenenace", however, Site Admin > Global Settings: shows that enable system down messgae is not selected.. hmmmmm.....
Re: Upgrading from 1.6.3
Posted: Mon Oct 19, 2015 3:16 pm
by velden
- Clear CMSMS cache
- check for existence of \tmp\cache\SITEDOWN (file) and remove it
Re: Upgrading from 1.6.3
Posted: Mon Oct 19, 2015 4:47 pm
by stevenryals
OK, i'm up to 1.12.1 now. I guess that's the most up to date I can get until the upgrade package is release, correct?
The site now says:
Oops!
Sorry, it looks like something went wrong and an error has occurred.
Don’t worry, it can happen to any of us.
Error: at line 28 in file /home/ucruise/public_html/lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php:
Syntax error in template "tpl_body:25" on line 28 "
" unknown tag "site_selflink"
Where are all of the tags located? I have a feeling I know what it is.. the previous host prefixed with cms_ the new host prefixes with site_
ETA: Yes, that's it. under Extensions > Tags, it still has the prefix 'cms_' while the error indicates a different prefix..
is it better to correct the tag, or the files containing the other tag?
p.s. it is also the prefix to my database... so that is likely when the error occurred and a grep replace... so i think this is something i can fix with an sql comand, just need to know where all of those tags are located (or the smarty files that call them)
Re: Upgrading from 1.6.3
Posted: Mon Oct 19, 2015 6:27 pm
by stevenryals
OK, so I went through and dropped the entire db..
rebuilt old db.. replacing the prefixes where needed..
I'm so close I think.. lol
It seems there is a custom tag somewhere..
Syntax error in template "tpl_body:29" on line 1126 "{news category='Vacation Blog' pagelimit='4' detailpage='vacation-blog'}" unknown tag "news"
the 'news' tag does not exist under Extensions > Tags or User Defined Tags. When i try to add the 'news' tag to UDTs, it says "Tag Already Esists"
Any idea how I can solve this error?
ETA: News tag is from the 'news' module.. so it should be working. it's upgraded and current and active.. any thoughts?
eta: found some css in the global content block.. it wasn't malformed.. but cms certainly didnt like it.. move it.. and it worked.
---------------------------
Re: Upgrading from 1.6.3
Posted: Mon Oct 19, 2015 6:56 pm
by stevenryals
Final issue.... i think..
I have changed to the new oneEleven template for latest functionality.
I have a few issue:
when i go to Content > Pages > Edit Page, i am directed to: 'editcontent.php?_sx_=76deaee6&content_id=15'
However, i get a 404 error at that page.
(on the old grey template, I get the page, but there is no edit wysiwig box there...)
I get the same 404 error page when i try to Add New Content (addcontent.php?_sx_=76deaee6)
Any thoughts on how to relieve this final issue (hopefully it's the last problem until the upgrade to 2.x.x is available.

Re: Upgrading from 1.6.3
Posted: Mon Oct 19, 2015 7:11 pm
by Dr.CSS
Make sure any template used on pages have the old {stylesheet} tag changed to the new {cms_stylesheet} tag...