Unknown column 'prefix'

Philly

Member
Oct 1, 2011
60
20
When i go into housekeeping, on UberCMS, we are denied access.
This is the error:

Database error.
Unknown column 'prefix' in 'field_list'
Script execution was aborted. We apoligize for the possible inconvenience. If this problem is persistant, please contact an Administrator.

Here is the code for the index of housekeeping:
Code:
<?php
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d' and updates by Matthew 'MDK'
| http://www.meth0d.org & http://www.sulake.biz
| #######################################################################
| This program is free software: you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation, either version 3 of the License, or
| (at your option) any later version.
| #######################################################################
| This program is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
\======================================================================*/
 
define('IN_MAINTENANCE', true);
 
require_once "../global.php";
require_once "admincore.php";
 
$_cmd = null;
 
if (isset($_POST['_cmd']))
{
$_cmd = strtolower(clean($_POST['_cmd']));
}
 
if ($_cmd == null && isset($_GET['_cmd']))
{
$_cmd = strtolower(clean($_GET['_cmd']));
}
 
if ($_cmd == null)
{
$initial = 'main';
 
if (!HK_LOGGED_IN)
{
$initial = 'login';
$_SESSION['HK_LOGIN_ERROR'] = "No housekeeping session found";
}
 
header("Location: " . HK_WWW . "/index.php?_cmd=" . $initial);
exit;
}
 
if (!HK_LOGGED_IN && $_cmd != 'login')
{
header("Location: " . HK_WWW . "/index.php?_cmd=login");
exit;
}
 
switch($_cmd)
{
case 'ot-def':
 
require_once 'pages/ot-def.php';
break;
 
case 'ot-pages':
 
require_once 'pages/ot-pages.php';
break;
 
case 'ot-cata-items':
 
require_once 'pages/ot-cata-items.php';
break;
 
case 'logout':
 
session_destroy();
session_start();
 
$_SESSION['HK_LOGIN_ERROR'] = "You have been logged out successfully";
 
header("Location: ./index.php?_cmd=login");
exit;
 
case 'login';
case 'main';
case 'home';
 
if (HK_LOGGED_IN)
{
require_once 'pages/main.php';
}
else
{
require_once 'pages/login.php';
}
 
break;
 
default:
 
if (file_exists('pages/' . $_cmd . '.php') && HK_LOGGED_IN)
{
require_once 'pages/' . $_cmd . '.php';
}
else
{
require_once 'pages/404.php';
}
 
break;
}
 
?>
 

Users who are viewing this thread

Top