Website: ImageWorksVeterinary.com
Background: We acquired this website through a purchase and we are putting it on a different webserver. I can login to the admin backend.
Problem: We cannot get the homepage to load, it has no HTML code whatsoever.
Attempts to Fix: In doing some digging: It seems the $html variable is not getting handed the code outlining the 'home' template. I'm guessing a library problem or destination problem. I can place an echo so far down until it doesn't appear anymore.
Code where it stops:
Code: Select all
$pageinfo = PageInfoOperations::LoadPageInfoByContentAlias($page);
if (isset($pageinfo) && $pageinfo !== FALSE)
{
$gCms->variables['pageinfo'] =& $pageinfo;
if( isset($pageinfo->template_encoding) &&
$pageinfo->template_encoding != '' )
{
set_encoding($pageinfo->template_encoding);
}
if($pageinfo->content_id > 0)
{
//can get here
$manager =& $gCms->GetHierarchyManager();
$node =& $manager->sureGetNodeById($pageinfo->content_id);
echo "can get here9"; //cant get here
if(is_object($node))
{
$contentobj =& $node->GetContent();
$smarty->assign('content_obj',$contentobj);
}
}