PDA

View Full Version : [1.5.4] Bug in ModCP


Mattikana
03-26-2006, 08:18 PM
I get errors when I click on some menu options in the ModCP:
vbBux -> Arcade Quick Editor
Fatal error: Call to undefined function: is_newer_version() in /home/DIKKETETTEN/public_html/forum/modcp/vbplaza.php on line 1271
vbBux -> Arcade Update All
Fatal error: Call to undefined function: is_newer_version() in /home/DIKKETETTEN/public_html/forum/modcp/vbplaza.php on line 1177
Both menu options work fine in the AdminCP though. All the other menu options in the ModCP work fine too.

CMX_CMGSCCC
03-26-2006, 08:25 PM
I get errors when I click on some menu options in the ModCP:
vbBux -> Arcade Quick Editor
Fatal error: Call to undefined function: is_newer_version() in /home/DIKKETETTEN/public_html/forum/modcp/vbplaza.php on line 1271
vbBux -> Arcade Update All
Fatal error: Call to undefined function: is_newer_version() in /home/DIKKETETTEN/public_html/forum/modcp/vbplaza.php on line 1177
Both menu options work fine in the AdminCP though. All the other menu options in the ModCP work fine too.

Right it needs the adminfunctions_template.php, I forgot about this, I didnt include it as I wasnt sure it was "safe" to include it. I'll look and see if its ok.

EDIT: Add this line to /modcp/vbplaza.php


require_once(DIR . '/includes/adminfunctions_template.php');


After it does require_once for the global.php.

-CMX

Mattikana
03-26-2006, 08:33 PM
Works now.
Thanks for your fast reply :)

CMX_CMGSCCC
03-26-2006, 08:55 PM
Np, I try to fix any bugs, especially parse errors asap! :)

-CMX