vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   DB Issues (https://vborg.vbsupport.ru/showthread.php?t=173858)

mousegeek 03-22-2008 07:41 PM

DB Issues
 
Everytime I try to edit a userground it says ''Database Error'' on it. I checked all over my database and server and it shows all of the necessary files are there and in working order. This all started when I upgraded to vB 3.7.0 BETA 3. I'm not sure how to fix this, tryed everything.

Lynne 03-22-2008 07:44 PM

When you get the database error page, go to View Source in your browser and at the bottom of that page will be some text spelling out the whole mysql database error. Paste that on here.

mousegeek 03-23-2008 02:57 AM

Here is what it gave me.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
<head>
<script type="text/javascript">
<!--
// get out of any containing frameset
if (self.parent.frames.length != 0)
{
self.parent.location.replace(document.location.hre f);
}
// -->
</script>
<title>MOUSEGEEKS.COM a RLNERO.COM COMPANY | A Disney Media Fan Site Admin Control Panel</title>
</head>

<frameset cols="195,*" framespacing="0" border="0" frameborder="0" frameborder="no" border="0">
<frame src="index.php?do=nav" name="nav" scrolling="yes" frameborder="0" marginwidth="0" marginheight="0" border="no" />
<frameset rows="20,*" framespacing="0" border="0" frameborder="0" frameborder="no" border="0">
<frame src="index.php?do=head" name="head" scrolling="no" noresize="noresize" frameborder="0" marginwidth="10" marginheight="0" border="no" />
<frame src="index.php?do=home" name="main" scrolling="yes" frameborder="0" marginwidth="10" marginheight="10" border="no" />
</frameset>
</frameset>

<noframes>
<body>
<p>Your browser does not support frames. Please get one that does!</p>
</body>
</noframes>
</html>

Dismounted 03-23-2008 03:24 AM

You've provided the source code of the frameset, you need to get the source code of the error page, in Firefox, this is Right Click -> This Frame -> View Frame Source.

mousegeek 03-23-2008 04:01 AM

Here is the new code I got:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
<head>
<title>Usergroup Manager - MOUSEGEEKS.COM a RLNERO.COM COMPANY | A Disney Media Fan Site - vBulletin Admin Control Panel</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link rel="stylesheet" type="text/css" href="../cpstyles/vBulletin_3_Default/controlpanel.css" />
<style type="text/css">
.page { background-color:white; color:black; }
.time { color:silver; }
</style>
<script type="text/javascript">
<!--
var SESSIONHASH = "";
var IMGDIR_MISC = "../cpstyles/vBulletin_3_Default";
var CLEARGIFURL = "./clear.gif";
function set_cp_title()
{
if (typeof(parent.document) != 'undefined' && typeof(parent.document) != 'unknown' && typeof(parent.document.title) == 'string')
{
parent.document.title = (document.title != '' ? document.title : 'vBulletin');
}
}
//-->
</script>
<script type="text/javascript" src="../clientscript/yui/yahoo-dom-event/yahoo-dom-event.js"></script>
<script type="text/javascript" src="../clientscript/yui/connection/connection-min.js"></script>
<script type="text/javascript" src="../clientscript/vbulletin_global.js"></script>

</head>
<body style="margin:0px" onload="set_cp_title();">
<div class="pagetitle">Usergroup Manager</div>
<div style="margin:10px">
<!-- END CONTROL PANEL HEADER -->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>MOUSEGEEKS.COM a RLNERO.COM COMPANY | A Disney Media Fan Site Database Error</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<style type="text/css">
<!--
body { background-color: white; color: black; }
#container { width: 400px; }
#message { width: 400px; color: black; background-color: #FFFFCC; }
#bodytitle { font: 13pt/15pt verdana, arial, sans-serif; height: 35px; vertical-align: top; }
.bodytext { font: 8pt/11pt verdana, arial, sans-serif; }
a:link { font: 8pt/11pt verdana, arial, sans-serif; color: red; }
a:visited { font: 8pt/11pt verdana, arial, sans-serif; color: #4e4e4e; }
-->
</style>
</head>
<body>
<table cellpadding="3" cellspacing="5" id="container">
<tr>
<td><img src="http://www.mousegeeks.com/image.php?type=dberror" alt="Database Error" width="48" height="48" /></td>
<td id="bodytitle" width="100%">Database error</td>
</tr>
<tr>
<td class="bodytext" colspan="2">The MOUSEGEEKS.COM a RLNERO.COM COMPANY | A Disney Media Fan Site database has encountered a problem.</td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td class="bodytext" colspan="2">
Please try the following:
<ul>
<li>Load the page again by clicking the <a href="#" onclick="window.location = window.location;">Refresh</a> button in your web browser.</li>
<li>Open the <a href="/">www.mousegeeks.com</a> home page, then try to open another page.</li>
<li>Click the <a href="javascript:history.back(1)">Back</a> button to try another link.</li>
</ul>
</td>
</tr>
<tr>
<td class="bodytext" colspan="2">The www.mousegeeks.com forum technical staff have been notified of the error, though you may <a href="mailto:webmaster@mousegeeks.com">contact them</a> if the problem persists.</td>
</tr>
<tr>
<td class="bodytext" colspan="2">&nbsp;<br />We apologise for any inconvenience.</td>
</tr>
</table>

<form><textarea rows="15" cols="70" wrap="off" id="message">Database error in vBulletin 3.7.0 Beta 3:

Invalid SQL:
UPDATE vb_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Registered Users',
`description` = '',
`usertitle` = '',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`icashpermissions` = '7',
`mgccustomusergroupperms` = '0',
`nbmsgshowchatbox` = '',
`vbjirc` = '1',
`userpagepermissions` = '11',
`forumpermissions` = '3928575',
`genericpermissions` = '1579685575',
`attachlimit` = '0',
`pmquota` = '50',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '1',
`adminpermissions` = '0',
`genericpermissions2` = '1',
`genericoptions` = '62',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000',
`signaturepermissions` = '235519',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '10000',
`sigmaxrawchars` = '1000',
`sigmaxchars` = '500',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '4',
`albumpermissions` = '3',
`albumpicmaxwidth` = '600',
`albumpicmaxheight` = '600',
`albumpicmaxsize` = '100000',
`albummaxpics` = '100',
`albummaxsize` = '0',
`usercsspermissions` = '31',
`visitormessagepermissions` = '63',
`socialgrouppermissions` = '115'
WHERE usergroupid=2;

MySQL Error : Unknown column 'mgccustomusergroupperms' in 'field list'
Error Number : 1054
Date : Sunday, March 23rd 2008 @ 01:01:02 AM
Script : http://www.mousegeeks.com/admincp/us....php?do=update
Referrer : http://www.mousegeeks.com/admincp/us...;usergroupid=2
IP Address : 71.49.114.253
Username : Facnyface
Classname : vb_database
MySQL Version : 5.0.51-log</textarea></form>

</body>
</html>

Dismounted 03-23-2008 04:08 AM

You have uninstalled a modification, but left the files there. The modification is question is one of the MGC ones. You need to find and remove the bitfield_*.xml file associated with the modification (located in includes/xml) and remove it.

mousegeek 03-26-2008 02:42 AM

Quote:

Originally Posted by Dismounted (Post 1472235)
You have uninstalled a modification, but left the files there. The modification is question is one of the MGC ones. You need to find and remove the bitfield_*.xml file associated with the modification (located in includes/xml) and remove it.

Ok! It worked, thanks so much!


All times are GMT. The time now is 12:59 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01096 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete