boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Template.functions.php error

 
Post new topic   Reply to topic    boardom Forum Index -> Template help
View previous topic :: View next topic  
Author Message
Nackereia



Joined: 06 Mar 2004
Posts: 6

PostPosted: Sat Mar 06, 2004 11:57 pm    Post subject: Template.functions.php error Reply with quote

"Fatal error: Cannot redeclare the_content() (previously declared in /home/leslie/public_html/heidi/b2-include/b2template.functions.php:2) in /home/leslie/public_html/heidi/b2-include/b2template.functions.php on line 298"

Is what my site says.

Code:
function the_content($more_link_text='(more...)', $stripteaser=0, $more_file='') {
   $content = get_the_content($more_link_text,$stripteaser,$more_file);
   $content = convert_bbcode($content);
   $content = convert_gmcode($content);
   $content = convert_smilies($content);
   $content = convert_chars($content, 'html');
   $content = apply_filters('the_content', $content);
   echo $content;
}


The } is on line 298. Does anyone here know what the problem seems to be? :/ I tried installing the friends to auto link thing, and since it didn't work, I tried uninstalling it and replacing the edited files with the brand new B2 files from the site. Could it be something I did? Or did something not get re-edited? Please, help!
Back to top
View user's profile Send private message Visit poster's website
Nackereia



Joined: 06 Mar 2004
Posts: 6

PostPosted: Sun Mar 07, 2004 12:18 am    Post subject: Reply with quote

Never mind, I think i'm just going to re-install B2...though I would like to know what the problem was
Back to top
View user's profile Send private message Visit poster's website
Timi



Joined: 23 Jul 2003
Posts: 86
Location: Hungary

PostPosted: Sun Mar 07, 2004 11:14 am    Post subject: Reply with quote

You must have modified something in the config file, that's when it gives such errors about header etc
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Template help All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group