Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 07-06-2007, 07:11 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default On my test board whenever I click update for a user I get this error message.

Quote:
Database error in vBulletin 3.6.7:
Invalid SQL:
UPDATE userfield SET
field1 = '',
field2 = '',
field6 = '',
field3 = '',
field4 = '',
field7 = '',
field8 = ''
WHERE userid = 21;
MySQL Error : Unknown column 'field6' in 'field list'
Error Number : 1054
Date : Friday, July 6th 2007 @ 01:01:35 PM
Script : http://www.Blah blah/testvb/forum/ad....php?do=update
Referrer : http://www.blahsblaok/testvb/forum/a...p?do=edit&u=21
IP Address : XXX.XX.XXX.XXX
Username : Username
Classname : vb_database
I have attempted to delete field6 but I get another message.

Quote:
Database error in vBulletin 3.6.7:

Invalid SQL:
UPDATE language SET title = title, phrasegroup_cprofilefield = 'a:8:{s:11:\"field1_desc\";s:28:\"A few details about yourself\";s:12:\"field1_title\";s:9:\"Biography\" ;s:11:\"field2_desc\";s:14:\"Where you live\";s:12:\"field2_title\";s:8:\"Location\";s:11 :\"field3_desc\";s:17:\"Your hobbies, etc\";s:12:\"field3_title\";s:9:\"Interests\";s:11 :\"field4_desc\";s:8:\"Your job\";s:12:\"field4_title\";s:10:\"Occupation\";}' , phrasegroup_reputationlevel = 'a:15:{s:11:\"reputation1\";s:30:\"is infamous around these parts\";s:12:\"reputation10\";s:29:\"is a glorious beacon of light\";s:12:\"reputation11\";s:22:\"is a name known to all\";s:12:\"reputation12\";s:27:\"is a splendid one to behold\";s:12:\"reputation13\";s:23:\"has much to be proud of\";s:12:\"reputation14\";s:22:\"has a brilliant future\";s:12:\"reputation15\";s:30:\"has a reputation beyond repute\";s:11:\"reputation2\";s:24:\"can only hope to improve\";s:11:\"reputation3\";s:44:\"has a little shameless behaviour in the past\";s:11:\"reputation4\";s:36:\"is an unknown quantity at this point\";s:11:\"reputation5\";s:26:\"is on a distinguished road\";s:11:\"reputation6\";s:30:\"will become famous soon enough\";s:11:\"reputation7\";s:28:\"has a spectacular aura about\";s:11:\"reputation8\";s:23:\"is a jewel in the rough\";s:11:\"reputation9\";s:19:\"is just really nice\";}', phrasegroup_adv_portal = 'a:30:{s:12:\"active_users\";s:12:\"Active Users\";s:7:\"buddies\";s:7:\"buddies\";s:2:\"by\" ;s:2:\"By\";s:17:\"discuss_this_poll\";s:17:\"Disc uss This Poll\";s:14:\"edit_this_post\";s:14:\"Edit This Post\";s:12:\"last_post_by\";s:12:\"Last post by\";s:19:\"latest_forum_topics\";s:19:\"Latest Forum Topics\";s:7:\"new_pms\";s:7:\"New PMs\";s:11:\"no_x_online\";s:45:\"<span class=\"smallfont\">No %1$s online</span>\";s:15:\"no_x_to_display\";s:19:\"No %1$s to Display.\";s:29:\"not_a_member_yet_register_now\"; s:69:\"Not a member yet?<br />\n<a href=\"%1$s/register.php\">Register Now!</a>\";s:14:\"online_buddies\";s:14:\"Online Buddies\";s:2:\"pm\";s:2:\"PM\";s:12:\"poll_result s\";s:12:\"Poll Resu

I'd put the rest of the message in but it's too long this forum. I'll add another post.

Here's the end of it.

Quote:
Error Number : 1054
Date : Friday, July 6th 2007 @ 01:05:50 PM
Script : http://www.jjlkijjlkj;j/testvb/forum...ld.php?do=kill
Referrer : http://www.blah /testvb/forum/adminc...ofilefieldid=6
IP Address : XXX.XXX.XXX.XXX
Username : Admin
Classname : vb_database
Reply With Quote
  #2  
Old 07-06-2007, 07:53 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The message is telling what the issue is, check field6
Reply With Quote
  #3  
Old 07-06-2007, 08:04 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
The message is telling what the issue is, check field6
When I try to delete it I get the error message as stated in the post.
Reply With Quote
  #4  
Old 07-06-2007, 08:17 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

MySQL Error : Unknown column 'field6' in 'field list'

The msg states unknown, i would assume its missing.
Reply With Quote
  #5  
Old 07-06-2007, 08:23 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
MySQL Error : Unknown column 'field6' in 'field list'

The msg states unknown, i would assume its missing.
But it still shows up in the User Profile Field Manager.
Reply With Quote
  #6  
Old 07-07-2007, 06:21 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, run this SQL Query:
[sql]ALTER TABLE `userfield`
ADD `field6` INT( 5 ) UNSIGNED NOT NULL DEFAULT 0[/sql]
Then delete it.
Reply With Quote
  #7  
Old 07-07-2007, 06:25 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
Ok, run this SQL Query:

SQL Query: (how to run queries)
ALTER TABLE `userfield`</p><p>ADD `field6` INT( 5 ) UNSIGNED NOT NULL DEFAULT 0

Then delete it.
Thanks Dismounted. It was already fixed though. I'll save your query if I need it!
Reply With Quote
Reply

Thread Tools
Display Modes

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 06:30 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04477 seconds
  • Memory Usage 2,223KB
  • Queries Executed 11 (?)
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
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_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