MyBB Community Forums

Full Version: Just upgraded to 1.10... I get An Error?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Fatal error: Call to undefined function: iif() in /home/nameless/domains/gamezrule.org/public_html/forums/global.php(260) : eval()'d code on line 44

How would I go about fixing that?
For future reference - you can't paste huge things like that on the IRC chanel due to the way we have the server setup: It thinks you're flooding.

Like I was saying:

This is from a modification or theme you had previously (Maybe VB3 look alike?). When you upgraded to 1.10, you overwrote some changes you would have made to the files.
I didn't use vb3 lookalike.
I had my own; I only used the conditional menu.
So, I have to revert the header now?
No - reapply the code modifications you made.

IE, download that modification again and follow the instructions on how to edit the PHP files to add those iif functions and related things.
I don't know which MOD it was. Confused
Would It help if I Re-Upload all files except inc/config, inc/settings, and the install folder?
Your old ones? It would fix it - but then you'd lose the updated files.

You need to figure out which modification provided that functionality (Conditionals in templates).

I'm moving this thread.
UPDATE: Fixed.