Upgrade - Failing on tab 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
amccomis
New Member
New Member
Posts: 4
Joined: Tue Jul 30, 2013 8:40 pm

Upgrade - Failing on tab 5

Post by amccomis »

I'm on apache 2, on shared DreamHost, with PHP 5.2.17 (their 5.3.x has output buffering disabled, and I'm just trying to get this upgrade done first!)

The site ... is an old one ... it was on 0.16. Not by choice - I inherited this, and it was mostly static -- as long as it worked, they didn't touch it. Now I've had to come in and move it, and I have no luck getting the upgrade to run.

Here's as far as I get (I've added &debug=1 to the upgrade.php):

Code: Select all

Adding hierarchy_path field to content table...[done]
Updating hierarchy positions...
Fatal error: Call to undefined method CMSInstallerPage5::SetHierarchyPosition() in /home/me/thesite.com/lib/classes/class.contentoperations.inc.php on line 511
I know that a 0.xx version is not supported, hence trying to upgrade to current...

Is there any known / foolproof ways to get this to work?

I have original files / backups of the original site, but they spew errors on "newish" PHP versions, and that older host is no longer up.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1974
Joined: Mon Jan 29, 2007 4:47 pm

Re: Upgrade - Failing on tab 5

Post by Jo Morg »

amccomis wrote:Is there any known / foolproof ways to get this to work?
Recommended upgrade procedure from old versions...
HTH
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: Upgrade - Failing on tab 5

Post by paulbaker »

0.16? I don't see that on the list of old versions.

If there are a small number of pages only, consider starting a fresh latest-version CMSMS instance and creating the pages, copying the contents over. Might be quicker than upgrading from that far back?

Liking that new docs page Jo. :)
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1974
Joined: Mon Jan 29, 2007 4:47 pm

Re: Upgrade - Failing on tab 5

Post by Jo Morg »

paulbaker wrote:Liking that new docs page Jo.
Hehe! Not my doing... I think it's Rolf's if I'm not wrong. But, in fact, the new docs site is awesome. :)
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
amccomis
New Member
New Member
Posts: 4
Joined: Tue Jul 30, 2013 8:40 pm

Re: Upgrade - Failing on tab 5

Post by amccomis »

paulbaker wrote:0.16? I don't see that on the list of old versions.

If there are a small number of pages only, consider starting a fresh latest-version CMSMS instance and creating the pages, copying the contents over. Might be quicker than upgrading from that far back?

Liking that new docs page Jo. :)

Wait. My bad. 0.12, and here's the version.php relevant sections:

Code: Select all

#CMS - CMS Made Simple
#(c)2004 by Ted Kulp (wishy@users.sf.net)
#This project's homepage is: http://cmsmadesimple.sf.net
#
#This program is free software; you can redistribute it and/or modify
...(snip...)
#$Id: version.php 2667 2006-03-25 16:33:48Z wishy $

$CMS_VERSION = "0.12.1";
$CMS_VERSION_NAME = "Savusavu";
$CMS_SCHEMA_VERSION = "18";
Like I said - REALLY old. :)
amccomis
New Member
New Member
Posts: 4
Joined: Tue Jul 30, 2013 8:40 pm

Re: Upgrade - Failing on tab 5

Post by amccomis »

My bad --

It was actually version 0.12.1 -- here's the relevant section from existing version.php:

Code: Select all

#CMS - CMS Made Simple
#(c)2004 by Ted Kulp (wishy@users.sf.net)
#This project's homepage is: http://cmsmadesimple.sf.net
#$Id: version.php 2667 2006-03-25 16:33:48Z wishy $

$CMS_VERSION = "0.12.1";
$CMS_VERSION_NAME = "Savusavu";
$CMS_SCHEMA_VERSION = "18";
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Upgrade - Failing on tab 5

Post by Rolf »

Does the website use third party modules?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
amccomis
New Member
New Member
Posts: 4
Joined: Tue Jul 30, 2013 8:40 pm

Re: Upgrade - Failing on tab 5

Post by amccomis »

Rolf wrote:Does the website use third party modules?
Just one for an image gallery if I am seeing it correctly.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Upgrade - Failing on tab 5

Post by Rolf »

An 1.11+ upgrade failing at step 5 indicates a problem with a add-on module...
Rename the module folder, like
/modules/yourmodule/ to /modules/yourmodule_temp
And finish the CMSMS upgrade.

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Locked

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