class.cms_tree_operations.php Error

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
wms
Forum Members
Forum Members
Posts: 204
Joined: Mon Feb 13, 2006 7:26 pm

class.cms_tree_operations.php Error

Post by wms »

Hi,

I have a site that is getting the following error message when trying to launch the site:
Error: at line 106 in file /home/kac/public_html/lib/classes/class.cms_tree_operations.php:
Below is the trace message:
#0 /home/kac/public_html/lib/classes/class.contentoperations.inc.php(104): cms_tree_operations::load_from_list(Array)
#1 /home/kac/public_html/lib/classes/internal/class.global_cachable.php(24): ContentOperations::{closure}()
#2 /home/kac/public_html/lib/classes/internal/class.global_cache.php(26): CMSMS\internal\global_cachable->fetch()
#3 /home/kac/public_html/lib/classes/class.CmsApp.php(462): CMSMS\internal\global_cache::get('content_tree')
#4 /home/kac/public_html/lib/classes/class.contentoperations.inc.php(242): CmsApp->GetHierarchyManager()
#5 /home/kac/public_html/index.php(81): ContentOperations->LoadContentFromAlias('1', true)
#6 {main}

In the Admin area, below is the error message while trying to access the Content Manager:
Problem with internal content organization... could not get a parent node for content with id 143

This site is running the latest version of CMSMS and all modules are upgraded to the latest version.

I've check the follow thread and tried this to no avail: http://dev.cmsmadesimple.org/bug/view/11612

The home page has a parent_id of -1

Any suggestions or help would be much appreciated.

Thanks,
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: class.cms_tree_operations.php Error

Post by velden »

I guess you should check the page with id = 143 in your case?
wms
Forum Members
Forum Members
Posts: 204
Joined: Mon Feb 13, 2006 7:26 pm

Re: class.cms_tree_operations.php Error

Post by wms »

Thank you for the quick reply. It was that page id 143 with the issue. The client mixed up some navigation thing he was playing around with.

I haven't played much in phpMyAdmin so I wasn't too sure what to do, but your suggestion helped.

Here is how I fixed the issue:
1) I deleted the page id 143 entry in phpMyAdmin (the page the client created with the navigational issues)
2) logged into the admin area of the site
3) System Maintenance > Cache and Content (tab) > Update page hierarchy positions (button)

And volia, that did the trick.

Thanks for the suggestion about the page id.

Issue solved.
Locked

Return to “CMSMS Core”