View previous topic :: View next topic |
Author |
Message |
Nackereia
Joined: 06 Mar 2004 Posts: 6
|
Posted: Sat Mar 06, 2004 11:57 pm Post subject: Template.functions.php error |
|
|
"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 |
|
 |
Nackereia
Joined: 06 Mar 2004 Posts: 6
|
Posted: Sun Mar 07, 2004 12:18 am Post subject: |
|
|
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 |
|
 |
Timi
Joined: 23 Jul 2003 Posts: 86 Location: Hungary
|
Posted: Sun Mar 07, 2004 11:14 am Post subject: |
|
|
You must have modified something in the config file, that's when it gives such errors about header etc |
|
Back to top |
|
 |
|