Page 1 of 2
after upgrading version # stays 1.0.2
Posted: Wed Mar 07, 2007 9:33 am
by Gregor
Hello,
After upgrading from 1.0.2 to 1.0.4 the version # stays 1.0.2 The upgrade went without any problems.
Anyone a suggstion what this might be?
Thanks,
G
Re: after upgrading version # stays 1.0.2
Posted: Wed Mar 07, 2007 11:48 am
by Pierre M.
Gregor wrote:
...The upgrade went without any problems.
Which upgrade procedure have you followed ? (link?)
Have you cleared your cache at the end ?
Pierre M.
Re: after upgrading version # stays 1.0.2
Posted: Wed Mar 07, 2007 12:44 pm
by Gregor
Thanks for your reply.
I did
www.uisge-beatha.eu/install/upgrade.php
By now, the install-directory is now longer available for the outside world. I also cleared the cache and the /tmp directory.
G.
Re: after upgrading version # stays 1.0.2
Posted: Wed Mar 07, 2007 12:53 pm
by RonnyK
Gregor,
I just passed by your site again and noticed the "Home page, shortcut key" message while hovering your header. This can be removed or changed, by changing the text on the options page of your homepage. The message there is being displayed. Or if empty, the name of your homepage.
How did you see that the version is 1.0.2. in your footer? Did you check wether the "GCB" "footer" or the "UDT" "custom_copyright" is filled. I'm not sure if {cms_version} is used or if 1.0.2 is coded in one of them.
Ronny
Re: after upgrading version # stays 1.0.2
Posted: Wed Mar 07, 2007 1:19 pm
by Gregor
Thanks Ronny for the improvement
The text of the footer is:
© Copyright 2006 - 2007 Gregor
This site is powered by CMS Made Simple version {cms_version} | {cms_selflink page='sitemap' text='Sitemap'}
It is not in the UDT's, or coded anywhere else. Allthough it is just a number, I'm more concerned if the upgrade went well.
G
EDIT: I just ran
SQL-query:
SELECT *
FROM `cms_version`
WHERE 1
LIMIT 0 , 30
As result I got 25.
When upgrading, I copied the new versio files into the install-directory, having overwrite the original files. The result from the upgrade:
Welcome to the CMS Upgrade System!
In order to upgrade properly, upgrade needs to have write access to your config.php file. This is so any extra settings that have been introduced in this version can be set to their defaults.
Upgrading config.php...[done]
Cleaning cache dirs...[done]
Please review config.php, modify any new settings as necessary and then reset it's permissions back to a locked state. You should also check that all of your modules are up to date, by going to the Extensions -> Modules page and looking for any listed as 'Needs Upgrade'.
The CMS database is up to date using schema version 25. Please remove this file when possible. Click here to go to your CMS site.
Does this help?
Re: after upgrading version # stays 1.0.2
Posted: Wed Mar 07, 2007 6:40 pm
by Pierre M.
The link I asked for is a link to the manual/doc/upgrade procedure text explainations, to try to understand where you started from and what you have done so far.
If the version number is not hardcoded in a UDT or GCB but the output of {cms_version}, could it be that what defines {cms_version} was not well FTP uploaded ?
BTW you haven't confirmed that you have cleared the cache.
Pierre M.
Re: after upgrading version # stays 1.0.2
Posted: Wed Mar 07, 2007 7:49 pm
by Gregor
@Pierre:
- set the various directoy rights (including config.php)
- I copied the files from the diff-tar into the according directories
- started the upgrade procedure
- set the various rights
The version number is not hard coded, as far as I have seen.
I cleared the cache before upgrading.
Gregor
Re: after upgrading version # stays 1.0.2
Posted: Thu Mar 08, 2007 12:05 pm
by Pierre M.
Hello Gregor,
I didn't know these diff-tar. Thank you for the discovery.
I can't think of anything wrong about what you have done. May be the diff-tar is wrong ?
Pierre M.
Re: after upgrading version # stays 1.0.2
Posted: Thu Mar 08, 2007 6:53 pm
by Dee
Gregor wrote:
The version number is not hard coded, as far as I have seen.
Check version.php in your CMSMS root.
Regards,
D
Re: after upgrading version # stays 1.0.2
Posted: Thu Mar 08, 2007 6:57 pm
by Dee
I checked the 1.0.2-1.0.4 and 1.0.3-1.0.4 diff tarballs and both have a correct version.php included.
Maybe the file didn't get overwritten correctly?
Regards,
D
Re: after upgrading version # stays 1.0.2
Posted: Thu Mar 08, 2007 8:14 pm
by Gregor
You're right Dee, I guess the file did not get overwritten. I've set the first two variables according to version 1.0.4 Should I set
$CMS_SCHEMA_VERSION = "25";
to 27??
Thanks for your support!
G
Re: after upgrading version # stays 1.0.2
Posted: Thu Mar 08, 2007 8:26 pm
by RonnyK
Gregor,
this post is also about versions remaining 25 after upgrading.
http://forum.cmsmadesimple.org/index.ph ... 379.0.html
Ronny
Re: after upgrading version # stays 1.0.2
Posted: Thu Mar 08, 2007 8:31 pm
by Dee
Indeed, the schema version should be 27:
Code: Select all
$CMS_VERSION = "1.0.4";
$CMS_VERSION_NAME = "Lanai";
$CMS_SCHEMA_VERSION = "27";
Upload the install directory from the 1.0.4 package and run /install/upgrade.php to complete the upgrade (to schema version 27).
Regards,
D
Re: after upgrading version # stays 1.0.2
Posted: Thu Mar 08, 2007 8:34 pm
by Dee
Dee wrote:
Upload the install directory from the 1.0.4 package
Since you're using the diff package: you can also use the install directory from the 1.0.2-1.0.4 diff.
Re: after upgrading version # stays 1.0.2
Posted: Thu Mar 08, 2007 8:55 pm
by Dee
Maybe it's a good idea to re-upload all (the other) files from the diff-tar (too), making sure they get overwritten/uploaded properly (and run upgrade.php).
Regards,
D