TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 17, 2024, 12:28:46 PM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,189
  • Total Topics: 21,220
  • Online today: 59
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 53
  • Total: 53

Run SMF "repair_settings.php" to fix my problem?

Started by ken.kimbrell, September 14, 2006, 09:54:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

G6Cad


Ken.

#31
Quote from: Mrs G6 on September 18, 2006, 12:35:56 PM
On line 358 remove the ';

Thanks Mrs G6
That gets the page(s) to load using the 'mod'ed' index.template.php.
So far I am finding an extra button on the nav bar, 'Forum'... both the Home & Forum buttons lead to the forum index page.
And the following error messages at the bottom of each page:
Quote
class="smalltext"> Powered by SMF 1.1 RC3 | SMF ÂÃ,© 2001-2006, Lewis Media
... the 'class="smalltext">' appears next to the SMF copyright as shown, the copyright itself look normal.


Fatal error: Call to undefined function: tportal_version() in /homepages/46/d100556969/htdocs/mykimbrell/FamilyForum/Sources/Load.php(1703) : eval()'d code on line 452

This is the code that is in the file, starting at line #435
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo '

<div id="footerarea" style="text-align: center; padding-bottom: 1ex;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
function smfFooterHighlight(element, value)
{
element.src = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif";
}
// ]]></script>
<table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
<tr>
<td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'right' : 'left', '">
<a href="http://www.mysql.com/" target="_blank"><img id="powered-mysql" src="', $settings['images_url'], '/powered-mysql.gif" alt="', $txt['powered_by_mysql'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://www.php.net/" target="_blank"><img id="powered-php" src="', $settings['images_url'], '/powered-php.gif" alt="', $txt['powered_by_php'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
<td valign="middle" align="center" style="white-space: nowrap;"> class="smalltext">
', theme_copyright(), ' <br />', tportal_version() , '

</td>

<td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'left' : 'right', '">
<a href="http://validator.w3.org/check/referer" target="_blank"><img id="valid-xhtml10" src="', $settings['images_url'], '/valid-xhtml10.gif" alt="', $txt['valid_xhtml'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img id="valid-css" src="', $settings['images_url'], '/valid-css.gif" alt="', $txt['valid_css'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
</tr>
</table>';
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

Ken.

#32
I fixed the "class="smalltext"> Powered by SMF 1.1 RC3 | SMF ÂÃ,© 2001-2006, Lewis Media" error, found text size command on the next line above (251) and closed the command by adding the missing '<'.

Slowly but surely I'm learning a little.  :o

[edit]on the line 452 error that is displayed at the bottom of each page, is it wanting to see the TP install now??? if so it's not yet installed.[/edit]
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

Xarcell

the "theme" will give an error if you have the TP copyright in it, but TP not installed.

redone

I would personally uninstall your mods and TP for that matter and start again! Start from a clean copy of SMF with no mods and then install TP, then begin installing your mods.

Remember though the more mods you install the higher the chances of you breaking what you have so make sure you really want or need these mods before you install them.