Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-19-2009, 01:49 PM
sburns1992 sburns1992 is offline
 
Join Date: Jun 2008
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Database errors... unknown?

Hey,
For some reason I am getting a few database errors. I get this one when I want to view somebodies profile

Code:
Database error in vBulletin 3.8.4:

Invalid SQL:

			SELECT album.*,
				picture.pictureid, picture.extension, picture.idhash, album.moderation,
				picture.thumbnail_dateline, picture.thumbnail_width, picture.thumbnail_height
				
			FROM album AS album
			LEFT JOIN picture AS picture ON (album.coverpictureid = picture.pictureid AND picture.thumbnail_filesize > 0)
			
			WHERE album.userid = 262
				AND album.state IN ('public', 'private', 'profile')
				AND (album.visible > 0 OR album.moderation > 0)
				
			ORDER BY album.lastpicturedate DESC
			LIMIT 2;

MySQL Error   : Unknown column 'album.coverpictureid' in 'on clause'
Error Number  : 1054
Request Date  : Saturday, December 19th 2009 @ 03:46:42 PM
Error Date    : Saturday, December 19th 2009 @ 03:46:42 PM
Script        : http://flamehabbo.com/forum/member.php?u=851
Referrer      : http://flamehabbo.com/forum/memberlist.php
IP Address    : 92.23.1.91
Username      : Burns
Classname     : vB_Database
MySQL Version : 5.0.67-community-nt

Then I get this one when I try to add/edit a usergroup

Code:
Database error in vBulletin 3.8.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO usergroup
(`title`, `description`, `usertitle`, `opentag`, `closetag`, `passwordexpires`, `passwordhistory`, `ispublicgroup`, `canoverride`, `awardpermissions`, `arcadepermissions`, `minpoststoplay`, `minreptoplay`, `minreglengthtoplay`, `forumpermissions`, `genericpermissions`, `attachlimit`, `pmquota`, `pmpermissions`, `pmsendmax`, `pmthrottlequantity`, `calendarpermissions`, `wolpermissions`, `adminpermissions`, `genericpermissions2`, `genericoptions`, `profilepicmaxwidth`, `profilepicmaxheight`, `profilepicmaxsize`, `avatarmaxwidth`, `avatarmaxheight`, `avatarmaxsize`, `signaturepermissions`, `sigpicmaxwidth`, `sigpicmaxheight`, `sigpicmaxsize`, `sigmaxrawchars`, `sigmaxchars`, `sigmaxlines`, `sigmaxsizebbcode`, `sigmaximages`, `albumpermissions`, `albumpicmaxwidth`, `albumpicmaxheight`, `albumpicmaxsize`, `albummaxpics`, `albummaxsize`, `usercsspermissions`, `visitormessagepermissions`, `socialgrouppermissions`, `maximumsocialgroups`, `groupiconmaxsize`)
VALUES
('UK Radio DJ test', '', 'UK Radio DJ test', '<b><font color=#33CC33>', '</font></b>', '0', '0', '0', '0', '1', '7', '0', '-1000', '0', '10219775', '1546458827', '0', '50', '1', '5', '0', '1', '0', '0', '1', '62', '210', '210', '65535', '130', '130', '20000', '237567', '500', '100', '10000', '1000', '500', '0', '7', '4', '255', '600', '600', '', '100', '0', '63', '63', '65535', '5', '65535');

MySQL Error   : Unknown column 'albumpicmaxsize' in 'field list'
Error Number  : 1054
Request Date  : Saturday, December 19th 2009 @ 03:39:53 PM
Error Date    : Saturday, December 19th 2009 @ 03:39:53 PM
Script        : http://flamehabbo.com/forum/admincp/usergroup.php?do=update
Referrer      : http://flamehabbo.com/forum/admincp/usergroup.php?do=add
IP Address    : 92.23.1.91
Username      : Burns
Classname     : vB_Database
MySQL Version : 5.0.67-community-nt
and this when I try to edit a notice

Code:
Database error in vBulletin 3.8.4:

Invalid SQL:
UPDATE language SET title = title, phrasegroup_cprofilefield lots of text went here, too much to add

MySQL Error   : Unknown column 'phrasegroup_ecdownloads' in 'field list'
Error Number  : 1054
Request Date  : Saturday, December 19th 2009 @ 04:20:46 PM
Error Date    : Saturday, December 19th 2009 @ 04:20:46 PM
Script        : http://flamehabbo.com/forum/admincp/notice.php?do=update
Referrer      : http://flamehabbo.com/forum/admincp/notice.php?do=edit&noticeid=18
IP Address    : 92.23.1.91
Username      : Burns
Classname     : vB_Database
MySQL Version : 5.0.67-community-nt

Hope you can help,
Thanks.
Reply With Quote
  #2  
Old 12-19-2009, 03:09 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The first one is from a mod - there is no default vb column called coverpictureid in the album table.

Don't know about the second.

The third is also from a mod - there is no default vb column called phrasegroup_ecdownloads in the usergroup table.
Reply With Quote
  #3  
Old 12-19-2009, 10:16 PM
sburns1992 sburns1992 is offline
 
Join Date: Jun 2008
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Managed to sort it
vB4 really sucks, sorry to say.
Reply With Quote
  #4  
Old 12-20-2009, 11:35 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Talking about vB4 in the vB3 forum?
Reply With Quote
  #5  
Old 12-20-2009, 11:46 AM
sburns1992 sburns1992 is offline
 
Join Date: Jun 2008
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, basically I upgraded to vB4 and forgot to take a database backup. vB4 then didn't work on our server for some strange reason, so I went back to vB3 and had to insert the whole database manually to make sure nothing from vB4 went in.

I managed it though and the forum is back to normal
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:13 PM.


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.04782 seconds
  • Memory Usage 2,200KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete