after upgrading version # stays 1.0.2

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.
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am

after upgrading version # stays 1.0.2

Post 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
Pierre M.

Re: after upgrading version # stays 1.0.2

Post 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.
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am

Re: after upgrading version # stays 1.0.2

Post 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.
Last edited by Gregor on Wed Mar 07, 2007 1:46 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: after upgrading version # stays 1.0.2

Post 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
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am

Re: after upgrading version # stays 1.0.2

Post 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?
Last edited by Gregor on Wed Mar 07, 2007 1:51 pm, edited 1 time in total.
Pierre M.

Re: after upgrading version # stays 1.0.2

Post 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.
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am

Re: after upgrading version # stays 1.0.2

Post 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
Pierre M.

Re: after upgrading version # stays 1.0.2

Post 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.
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: after upgrading version # stays 1.0.2

Post 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
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: after upgrading version # stays 1.0.2

Post 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
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am

Re: after upgrading version # stays 1.0.2

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: after upgrading version # stays 1.0.2

Post by RonnyK »

Gregor,

this post is also about versions remaining 25 after upgrading.

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

Ronny
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: after upgrading version # stays 1.0.2

Post 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
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: after upgrading version # stays 1.0.2

Post 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.
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: after upgrading version # stays 1.0.2

Post 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
Locked

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