vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Error Error - VBulletin option not working? (https://vborg.vbsupport.ru/showthread.php?t=155101)

Sune24 08-13-2007 01:21 PM

Error Error - VBulletin option not working?
 
I tried using the ACP option to show custom profile fields.

Whenever I do, I get this error when trying to open a thread:
Anyone got a clue why it doesn't work?
I do exactly as it says... I list the fields with only a comma to seperate them.

Code:

Database error in vBulletin 3.6.8:

Invalid SQL:
select title from profilefield where profilefieldid=2;

MySQL Error  : Unknown column 'title' in 'field list'
Error Number : 1054
Date        : Monday, August 13th 2007 @ 10:18:20 AM
Script      : http://www.defianceuo.com/forums/showthread.php?t=93950
Referrer    : http://www.defianceuo.com/forums/forumdisplay.php?f=164
IP Address  : 83.93.112.250
Username    : **********
Classname    : vb_database


Opserty 08-13-2007 01:47 PM

What are you trying to do?

You can fetch fields automatically using the fetch_userinfo() function. Which will return you custom fields as part of the array.

Sune24 08-13-2007 01:52 PM

Quote:

Originally Posted by Opserty (Post 1316544)
What are you trying to do?

You can fetch fields automatically using the fetch_userinfo() function. Which will return you custom fields as part of the array.


Hmm, I'm a newb I don't know what you mean :/

But I added 3 new fields in the ACP User Profile Field manager.
However they don't show up in the postbit, so I went to the ACP Show Profile Fields option and added their field IDs.

field5,field6,field7

Saved it succesfully and then when I open a thread on the forum I get the above shown error :/

Anyone has a clue? :/


All times are GMT. The time now is 02:15 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.01262 seconds
  • Memory Usage 1,714KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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