Page 1 of 1

Upgrade - Failing on tab 5

Posted: Tue Jul 30, 2013 8:46 pm
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.

Re: Upgrade - Failing on tab 5

Posted: Tue Jul 30, 2013 9:12 pm
by Jo Morg
amccomis wrote:Is there any known / foolproof ways to get this to work?
Recommended upgrade procedure from old versions...
HTH

Re: Upgrade - Failing on tab 5

Posted: Wed Jul 31, 2013 12:52 am
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. :)

Re: Upgrade - Failing on tab 5

Posted: Wed Jul 31, 2013 1:00 am
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. :)

Re: Upgrade - Failing on tab 5

Posted: Thu Aug 01, 2013 6:20 pm
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. :)

Re: Upgrade - Failing on tab 5

Posted: Thu Aug 01, 2013 6:22 pm
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";

Re: Upgrade - Failing on tab 5

Posted: Thu Aug 01, 2013 9:27 pm
by Rolf
Does the website use third party modules?

Re: Upgrade - Failing on tab 5

Posted: Sat Aug 03, 2013 4:19 am
by amccomis
Rolf wrote:Does the website use third party modules?
Just one for an image gallery if I am seeing it correctly.

Re: Upgrade - Failing on tab 5

Posted: Sat Aug 03, 2013 9:08 am
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