![]() |
Database problems
Can anyone tell me how to rebuild this table, bear in mind I no next to nothing about databases, I have access to myphpadmin.
Database error in vBulletin 4.2.0: Invalid SQL: SELECT m.*, d.firstpostid, fp.title as discussiontitle, fp.postuserid as discussionuserid, fp.postusername as discussionusername, fp.dateline as discussiondateline FROM groupmessage AS m JOIN discussion d ON m.discussionid = d.discussionid JOIN groupmessage fp ON d.firstpostid = fp.gmid WHERE m.gmid >= 0 AND m.gmid <= 0; MySQL Error : Table 'reignofc_vb.discussion' doesn't exist Error Number : 1146 Request Date : Saturday, August 11th 2012 @ 03:42:25 AM Error Date : Saturday, August 11th 2012 @ 03:42:26 AM Script : http://www.reign-of-chaos.co.uk/admi...0&indextypes=0 Referrer : http://www.reign-of-chaos.co.uk/admi...0&indextypes=0 |
You are missing the table you need add it
|
Quote:
|
Quote:
|
Quote:
$schema['CREATE']['query']['discussion'] = " CREATE TABLE " . TABLE_PREFIX . "discussion ( discussionid INT unsigned NOT NULL auto_increment, groupid INT unsigned NOT NULL, firstpostid INT unsigned NOT NULL, lastpostid INT unsigned NOT NULL, lastpost INT unsigned NOT NULL, lastposter VARCHAR(255) NOT NULL, lastposterid INT unsigned NOT NULL, visible INT unsigned NOT NULL default '0', deleted INT unsigned NOT NULL default '0', moderation INT unsigned NOT NULL default '0', subscribers ENUM('0', '1') default '0', PRIMARY KEY (discussionid), KEY groupid (groupid, lastpost) ) do not see how to input the bottom 2 rows of info |
1 Attachment(s)
Run this sql, I also uploaded the sql
This is from 4.1.12 I dont have 4.2 installed so check first to make sure no changes to that table before using Code:
DROP TABLE IF EXISTS `discussion`; |
All times are GMT. The time now is 07: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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|