![]() |
Spam-o-matic database error
Hello,
I am trying to install spam-o-matic but I keep getting the following error... How can I fix this? Database error in vBulletin 3.8.2: Invalid SQL: CREATE TABLE IF NOT EXISTS `vb_glowhostspamomatic_log`( `date` DATETIME NOT NULL, `ip` VARCHAR(15) NOT NULL, `email` VARCHAR(255) NOT NULL, `username` VARCHAR(255) NOT NULL, `message` VARCHAR(255) NOT NULL, `is_blocked` TINYINT NOT NULL DEFAULT "0", `user_hash` VARCHAR(50) NOT NULL, `user_id` INT NOT NULL ) TYPE=MyISAM;; MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 10 Error Number : 1064 Request Date : Tuesday, December 2nd 2014 @ 09:01:31 AM Error Date : Tuesday, December 2nd 2014 @ 09:01:31 AM Script : http://myurl.com/admincp/plugin.php?do=productimport Referrer : http://myurl.com/admincp/plugin.php?do=productadd IP Address : Username : Classname : vB_Database MySQL Version : 5.5.40-36.1 |
Should work if you remove
PHP Code:
|
You should be posting this in the plugin for support but try Dave's post first
|
And if that does not work you can try to change:
Code:
TYPE=MyISAM; Code:
TYPE=ENGINE; |
No, no, no, not TYPE=ENGINE; it's ENGINE=MyISAM;
|
Quote:
|
Right but it is not TYPE=Engine, that is just wrong. :)
The older TYPE= option was synonymous with ENGINE=. TYPE was deprecated in MySQL 4.0 and removed in MySQL 5.5. When upgrading to MySQL 5.5 or later, you must convert existing applications that rely on TYPE to use ENGINE instead. |
Quote:
|
Sure, either removing TYPE=MyISAM; or changing it to ENGINE=MyISAM; will allow the OP to import the mod.
But any issues after that, the OP will have to ask for support in the modifications thread. :) |
Quote:
|
All times are GMT. The time now is 06:29 AM. |
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:
|