PDA

View Full Version : admincp blank after install


LamboJay
08-22-2004, 06:03 PM
Just got done installing vbadvanced. Every other page seems to be working except my admincp/index.php file is blank. The change to that file seemed fairly simple. Here is my modified section. If this is not the problem where else should I look. My forum home is ok and cmps_index.php displays ok.

Thanks.


// ***
if (can_administer('canadminforums'))
{
construct_nav_option($vbphrase['forum_manager'], 'forum.php?do=modify', '|');
construct_nav_option($vbphrase['add_new_forum'], 'forum.php?do=add', '|');
construct_nav_option($vbphrase['forum_permissions'], 'forumpermission.php?do=modify', '<br />');
construct_nav_option($vbphrase['show_all_moderators'], 'moderator.php?do=showlist', '<br />');
construct_nav_option($vbphrase['view_permissions'], 'resources.php');
construct_nav_group("$vbphrase[forums] &amp; $vbphrase[moderators]");
}
construct_nav_spacer();

// ** vbAdvanced Addition Start ***********************************************

construct_nav_option($vbphrase['default_settings'], 'vba_cmps_admin.php?do=modifysettings');
construct_nav_option($vbphrase['edit_modules'], 'vba_cmps_admin.php?do=listmodules');
construct_nav_option($vbphrase['add_module'], 'vba_cmps_admin.php?do=addmodule');
construct_nav_option($vbphrase['edit_pages'], 'vba_cmps_admin.php?do=listpages');
construct_nav_option($vbphrase['add_page'], 'vba_cmps_admin.php?do=addpage');
construct_nav_group($vbphrase['vba_cmps']);

construct_nav_spacer();

// ** vbAdvanced Addition End *************************************************

$printhr = false;
if (can_administer('canadmincalendars'))
{
$printhr = true;
construct_nav_option($vbphrase['calendar_manager'], 'admincalendar.php?do=modify', '|');
construct_nav_option($vbphrase['add_new_calendar'], 'admincalendar.php?do=add', '|');
construct_nav_option($vbphrase['calendar_permissions'], 'calendarpermission.php?do=modify', '<br />');
construct_nav_option($vbphrase['holiday_manager'], 'admincalendar.php?do=modifyholiday', '<br />');
construct_nav_group("$vbphrase[calendars] &amp; $vbphrase[moderators]");
}

Brian
08-22-2004, 08:03 PM
The code looks fine. I copied it to my localhost just to make sure I wasn't missing anything and it worked fine there as well..

Our Sponsors
 

LamboJay
08-23-2004, 11:02 AM
Any ideas on where the problem may be? I'm 99% sure I modified the other files corectly since every other page seems to be displaying fine. The installer ran through with no errors. So I'm at a loss now.

mholtum
08-23-2004, 11:20 AM
Try filling out a trouble ticket and have Brain look at the files...

Our Sponsors
 

LamboJay
08-24-2004, 05:38 PM
Got it working. I scrapped all the moded php files and re-did them all from scratch. Worked this time :)

Thanks.