[ dr.dexy @ 24.08.2012. 19:10 ] @
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 'ENGINE=MyISAM' at line 1
Was working on CREATE TABLE `crep_pages` ( `id` mediumint(9) unsigned NOT NULL auto_increment, `name` tinytext character set utf8 collate utf8_unicode_ci NOT NULL, `added` date NOT NULL default '0000-00-00', `ref` mediumint(9) default '0', `se` mediumint(9) default '0',`internal` mediumint(9) default '0', `other` mediumint(9) default '0', `old` mediumint(9) default '0', UNIQUE KEY `id` (`id`) ) ENGINE=MyISAM.

Sta da radim, pomozite?
[ bogdan.kecman @ 24.08.2012. 20:18 ] @
Citat:
dr.dexy:
syntax to use near 'ENGINE=MyISAM'


umesto TYPE koristi ENGINE

dakle treba da bude ENGINE=MyISAM

to je neka prastara verzija DRUPAL-a ili tako nesto? Novi drupal je popravio tu gresku, TYPE sintaksa je bila deprecated 10 godina i sad je najzad ukinuta tako da... moraces da ili skines noviji drupal (koji normalno pravi create sa ENGINE) ili ces editovati taj skript koji generise tabele i uradi search replace sa ENGINE=MyISAM na ENGINE=MyISAM i sve ce raditi
[ dr.dexy @ 24.08.2012. 20:48 ] @
zamenuo sam i sada su se sve tabele kreirale, hvala puno!