vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Sql error 1054... (https://vborg.vbsupport.ru/showthread.php?t=74341)

dr.science 01-14-2005 03:46 AM

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!

Tekton 01-14-2005 04:12 AM

Is there a 'canseehiddencustomfields' field?

And if so is there any variation like a typo?

Zachery 01-14-2005 04:25 AM

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.

dr.science 01-18-2005 02:00 AM

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

dr.science 01-18-2005 02:00 AM

Thanks for your help, in advance, and for what you have clue'd me in on so far.

dr.science 01-18-2005 02:41 AM

I can't seem to find where this was added, or attempted to be added... in any of the files I checked. :/

dr.science 01-18-2005 03:03 AM

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?

dr.science 01-18-2005 03:06 AM

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?!?

cinq 01-18-2005 03:15 AM

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

dr.science 01-19-2005 12:18 AM

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!


All times are GMT. The time now is 05:23 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.01333 seconds
  • Memory Usage 1,737KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete