Fatal Erorr [Need Quick HELP]

Started by mogadishu, September 24, 2005, 07:03:55 PM

Previous topic - Next topic

mogadishu

QuoteFatal error: Cannot redeclare barexp() (previously declared in /home/alexz/public_html/forum/Sources/Display.php:1304) in /home/alexz/public_html/forum/Sources/Display.php on line 1373

* I maded A Mystake  :'( [ive instaled the SMF SHOP  (is not compatible with my smf version)]
Now ..Please Help me..To Keep My Forum UP ! [ Nobudy can't Post] Because give That strange erorr...
Thanx in Advence !!!
AHost.ro- Free WebHosting & Free Domains .
AzD.Ro - Your Gambling Source !

Metho

If you can get to the package manager you can uninstall the package. Otherwise, you can upload fresh copies of the files that the mod modifies and that should solve it.
Joshua "Methonis" Frazer
Support Specialist
The Simple Machines Team

mogadishu

Other erorr[Please Help]

Template Parse Error!
There was a problem loading the /Themes/default/Display.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
--------------------------------------------------------------------------------


Parse error: parse error, unexpected T_ELSE in .../Themes/default/Display.template.php on line 458

449:             if ($context['can_send_pm'])450:                echo '451:                         <a href="', $scripturl, '?action=pm;sa=send;u=', $message['member']['id'], '" title="', $message['member']['online']['label'], '">', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/im_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '.gif" alt="' . $message['member']['online']['label'] . '" border="0" />' : $message['member']['online']['label'], '</a>';452:          }453:    //Bar of Experience Mod454:    455:    $bar_posts = $message['member']['posts'];456:    457:          // Otherwise, show the guest's email.458:       else459:          echo '460:                         <br />461:                         <br />462:                         <a href="mailto:', $message['member']['email'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt[69] . '" title="' . $txt[69] . '" border="0" />' : $txt[69]), '</a>';
AHost.ro- Free WebHosting & Free Domains .
AzD.Ro - Your Gambling Source !

Metho

That code is hard to read, because you didn't format it. If you could directly copy that code, without line numbers, and put it between the code tags, it'd be easier, but, it looks like there is a rogue '}' in there on line 452.
Joshua "Methonis" Frazer
Support Specialist
The Simple Machines Team

Advertisement: