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 in vBulletin 3.8.3 . MySQL Error : Unknown column 'Array' in 'on cla (https://vborg.vbsupport.ru/showthread.php?t=217428)

Mushabab 06-29-2009 04:15 PM

Database error in vBulletin 3.8.3 . MySQL Error : Unknown column 'Array' in 'on cla
 
Hi; Kindly help me to solve this error in my vb. Inspite of uploading the scripts few times. dissable all hacks , I continued to have it . I checked with my server IT and they told me it is a problem in vb scripts!

Cheers!


"Database error in vBulletin 3.8.3:

Invalid SQL:

SELECT calendarpermission.usergroupid, calendarpermission.calendarpermissions,calendar.ca lendarid,calendar.title, displayorder
FROM vbf_calendar AS calendar
LEFT JOIN vbf_calendarpermission AS calendarpermission ON
(calendarpermission.calendarid = calendar.calendarid AND usergroupid IN (3, 5, 6, 7, 11, Array, 2))
ORDER BY displayorder ASC;

MySQL Error : Unknown column 'Array' in 'on clause'
Error Number : 1054
Request Date : Monday, June 29th 2009 @ 08:04:13 PM
Error Date : Monday, June 29th 2009 @ 08:04:13 PM
Script : http://www.xxxxxxxx/calendar.php
Referrer : http://www.xxxxxxx/forums/index.php
IP Address : xx.x5.x6.162
Username :
Classname : vB_Database
MySQL Version : 5.0.77-community"


:(:confused:

grey_goose 09-18-2009 01:52 PM

I get this also... can anyone help?

James Birkett 09-18-2009 01:56 PM

the actual error is: MySQL Error : Unknown column 'Array' in 'on clause'
Which means (I think) that the column "Array" isn't in the "on clause" table.
Which modifications do you have installed (relating to calendars possibly).

I'd recommend disabling the plugin system and finding the cause of the problem.

Note: To globally disable plugins put the following code right under <?php in the includes/config.php file:
PHP Code:

define('DISABLE_HOOKS'true


snakes1100 09-18-2009 02:01 PM

Before you ran the upgrade script, are you positive that you uploaded and over wrote all the vbulletin files on your FTP?

Lynne 09-18-2009 02:08 PM

Can we see your exact error since I'm sure it isn't *exactly* the same as the OPs.

grey_goose 09-18-2009 11:28 PM

I've solved my problem.

Basically, that 'Array' is set as a usergroup, using the name of the group rather than the group number in the table.

jc10002 02-01-2011 01:04 AM

Quote:

Basically, that 'Array' is set as a usergroup, using the name of the group rather than the group number in the table.
So how do you adjust things so that the column does not continue to use the name, and properly use the group number?

Thanks.


All times are GMT. The time now is 05:09 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.01054 seconds
  • Memory Usage 1,732KB
  • 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
  • (1)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