Dragged something by mistake?
Posted: Fri Apr 17, 2020 8:19 pm
While working within CPanel on my ISP, I think I dragged some file or folder without noticing. Now I have nothing on the screen, no error when I go on the site. I poked at index.php and it seems to break here at $tpl->fetch();:
After the line echo "test 0<br>", nothing happens
How can I troubleshoot this?
Code: Select all
else {
debug_buffer('process template top');
$tpl_id = $contentobj->TemplateId();
$top = $body = $head = null;
\CMSMS\HookManager::do_hook('Core::PageTopPreRender', [ 'content'=>&$contentobj, 'html'=>&$top ]);
echo "test -1<br>";
$tpl = $smarty->createTemplate('tpl_top:'.$tpl_id,$cache_id);
[color=#BF0040]echo "test 0<br>";[/color]
$top .= $tpl->fetch();
echo "test1<br>";
unset($tpl);
echo "test2<br>";
\CMSMS\HookManager::do_hook('Core::PageTopPostRender', [ 'content'=>&$contentobj, 'html'=>&$top ]);
echo "test3<br>";
// if the request has a mact in it, process and cache the output.
preprocess_mact($contentobj->Id());
How can I troubleshoot this?