Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Unknown column 'prefix'
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Philly" data-source="post: 56271" data-attributes="member: 7598"><p>When i go into housekeeping, on UberCMS, we are denied access. </p><p>This is the error:</p><p> </p><p><strong><span style="color: #ff0000">Database error.</span></strong></p><p><span style="color: #ff0000">Unknown column 'prefix' in 'field_list'</span></p><p><span style="color: #ff0000">Script execution was aborted. We apoligize for the possible inconvenience. If this problem is persistant, please contact an Administrator.</span></p><p> </p><p>Here is the code for the index of housekeeping:</p><p>[CODE]</p><p><?php</p><p>/*=======================================================================</p><p>| UberCMS - Advanced Website and Content Management System for uberEmu</p><p>| #######################################################################</p><p>| Copyright (c) 2010, Roy 'Meth0d' and updates by Matthew 'MDK'</p><p>| http://www.meth0d.org & http://www.sulake.biz</p><p>| #######################################################################</p><p>| This program is free software: you can redistribute it and/or modify</p><p>| it under the terms of the GNU General Public License as published by</p><p>| the Free Software Foundation, either version 3 of the License, or</p><p>| (at your option) any later version.</p><p>| #######################################################################</p><p>| This program is distributed in the hope that it will be useful,</p><p>| but WITHOUT ANY WARRANTY; without even the implied warranty of</p><p>| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</p><p>| GNU General Public License for more details.</p><p>\======================================================================*/</p><p> </p><p>define('IN_MAINTENANCE', true);</p><p> </p><p>require_once "../global.php";</p><p>require_once "admincore.php";</p><p> </p><p>$_cmd = null;</p><p> </p><p>if (isset($_POST['_cmd']))</p><p>{</p><p>$_cmd = strtolower(clean($_POST['_cmd']));</p><p>}</p><p> </p><p>if ($_cmd == null && isset($_GET['_cmd']))</p><p>{</p><p>$_cmd = strtolower(clean($_GET['_cmd']));</p><p>}</p><p> </p><p>if ($_cmd == null)</p><p>{</p><p>$initial = 'main';</p><p> </p><p>if (!HK_LOGGED_IN)</p><p>{</p><p>$initial = 'login';</p><p>$_SESSION['HK_LOGIN_ERROR'] = "No housekeeping session found";</p><p>}</p><p> </p><p>header("Location: " . HK_WWW . "/index.php?_cmd=" . $initial);</p><p>exit;</p><p>}</p><p> </p><p>if (!HK_LOGGED_IN && $_cmd != 'login')</p><p>{</p><p>header("Location: " . HK_WWW . "/index.php?_cmd=login");</p><p>exit;</p><p>}</p><p> </p><p>switch($_cmd)</p><p>{</p><p>case 'ot-def':</p><p> </p><p>require_once 'pages/ot-def.php';</p><p>break;</p><p> </p><p>case 'ot-pages':</p><p> </p><p>require_once 'pages/ot-pages.php';</p><p>break;</p><p> </p><p>case 'ot-cata-items':</p><p> </p><p>require_once 'pages/ot-cata-items.php';</p><p>break;</p><p> </p><p>case 'logout':</p><p> </p><p>session_destroy();</p><p>session_start();</p><p> </p><p>$_SESSION['HK_LOGIN_ERROR'] = "You have been logged out successfully";</p><p> </p><p>header("Location: ./index.php?_cmd=login");</p><p>exit;</p><p> </p><p>case 'login';</p><p>case 'main';</p><p>case 'home';</p><p> </p><p>if (HK_LOGGED_IN)</p><p>{</p><p>require_once 'pages/main.php';</p><p>}</p><p>else</p><p>{</p><p>require_once 'pages/login.php';</p><p>}</p><p> </p><p>break;</p><p> </p><p>default:</p><p> </p><p>if (file_exists('pages/' . $_cmd . '.php') && HK_LOGGED_IN)</p><p>{</p><p>require_once 'pages/' . $_cmd . '.php';</p><p>}</p><p>else</p><p>{</p><p>require_once 'pages/404.php';</p><p>}</p><p> </p><p>break;</p><p>}</p><p> </p><p>?></p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="Philly, post: 56271, member: 7598"] When i go into housekeeping, on UberCMS, we are denied access. This is the error: [B][COLOR=#ff0000]Database error.[/COLOR][/B] [COLOR=#ff0000]Unknown column 'prefix' in 'field_list'[/COLOR] [COLOR=#ff0000]Script execution was aborted. We apoligize for the possible inconvenience. If this problem is persistant, please contact an Administrator.[/COLOR] 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; } ?> [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Unknown column 'prefix'
Top