Joomla.it Forum
Non solo Joomla... => Database => : fidello 16 Apr 2009, 11:16:45
-
erver A ruba, Joomla 1.5.10, installo il componente Fabrik, ver 2.0 rc2 ma il processo termina con questo errore
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /web/htdocs/www.miosito.it/home/administrator/components/com_fabrik/installation/install.fabrik.php on line 97
dopo l'installazione degli esempi
TableGroup::store failed - Table 'databae_1.jos_fabrik_groups' doesn't exist SQL=INSERT INTO `jos_fabrik_groups` ( `name`,`label`,`is_join`,`state` ) VALUES ( 'Contact Details','Contact Details','0','1' )
e se vado nel componente per creare una table appare subito questo
Table 'database_1.jos_fabrik_tables' doesn't exist SQL=SELECT count(*) FROM jos_fabrik_tables
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /web/htdocs/www.miosito.it/home/administrator/components/com_fabrik/controllers/table.php on line 749
Ho postato sul loro forum ma senza ricevere risposta, qualcuno utilizza questo modulo in condizioni simili? Esiste un modulo che faccia le stesse cose, creazione table e report?
grazie
-
Il setup non ha creato le tabelle nel db, quindi ho provato io a crearle,
CREATE TABLE IF NOT EXISTS `jos__fabrik_log` (
`id` INT( 10 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`timedate_created` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ,
`referring_url` VARCHAR( 255 ) NOT NULL ,
`message_type` CHAR( 60 ) NOT NULL ,
`message` TEXT NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
ma il server va in errore e non la crea
#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 'CURRENT_TIMESTAMP ,
`referring_url` VARCHAR( 255 ) NOT NULL ,
Credo che se riuscissi fargliere creare, il modulo funzioni.
Consigli?