Somehow i broke my forum. I was installing a few mods and somehow broke it. Here is the error message i get: http://www.natschat.com/forum/ Im not a programmer so im pretty lost with it right now. I appreciate any help you can provide. Thanks.
open /home/natschat/public_html/forum/Sources/Subs.php and look at the lines 1852 and 1883 there has to be something like this: theme_seocopyright() { code } copy the two codes here, including theme_seocopyright() { }
What program should i use to open the php file? I have been using windows notepad but that doesnt tell me the line number. Thanks for your help in advance.
you have to delete this // Show the SMFSEO copyright... function theme_seocopyright($get_it = false) { global $forum_seocopyright, $context, $boardurl, $forum_version, $txt; static $foundseo = false; // Meaning, this is the footer checking in.. if ($get_it === true) return $foundseo; echo ' <span class="smalltext" style="display: inline; visibility: visible; font-family: Verdana, Arial, sans-serif;">'; if ($get_it == 'none') { $foundseo = true; echo ' The administrator doesn\'t want a copyright notice saying this software is copyright 2006 by <a href="http://www.smfseo.org/" target="_blank">SMFSEO.org</a>, funded by a <a href="http://www.mortgagesearchlive.com/">mortgage</a> broker and implemented by the <a href="http://mytreo.net/">treo</a> smartphone guy, so the forum will honor this request.'; } // If it's in the seo copyright, and we are outputting it... it's been found. elseif ((strpos($forum_seocopyright, '<a href="http://www.mortgagesearchlive.com/">mortgage</a>') !== false || strpos($forum_seocopyright, '<a href="http://www.mortgagesearchlive.com/" target="_blank">mortgage</a>') !== false) && (strpos($forum_seocopyright, '<a href="http://mytreo.net/">treo</a>') !== false || strpos($forum_seocopyright, '<a href="http://mytreo.net/" target="_blank">treo</a>') !== false)) { $foundseo = true; echo $forum_seocopyright; } echo ' </span>'; } PHP:
That sorta worked thanks. I am not getting an error on the page, but the page is entirely blank: http://www.natschat.com/forum/ Although some of the inner pages seem to work. such as: http://www.natschat.com/forum/index.php?action=admin I dont get it. What should i do now? Thanks for your help.
i don`t know the problem. when i first visited the forum, it worked. i refreshed the page and got some error, i refreshed again and see the page blank. i`m sorry i have`t copied the errors so i can see what are them about
I get this when I go to your boards, Sorry, the SMFSEO copyright must be in the template. Fix it ASAP, as your forum appears to be in it's initial stage and this will only give a bad impression about the boards!
Aaargh. Any programmers here want to take a look into my forums? I cant pay ya much, but ill definitely sing your praises around the DP forums.
Woohoo i fixed it!!!! I replaced most of the files with the default files and things appear to be working now. Thanks to everyone who tried to help. Thank god i got it working again, that was driving me nuts.