PDA


View Full Version : edit page error


succo
05-23-2007, 01:04 PM
when i enter the editpage section in vba 3.0 rc1 control panel, ie shows an error with 'vBulletin' undefined' on line 13 character 1

the page is vba_cmps_admin.php?do=editpage&pageid=1

i don't think it can be dependant on my installment, as it's running on a test forum with default installation & style...

later i'll try to reinstall all and see :)

Brian
05-23-2007, 01:50 PM
It looks like vB changed the way some of the menu stuff is handled recently, I'm guessing in v3.6.6. Though the error doesn't seem to be affecting anything, if you'll look in your admincp/vba_cmps_admin.php file for this code:
$extrahead .= '<script type="text/javascript" src="../clientscript/vbulletin_menu.js"></script>';

And replace with this:
$extrahead .= '<script type="text/javascript" src="../clientscript/vbulletin_global.js"></script><script type="text/javascript" src="../clientscript/vbulletin_menu.js"></script>';

Then that should fix the error.

succo
05-24-2007, 03:40 AM
ok, that fixed it, thanks