vb.org Archive

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

DanTHEGREAT 12-21-2008 11:28 PM

database error.
 
On my forum, I get a database error of this:

Database error in vBulletin 3.8.0 Release Candidate 2:

Invalid SQL:
SELECT field0 FROM VFKK_userfield WHERE userid='101';;

MySQL Error : Unknown column 'field0' in 'field list'
Error Number : 1054
Request Date : Sunday, December 21st 2008 @ 08:27:52 PM
Error Date : Sunday, December 21st 2008 @ 08:27:52 PM
Script : http://freerealmsforums.com/private....owpm&pmid=5983
Referrer : http://freerealmsforums.com/private.php
IP Address : ###.88.239.151
Username : #####
Classname : vB_Database
MySQL Version : 5.0.51a-community-log

anyone know the problem

NOTE: Happens on every function on the forums.

ExTincTi0N 12-21-2008 11:31 PM

Where are you getting this database error? when you try to send a pm?

Medtech 12-21-2008 11:32 PM

sounds like an issue with a profile field. anyone been doing any editing?

DanTHEGREAT 12-21-2008 11:33 PM

Actually, It happens to every forum I try to click, most functions on the forum..@_@

ExTincTi0N 12-21-2008 11:36 PM

Do you have any modifications on your site that are enabled?

Medtech 12-21-2008 11:37 PM

also did you remove any mods? sometimes a file may be left behind. go to admincp/ maintinance/ diagnostics/ suspect file versions. look for any files belonging to any modifications you may have removed and delete them. i had a similar issue a few hrs ago.

DanTHEGREAT 12-21-2008 11:37 PM

Yes I have over 10...@_@

ExTincTi0N 12-21-2008 11:37 PM

Try disabling all of your mods to see if that is the problem.

DanTHEGREAT 12-22-2008 12:04 AM

Well in the DB, under fieldlist is there a "field" or "field0" or both in the database because I see a column called field but no user accounts have anything filled inside of it, I am thinking that it got renamed in the structure.

Lynne 12-22-2008 03:13 AM

In the userfield table, there are field columns starting with field1, field2, etc up to however many User Profile Fields you have. vB comes with field1, field2, field3, and field4 already, so when you add a Profile Field, the next one is field5, then field6, etc. The only way there can be a field0 is if someone did something in the database. The field names are all listed in the User Profile Field Manager.

DanTHEGREAT 12-22-2008 09:41 AM

Never mind got it fixed in the mysql database.

thanks.


All times are GMT. The time now is 11:44 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.00979 seconds
  • Memory Usage 1,726KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)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