SimplePortal

Support => English Support => Topic started by: ibab on July 02, 2011, 07:32:53 AM

Title: [HELP] Problem with footer
Post by: ibab on July 02, 2011, 07:32:53 AM
SMF Version: 2.0

This error displays in my forums footer.
Code: [Select]
Fatal error: Call to undefined function FFCopyright() in /data/web/virtuals/7962/virtual/www/subdom/forums/Sources/Load.php(2170) : eval()'d code on line 327
I went to the index.template.php line 327.
Code: [Select]
   <div id="footer">
      <div class="wrapper">
         <div class="smf_copyright">
            <span>', theme_copyright(), FFCopyright(), '</span>';

            // Show the load time?
            if ($context['show_load_time'])
            echo '
               <p class="loadtime smalltext">', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], '</p>';

And then went to the load.php line 2170.
Code: [Select]
// Are we going to use eval?
if (empty($modSettings['disableTemplateEval']))
{
$file_found = file_exists($filename) && eval('?' . '>' . rtrim(file_get_contents($filename))) !== false;
$settings['current_include_filename'] = $filename;
}
else
{
$file_found = file_exists($filename);

if ($once && $file_found)
require_once($filename);
elseif ($file_found)
require($filename);
}

if ($file_found !== true)
{
ob_end_clean();
if (!empty($modSettings['enableCompressedOutput']))
@ob_start('ob_gzhandler');
else
ob_start();

if (isset($_GET['debug']) && !WIRELESS)
header('Content-Type: application/xhtml+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));

I don't myself find what is wrong with it and why doesn't it show the footer. So what I need to do to get the footer working yet again?
I tried to search help regarding to this from the SMF forums, but they recommended me to search help from here since I think it fails to load the SimplePortal credits and also leaves other credits away.
Title: Re: [HELP] Problem with footer
Post by: AngelinaBelle on July 25, 2011, 11:58:41 AM
FFCopyright is not part of SimplePortal.
Is this part of a custom template, or did some mod add this?
SimplePortal 2.3.8 © 2008-2024, SimplePortal