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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-06-2009, 12:44 AM
notrious notrious is offline
 
Join Date: Mar 2007
Location: New York
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Database error @ calendar.php & admincp/index.php

Hi there getting 2 wired erros one @ admincp index page and 2nd on calendar.php.

Searched a lot but no clue so posting here. I have tried disabling plugins and hooks glob.. Forum was on 3.7 plat upgrade to 3.8. Now running on 3.8.4.

Any help would be really appreciated...

Code:
Database error in vBulletin 3.8.4:

Invalid SQL:

	SELECT COUNT(*) AS count
	FROM event AS event
	INNER JOIN calendar AS calendar USING (calendarid)
	WHERE event.visible = 0;

MySQL Error   : Unknown column 'calendarid' in 'from clause'
Error Number  : 1054
Request Date  : Saturday, December 5th 2009 @ 09:39:25 PM
Error Date    : Saturday, December 5th 2009 @ 09:39:25 PM
Script        :  (FORUMURL)  /forum/admincp/index.php?do=home
Referrer      :  (FORUMURL)      /forum/admincp/index.php?do=nav
IP Address    : 
Username      : 
Classname     : vB_Database
MySQL Version : 5.0.85-community-log
Code:
Database error in vBulletin 3.8.4:

Invalid SQL:

		SELECT event.*,
		user.username, IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid,
		IF(dateline_to = 0, 1, 0) AS singleday
		, subscribeevent.eventid AS subscribed
		FROM event AS event
		LEFT JOIN user AS user ON (user.userid = event.userid)
		LEFT JOIN subscribeevent AS subscribeevent ON (subscribeevent.eventid = event.eventid AND subscribeevent.userid = 22818)
		WHERE calendarid = 1 AND
			((dateline_to >= 1256990400 AND dateline_from < 1265025600) OR (dateline_to = 0 AND dateline_from >= 1256990400 AND dateline_from <= 1265025600 ))	AND
			visible = 1
		ORDER BY dateline_from;

MySQL Error   : Unknown column 'dateline_to' in 'field list'
Error Number  : 1054
Request Date  : Saturday, December 5th 2009 @ 09:38:55 PM
Error Date    : Saturday, December 5th 2009 @ 09:38:55 PM
Script        :(forum URL) /forum/calendar.php
Referrer     :(forum URL) /forum/index.php
IP Address    : 
Username      :
Classname     : vB_Database
MySQL Version : 5.0.85-community-log
Reply With Quote
  #2  
Old 12-06-2009, 02:37 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Take a look at the event table in your database. Does it have a calendarid or dateline_to field?
Reply With Quote
  #3  
Old 12-06-2009, 07:27 AM
notrious notrious is offline
 
Join Date: Mar 2007
Location: New York
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh big thanks Lynne i was looking in calendar table .. thanks i just notice few things were missing from event table .. compare to a fresh vb install which i did early today so i just drop table and restore it and it fix the problem..

A Big Thanks .. YOU ROCK !!!!!
Reply With Quote
  #4  
Old 12-31-2009, 03:18 PM
jlosey jlosey is offline
 
Join Date: Jun 2009
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit. I was looking at the wrong thing. I do have both of the fields, but I still get the "Invalid Event specified. If you followed a valid link, please notify the administrator" message when clicking on the calendar link.
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 11:21 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09980 seconds
  • Memory Usage 2,191KB
  • 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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete