vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Upgrading problems (https://vborg.vbsupport.ru/showthread.php?t=251057)

canyoncomposite 09-23-2010 09:00 PM

Upgrading problems
 
Hi,
I'm having a database problem when updating from vb 3.6.0 to vb 3.8.6. I'm experienced with database errors and management and I am unable to interpret it myself. Any help at all would be appreciated!
Below is the error message.

Database error in vBulletin 3.7.0 Beta 2: Invalid SQL: ALTER TABLE groupmessage
CHANGE groupid groupid INT UNSIGNED NOT NULL DEFAULT '0',
CHANGE postuserid postuserid INT UNSIGNED NOT NULL DEFAULT '0',
CHANGE postusername postusername VARCHAR(100) NOT NULL DEFAULT '',
CHANGE dateline dateline INT UNSIGNED NOT NULL DEFAULT '0',
CHANGE ipaddress ipaddress INT UNSIGNED NOT NULL DEFAULT '0';

MySQL Error : Unknown column 'groupid' in 'groupmessage'
Error Number : 1054
Request Date : Thursday, September 23rd 2010 @ 12:10:45 PM
Error Date : Thursday, September 23rd 2010 @ 12:10:45 PM
Script : http://compositescentral.net/install...0b3.php?step=2
Referrer : http://compositescentral.net/install...0b3.php?step=1
IP Address : 134.71.145.156
Username : Classname : vB_Database MySQL Version : 5.1.47-community-log

borbole 09-24-2010 10:06 AM

Quote:

Originally Posted by canyoncomposite (Post 2102443)
Hi,
I'm having a database problem when updating from vb 3.6.0 to vb 3.8.6. I'm experienced with database errors and management and I am unable to interpret it myself. Any help at all would be appreciated!
Below is the error message.

Database error in vBulletin 3.7.0 Beta 2: Invalid SQL: ALTER TABLE groupmessage
CHANGE groupid groupid INT UNSIGNED NOT NULL DEFAULT '0',
CHANGE postuserid postuserid INT UNSIGNED NOT NULL DEFAULT '0',
CHANGE postusername postusername VARCHAR(100) NOT NULL DEFAULT '',
CHANGE dateline dateline INT UNSIGNED NOT NULL DEFAULT '0',
CHANGE ipaddress ipaddress INT UNSIGNED NOT NULL DEFAULT '0';

MySQL Error : Unknown column 'groupid' in 'groupmessage'
Error Number : 1054
Request Date : Thursday, September 23rd 2010 @ 12:10:45 PM
Error Date : Thursday, September 23rd 2010 @ 12:10:45 PM
Script : http://compositescentral.net/install...0b3.php?step=2
Referrer : http://compositescentral.net/install...0b3.php?step=1
IP Address : 134.71.145.156
Username : Classname : vB_Database MySQL Version : 5.1.47-community-log

I am not familiar with the db structure of that old version but from the error it looks like groupid field is missing from the groupmessage table. I don''t know if that is a default field but added from a mod. But if I were to guess is that it is a default field that either has been dropped or no longer exists in the groupmessage table in the newer version.


All times are GMT. The time now is 04:41 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.00968 seconds
  • Memory Usage 1,719KB
  • 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
  • (2)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