Ho ricontrollato e, francamente, mi pare che non ci siano errori nelle virgolette. Oltretutto la query è stata generata in automatico da mysqladm perchè, per testare il componente avevo generato le tabelle attraverso l'interfaccia grafica.
Provo a fare come mi hai detto:
ecco la query:
DROP TABLE IF EXISTS `#__docenti`;
CREATE TABLE `#__docenti` (
`nomeutente` text NOT NULL,
`password` text NOT NULL,
`tipo` text NOT NULL,
`max_file` int(11) NOT NULL default '0',
`ext` text NOT NULL )
DEFAULT CHARSET=utf8;
INSERT INTO `#__docenti` VALUES ('docenti', 'docenti', 'general', 500, '.doc, .pdf, .zip');
INSERT INTO `#__docenti` VALUES ('docenti', 'docenti', 'jolly', 500, '.doc, .pdf, .zip');
DROP TABLE IF EXISTS `#__attachment`;
CREATE TABLE `#__attachment` (
`id` int(11) NOT NULL default '0',
`pass` text NOT NULL,
`tipo` text NOT NULL,
`descrizione` text NOT NULL,
`filename` text NOT NULL )
DEFAULT CHARSET=utf8;
ed ecco il messaggio di errore:
JInstaller::install: Errore SQL. DB function failed with error number 1064
Errore di sintassi nella query SQL vicino a 'DROP TABLE IF EXISTS `jos_docenti`' linea 1 SQL=DROP TABLE IF EXISTS `jos_docenti`;
SQL =
DROP TABLE IF EXISTS `jos_docenti`;componente Installa: Errore file sql non leggibile o non presente. DB function failed with error number 1064
Errore di sintassi nella query SQL vicino a 'DROP TABLE IF EXISTS `jos_docenti`' linea 1 SQL=DROP TABLE IF EXISTS `jos_docenti`;
SQL =
DROP TABLE IF EXISTS `jos_docenti`;
Grazie ancora per l'aiuto