mmllc
11-26-2007, 07:51 PM
Hello,
I think this problem is unique, I haven't found this exact error here or in Google. So I can upload attachments to my board, they show up in the Attachment Manager, but when I go to view the post, I get a mysql error:
Database error in vBulletin 3.6.8:
Invalid SQL:
SELECT dateline, thumbnail_dateline, filename, filesize, visible, attachmentid, counter, extratype,
postid, IF(thumbnail_filesize > 0, 1, 0) AS hasthumbnail, thumbnail_filesize,
attachmenttype.thumbnail AS build_thumbnail, attachmenttype.newwindow
FROM attachment
LEFT JOIN attachmenttype AS attachmenttype USING (extension)
WHERE postid IN (-1,12)
ORDER BY attachmentid;
MySQL Error : Unknown column 'extratype' in 'field list'
Error Number : 1054
I've searched the DB high and low for the EXTRATYPE and FIELD LIST, because it says an unknown column, but nothing. Keep in mind this is a fresh install of Vbul here and I've made very few changes to templates and I don't think any product I installed could affect this in such a manner because I've used them before without problems, but I guess anything is possible. Any ideas?
I think this problem is unique, I haven't found this exact error here or in Google. So I can upload attachments to my board, they show up in the Attachment Manager, but when I go to view the post, I get a mysql error:
Database error in vBulletin 3.6.8:
Invalid SQL:
SELECT dateline, thumbnail_dateline, filename, filesize, visible, attachmentid, counter, extratype,
postid, IF(thumbnail_filesize > 0, 1, 0) AS hasthumbnail, thumbnail_filesize,
attachmenttype.thumbnail AS build_thumbnail, attachmenttype.newwindow
FROM attachment
LEFT JOIN attachmenttype AS attachmenttype USING (extension)
WHERE postid IN (-1,12)
ORDER BY attachmentid;
MySQL Error : Unknown column 'extratype' in 'field list'
Error Number : 1054
I've searched the DB high and low for the EXTRATYPE and FIELD LIST, because it says an unknown column, but nothing. Keep in mind this is a fresh install of Vbul here and I've made very few changes to templates and I don't think any product I installed could affect this in such a manner because I've used them before without problems, but I guess anything is possible. Any ideas?