PDA

View Full Version : sql error on cmps for v3.5


spaghie
10-05-2005, 08:06 PM
I've successfully installed vbulletin and downloaded and installed the current cmps.
Loads all the information but above the header, i'm getting an sql error-

Warning: Invalid argument supplied for foreach() in /includes/vba_cmps_include_bottom.php on line 232

I'm sure its a simple code issue but how do i fix it?

spaghie
10-05-2005, 10:18 PM
I commented it out for now but I'm sure it does something.

// Get Advanced Page Options
if (!empty($pages['advanced']))
{
foreach ($pages['advanced'] AS $sgroup => $sgvalue)
{
// foreach ($sgvalue AS $vname => $valu)
// {
// if ($sgroup == 'adv_portal_main')
// {
// $vba_options["$vname"] = $valu;
// }
// else if ($sgroup == 'adv_portal_style')
// {
// $vba_style["$vname"] = $valu;
// }
// else
// {
// $cmps_options["$sgroup"]["$vname"] = $valu;
// }
// }
}
}

Our Sponsors
 

Brian
10-06-2005, 01:37 PM
Sounds like your page settings have become corrupted. Try editing the page through your admin cp and save it so that the settings will be updated.