
Originally Posted by
boomup
Hey gilby
i got the error info, just as following, please help me out, thanks a lot
PHP Fatal error: 1064: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 7 :: CREATE TABLE IF NOT EXISTS zen_products_xsell1 (
`ID` int(10) NOT NULL auto_increment,
`products_id` int(10) unsigned NOT NULL default '1',
`xsell_id` int(10) unsigned NOT NULL default '1',
`sort_order` int(10) unsigned NOT NULL default '1',
PRIMARY KEY (`ID`),
KEY `idx_products_id_xsell` (`products_id`) ) TYPE=MyISAM in /public_html/includes/classes/db/mysql/query_factory.php on line 101
Edit YOUR_RENAMED_ADMIN\includes\functions\extra_functions\multi_xsell.php
Around line 294 find
PHP Code:
KEY `idx_products_id_xsell` (`products_id`) ) TYPE=MyISAM");
Change to
PHP Code:
KEY `idx_products_id_xsell` (`products_id`) ) ENGINE=MyISAM");
TYPE is now deprecated
and ENGINE is the correct replacement.
See if that works?
Bookmarks