Thanks, Andi. I have access to the error log and think this is the error:
PHP Fatal error: Call to undefined function: tpl_toc() in /vol2/apache/htdocs/cwsec/inc/actions.php on line 396
and here is that section of inc/actions.php with line 396 marked with a ">>>" in front
// html export #FIXME what about the template's style?
if($act == 'export_xhtml'){
global $conf;
global $lang;
header('Content-Type: text/html; charset=utf-8');
ptln('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"');
ptln(' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
ptln('<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="'.$conf['lang'].'"');
ptln(' lang="'.$conf['lang'].'" dir="'.$lang['direction'].'">');
ptln('<head>');
ptln(' <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />');
ptln(' <title>'.$ID.'</title>');
tpl_metaheaders();
ptln('</head>');
ptln('<body>');
ptln('<div class="dokuwiki export">');
$html = p_wiki_xhtml($ID,$REV,false);
>>> tpl_toc();
echo $html;
ptln('</div>');
ptln('</body>');
ptln('</html>');
exit;
}
I made this website 2 years ago and haven't done much with dokuwiki since, so I'm not sure where to go with this information ...