TinyPortal

Development => Support => Topic started by: joshkol on December 26, 2005, 02:52:42 AM

Title: Help
Post by: joshkol on December 26, 2005, 02:52:42 AM
I get this errer every time I go to a post.

Fatal error: Call to undefined function: barexp() in /home/soluhost/public_html/forums/Sources/Load.php(1642) : eval()'d code on line 423

But the number is different.

http://solution-host.com/forums/index.php?topic=47.0
Title: Re: Help
Post by: borgBOB on December 26, 2005, 06:55:15 AM
I suspect it has something to do with either the shop, or arcade mod, or possibly you have a 'bar of experience' mod.

Please list the installed mods on your board.

To remedy this you have to define this function "barexp()".
I am not sure where though.
Title: Re: Help
Post by: joshkol on December 26, 2005, 01:08:27 PM
Lots_o_Smileys
vWarn Mod
Membergroup Color Legend
OnLine Users Today
SMFShop
SMF Arcade
TinyPortal
Title: Re: Help
Post by: bloc on December 26, 2005, 07:42:49 PM
vWarn mod perhaps? its not part of TP at least.

Try to seek out that in either Display.template or index.template and remove it.
Title: Re: Help
Post by: joshkol on December 27, 2005, 12:13:39 AM
Remove what exactly?
Title: Re: Help
Post by: JayBachatero on December 27, 2005, 01:39:42 AM
Run this querry in phpmyadmin so it will return a more descriptive message.  It will change eval() to require()


INSERT INTO smf_settings VALUES ('disableTemplateEval', '1');


What message do you get after you changed that?

-JayBachatero
Title: Re: Help
Post by: joshkol on December 27, 2005, 04:35:30 AM
Fatal error: Call to undefined function: barexp() in /home/soluhost/public_html/forums/Themes/Christmas/Display.template.php on line 423

http://solution-host.com/forums/index.php?topic=46.0
Title: Re: Help
Post by: joshkol on December 30, 2005, 06:17:45 AM
Can someone please help me?
Title: Re: Help
Post by: borgBOB on December 30, 2005, 06:30:14 AM
That is telling you the "function: barexp() " is called in the "Display.template.php " file.

Can you use package manager to uninstall vWarn Mod? Then clear your error log and click on a few topics in the forum, then re-check the forum error log from SMF admin and see if it's fixed?
Title: Re: Help
Post by: borgBOB on December 30, 2005, 07:35:08 AM
A search of SMF's site shows that "Fatal error: Call to undefined function: barexp() "
is caused by a mod vWarn Mod. Perhaps you can post there for help.
Title: Re: Help
Post by: joshkol on December 30, 2005, 11:13:34 PM
ok, thx. But I still get the error, and it did uninstall.
Title: Re: Help
Post by: JayBachatero on December 30, 2005, 11:52:14 PM
Re-upload a fresh copy of Display.template.php

-JayBachatero
Title: Re: Help
Post by: joshkol on December 31, 2005, 03:10:07 PM
I did, and I still get the error. And I just found out that everyone else can see the posts and stuff. Im  the only one who cant, it might be with the admin posistion.
Title: Re: Help
Post by: borgBOB on December 31, 2005, 06:36:04 PM
Perhaps its a problem in the Christmas theme files,  does the error occur in other themes?
Title: Re: Help
Post by: joshkol on January 01, 2006, 05:30:37 PM
Nope, I just switched to amber, and it wrks now. Thank you.