![]() |
Quote:
|
Database error in vBulletin 3.8.8:
Invalid SQL: CREATE TABLE IF NOT EXISTS `coupons` ( `couponid` int(10) unsigned NOT NULL auto_increment, `couponname` varchar(50) NOT NULL default '', `couponvalue` int(3) unsigned NOT NULL default '0', `couponvalidfrom` DATE, `couponvalidto` DATE, PRIMARY KEY (`couponid`) ) 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 8 Error Number : 1064 Request Date : Tuesday, September 1st 2015 @ 04:27:39 AM Error Date : Tuesday, September 1st 2015 @ 04:27:39 AM Script : http://www.premiumkenti.com/gizlicp/...=productimport Referrer : http://www.premiumkenti.com/gizlicp/...?do=productadd IP Address : REMOVED Username : REMOVED Classname : vB_Database MySQL Version : 5.5.42-cll |
Quote:
Also please do not report a modification thread unless its a security risk, a general error is not deemed a report worthy.... umm report! Edit: Ignore the below strike through notes, I left them for reference purposes only. Instead of doing the below edit, simply download the file "product-vbdiscountsTYPE-OR-ENGINE-MySQL-Fix.xml " and install that XML file instead of the one included, this willnew version will check to see what mysql version you're on and assign type or engine accordingly. I took the original file and edited for those who do not know how. *This is NOT required unless you have an error identical to Premiumkenti's issue above. [S]On a side note, seems the .xml needs to be edited, edit the .xml file with Notepad++ (Google it and download and install that program to edit, DO NOT USE Windows Notepad/Wordpad it can cause issues) and find this in the file: Code:
TYPE=MyISAM; Code:
ENGINE=MyISAM; |
Updated once more, the fixed file "product-vbdiscountsTYPE-OR-ENGINE-MySQL-Fix.xml" now checks your mysql version and assigns TYPE or ENGINE accordingly :cool:.
Example: PHP Code:
|
All times are GMT. The time now is 01:37 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:
|