Log in

View Full Version : Fatal error: plugins won't install


GrendelKhan{TSU
08-25-2006, 05:42 AM
just upgraded to 3.6.0, now I can't install any new plugins!!

when I try to install a product...
The install keeps going and going and going.....and progress bar goes off the right edge forever too. :/

then below the progress text area...it says:

Fatal error: Invalid row in the style table in /includes/adminfunctions_template.php on line 2293

I checked and line 2293 is:


// ################################################## ###########################
/**
* Builds the stylecache and saves it into the datastore
*
* @return array $stylecache
*/
function build_style_datastore()
{
global $stylecache, $vbulletin;

if (!is_array($stylecache))
{
cache_styles();
// this should not ever be needed unless the user has edited the database
if (STYLECOUNT != sizeof($stylecache))
{
trigger_error('Invalid row in the style table', E_USER_ERROR);
}
}

$localstylecache = array();

foreach ($stylecache AS $styleid => $style)
{
$localstyle = array();
$localstyle['styleid'] = $style['styleid'];
$localstyle['title'] = $style['title'];
$localstyle['parentid'] = $style['parentid'];
$localstyle['displayorder'] = $style['displayorder'];
$localstyle['userselect'] = $style['userselect'];

($hook = vBulletinHook::fetch_hook('admin_style_datastore') ) ? eval($hook) : false;

$datastorecache["$localstyle[parentid]"]["$localstyle[displayorder]"][] = $localstyle;
}

build_datastore('stylecache', serialize($datastorecache), 1);

return $datastorecache;
}

// ################################################## ###########################



I even reinstalled that file from fresh 3.6.0 gold file.
still same problem.

any ideas? HALP!!! :hurt: :confused:

Ntfu2
08-25-2006, 06:29 AM
try to repair the database from the admincp maintence tools.

then try to install again, if that doesnt work, you may have to submit a support ticket