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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-14-2005, 03:46 AM
dr.science dr.science is offline
 
Join Date: Nov 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Sql error 1054...

I searched and could not fin an answer for this here, vb.com, or google. Here's the error I get:

Quote:
Database error in vBulletin 3.0.5:

Invalid SQL: UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Registered Users',
description = '',
usertitle = '',
opentag = '',
closetag = '',
passwordexpires = '0',
passwordhistory = '0',
canseehiddencustomfields = '0',
attachlimit = '0',
avatarmaxwidth = '175',
avatarmaxheight = '175',
avatarmaxsize = '20000',
profilepicmaxwidth = '180',
profilepicmaxheight = '180',
profilepicmaxsize = '65535',
pmquota = '95',
pmsendmax = '5',
forumpermissions = '127487',
pmpermissions = '3',
calendarpermissions = '19',
wolpermissions = '1',
adminpermissions = '0',
genericpermissions = '19478467',
genericoptions = '30',
arcadepermissions = '19'
WHERE usergroupid=2
mysql error: Unknown column 'canseehiddencustomfields' in 'field list'

mysql error number: 1054

Date: Friday 14th of January 2005 05:32:13 AM
Script: http://www.d-series.org/forums/admincp/usergroup.php
Referer: http://www.d-series.org/forums/admin...&usergroupid=2
So, somehow I am now missing the canseehiddencustomfields from my database somehow? Is that right? How can I fix this, anyone? Your help is greatly appreciated. I get this error whenever I try to update a usergroup.

Thanks!
Reply With Quote
  #2  
Old 01-14-2005, 04:12 AM
Tekton Tekton is offline
 
Join Date: Jun 2004
Location: Wisconsin
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a 'canseehiddencustomfields' field?

And if so is there any variation like a typo?
Reply With Quote
  #3  
Old 01-14-2005, 04:25 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tekton
Is there a 'canseehiddencustomfields' field?

And if so is there any variation like a typo?
You've editd one of your cron files, canseehiddencustomfields is not a default permission.
Reply With Quote
  #4  
Old 01-18-2005, 02:00 AM
dr.science dr.science is offline
 
Join Date: Nov 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Was this from a mod? I don't remember which file or mod contained this, and going through them I don't see which one it was.

All I have is:

vBGarage
Who was online today
Mood mod
vB CMPS
vBArcade
rotating banner on forums
trader rating mod
Reply With Quote
  #5  
Old 01-18-2005, 02:00 AM
dr.science dr.science is offline
 
Join Date: Nov 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your help, in advance, and for what you have clue'd me in on so far.
Reply With Quote
  #6  
Old 01-18-2005, 02:41 AM
dr.science dr.science is offline
 
Join Date: Nov 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't seem to find where this was added, or attempted to be added... in any of the files I checked. :/
Reply With Quote
  #7  
Old 01-18-2005, 03:03 AM
dr.science dr.science is offline
 
Join Date: Nov 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found this in my admincp/usergroup.php:

PHP Code:
print_yes_no_row($vbphrase['can_view_others_profile_pictures'], 'usergroup[canseeprofilepic]'$ug_bitfield['canseeprofilepic']);
    
// START VBGARAGE HACK
        
print_yes_no_row($vbphrase['can_vbgarage'], 'usergroup[canvbgarage]'$ug_bitfield['canvbgarage']);
    
// END VBGARAGE HACK
    
print_yes_no_row($vbphrase['can_view_hidden_custom_fields'], 'usergroup[canseehiddencustomfields]'$ug_bitfield['canseehiddencustomfields']);
    
print_table_break();
    
print_column_style_code(array('width: 70%''width: 30%'));
    
print_table_header("Arcade Permissions"); 
Anything?
Reply With Quote
  #8  
Old 01-18-2005, 03:06 AM
dr.science dr.science is offline
 
Join Date: Nov 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for the multiple replies, I just keep finding stuff I am hoping someone can help with.

I checked the 3.0.5 "admincp/usergroup.php" file and it contains that field already, so what the hell happened to my database that the table is not there?!?
Reply With Quote
  #9  
Old 01-18-2005, 03:15 AM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check the includes/init.php file ?
See if the Arcade hack installation mentions anything about adding something to do with canseehiddencustomfields in there.

Just a guess
Reply With Quote
  #10  
Old 01-19-2005, 12:18 AM
dr.science dr.science is offline
 
Join Date: Nov 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cinq
Check the includes/init.php file ?
See if the Arcade hack installation mentions anything about adding something to do with canseehiddencustomfields in there.

Just a guess
I'll check this... I already have, but you never know. BUT, since I found that in the 3.05. upgrade package from VB the "canseehiddencustomfields" is in the files, isn't this vBulletin related? maybe I should try over there... If anyone had suggestions, or help I would love to hear them. I'll post this over there in the meantime.

Thanks!
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 08:39 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.04707 seconds
  • Memory Usage 2,263KB
  • 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
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete