vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   On my test board whenever I click update for a user I get this error message. (https://vborg.vbsupport.ru/showthread.php?t=151552)

Fungsten 07-06-2007 07:11 PM

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

snakes1100 07-06-2007 07:53 PM

The message is telling what the issue is, check field6

Fungsten 07-06-2007 08:04 PM

Quote:

Originally Posted by snakes1100 (Post 1284631)
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.

snakes1100 07-06-2007 08:17 PM

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

The msg states unknown, i would assume its missing.

Fungsten 07-06-2007 08:23 PM

Quote:

Originally Posted by snakes1100 (Post 1284656)
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.

Dismounted 07-07-2007 06:21 AM

Ok, run this SQL Query:
[sql]ALTER TABLE `userfield`
ADD `field6` INT( 5 ) UNSIGNED NOT NULL DEFAULT 0[/sql]
Then delete it.

Fungsten 07-07-2007 06:25 PM

Quote:

Originally Posted by Dismounted (Post 1284966)
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!


All times are GMT. The time now is 06:43 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.05523 seconds
  • Memory Usage 1,736KB
  • 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
  • (6)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