The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Database Error - Calendar?
I've been getting this database error for about a week or so now. I can't work out any change that I've made that could have caused this, so I hope someone can help.
Code:
Database error in vBulletin 4.1.2: Invalid SQL: SELECT calendarpermission.usergroupid, calendarpermission.calendarpermissions, calendar.calendarid,calendar.title, displayorder FROM vb_calendar AS calendar LEFT JOIN vb_calendarpermission AS calendarpermission ON (calendarpermission.calendarid = calendar.calendarid AND usergroupid IN (1)) ORDER BY displayorder ASC; MySQL Error : Unknown column 'calendar.calendarid' in 'field list' Error Number : 1054 Request Date : Tuesday, April 12th 2011 @ 05:26:29 AM Error Date : Tuesday, April 12th 2011 @ 05:26:29 AM Script : http://www.xx.com/discussion/calendar.php?c=1&do=displayweek&month=1&week=1261872000 Referrer : IP Address : 38.101.148.xxx Username : Unregistered Classname : vB_Database Thanks |
#2
|
|||
|
|||
That is weird, maybe some people are affected depending on which GMT setting?
|
#3
|
||||
|
||||
Look at your calendar table - do you have a field called calendarid? You may want to try a repair/optimize on the table.
|
#4
|
|||
|
|||
As previously mentioned - Nothing changed prior to these problems. It appears calendarid is there, but it looks slightly out of place. It's underlined, the only one that is out of all of them. By the way, my table prefix for vBulletin is vb_ |
#5
|
||||
|
||||
It's supposed to be underlined as it is the key.
I honestly can find nothing wrong with the query. Have you tried doing a repair/optimize on the table? |
#6
|
|||
|
|||
I have, yup. :/ Several times. Calendar seems to work fine on the board. But these emails I'm getting are massively frustrating. There must be a cause.
|
#7
|
||||
|
||||
Quote:
Code:
MySQL Error : Unknown column 'calendar.calendarid' in 'field list' Because if it referred to the table that you posted at the screenshot, the error message would have said: Code:
MySQL Error : Unknown column 'vb_calendar.calendarid' in 'field list' |
#8
|
|||
|
|||
What do you suggest I do?
|
#9
|
||||
|
||||
No, it is the same table:
Code:
FROM vb_calendar AS calendar Have you ever gotten this error on the site? Have your users? Or is it on Unregistered Users getting the error? And can unregistered users view the calendar? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|