Quote:
Originally Posted by Zorobz
Getting MySQL error when going into the admin panel...
something is wrong with table prefix not working...
PHP Code:
Database error in vBulletin 3.0.3:
Invalid SQL: select * from vb3_ warning_options where oid='1'
mysql error: Table '*DataBase Name*_vbulletin.vb3_' doesn't exist
mysql error number: 1146
Date: Tuesday 04th of January 2005 10:29:14 AM
Script: http://forum.ex-zone.com/admincp/index.php?
|
ok solved...
this
PHP Code:
else
{
$DB_site->reporterror = 1;
$warn_opts=$DB_site->query_first("select * from ".TABLE_PREFIX." warning_options where oid='1'");
$aws='1';
}
became to this and its solved...
PHP Code:
else
{
$DB_site->reporterror = 1;
$warn_opts=$DB_site->query_first("select * from ".TABLE_PREFIX."warning_options where oid='1'");
$aws='1';
}