Page 1 of 1

Undefined class name 'contentmanager'

Posted: Fri Aug 25, 2006 3:17 am
by lrsatlanta
Howdy,

I am trying to upgrade from 0.12.xx to 1.0b6 and ran into the following problem:
Upgrading config.php...[done]

Cleaning cache dirs...[done]

Adding hierarchy_path field to content table...[done]

Updating hierarchy positions...
Fatal error: Undefined class name 'contentmanager' in /Library/WebServer/Documents/site/install/upgrades/upgrade.18.to.19.php on line 13
I have checked that the entire lib directory was uploaded and is accessible.  I uploaded the tar file and then untarred and copied the files over to the directory.

I am running on a G4 XServe under OS X server 10.3.  Apache 1.3.33, MySQL 4.0.24, PHP 4.3.11.

Thanks for any help.

-Lawrence

Re: Undefined class name 'contentmanager'

Posted: Fri Aug 25, 2006 10:55 am
by Dee
Paste from IRC:
12:24 Oh, the upgrade files need the static stuff taken out...
12:27 bugger.  Ok.

I was able to upgrade 0.12.1 to beta6 after changing

Code: Select all

ContentManager::SetAllHierarchyPositions();
on line 13 of install/upgrades/upgrade.18.to.19.php to

Code: Select all

$contentops = $gCms->GetContentOperations(); $contentops->SetAllHierarchyPositions();
, but if you have some older module versions installed, there's a chance after that change you get other errors.

If you have modules installed it is probably best to upgrade to beta5 first, then update all your modules and then upgrade CMSMS to beta6.

Ted is working on a full solution.