Undefined class name 'contentmanager'

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
lrsatlanta

Undefined class name 'contentmanager'

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

Re: Undefined class name 'contentmanager'

Post 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.
Last edited by Anonymous on Fri Aug 25, 2006 11:07 am, edited 1 time in total.
Locked

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