PDA

View Full Version : table stylevar missing ?:S


taavipost
09-29-2011, 02:18 PM
Hello, when im trying to install any plugin or upgrade, it gives me that error:

What to do ? Any help?


Unexpected Text:

<?xml version="1.0" encoding="windows-1252"?>
<?xml version="1.0" encoding="windows-1252"?>
<errors>
<error><![CDATA[<p>Database Error</p>

Invalid SQL:

SELECT stylevardfn.stylevarid, stylevardfn.datatype, stylevar.value
FROM stylevardfn AS stylevardfn
LEFT JOIN stylevar AS stylevar ON (stylevardfn.stylevarid = stylevar.stylevarid AND stylevar.styleid = -1);

Table 'itmaailm_foorum.stylevar' doesn't exist]]></error>
<error_html><![CDATA[<p>Database error in vBulletin 4.1.4</p>
<p>Invalid SQL:

SELECT stylevardfn.stylevarid, stylevardfn.datatype, stylevar.value
FROM stylevardfn AS stylevardfn
LEFT JOIN stylevar AS stylevar ON (stylevardfn.stylevarid = stylevar.stylevarid AND stylevar.styleid = -1);<p>
<p>
<strong>MySQL Error</strong> : Table 'itmaailm_foorum.stylevar' doesn't exist<br />
<strong>Error Number</strong> : 1146<br />
<strong>Request Date</strong> : Thursday, September 29th 2011 @ 06:16:26 PM<br />
<strong>Error Date</strong> : Thursday, September 29th 2011 @ 06:16:27 PM<br />
<strong>Script</strong> : http://itmaailm.eu/install/upgrade.php<br />
<strong>Referrer</strong> : http://itmaailm.eu/install/upgrade.php<br />
<strong>Classname</strong> : vB_Database<br />
<strong>MySQL Version</strong> : 5.0.92-community<br />
</p>]]></error_html>
</errors>

taavipost
10-01-2011, 07:33 AM
bump

Lynne
10-01-2011, 10:33 PM
What version vB are you running? And if you look at your database, do you have a table named stylevar? (or is is xxxxstylevar?)

taavipost
10-02-2011, 10:03 AM
4.1.4 version and there is no stylevar table... not xxxxstylevar too.

Lynne
10-02-2011, 05:41 PM
So if you go to Style Manager > Styles and try to view StyleVars, you get a database error? Have you tried rerunning the install/upgrade.php script?