Joomla.it Forum

Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => Installazione, migrazione e aggiornamento => : cucumiao 06 Feb 2011, 19:23:07

: [RISOLTO] You have an error in your SQL syntax
: cucumiao 06 Feb 2011, 19:23:07
ciao a tutti durante l'installazione, dopo l'inserimento dei parametri per il database mi esce una schermata con il seguente errore.
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 CHARACTER SET `utf8`' at line 29 SQL=CREATE TABLE `jos_banner` ( `bid` int(11) NOT NULL auto_increment, `cid` int(11) NOT NULL default '0', `type` varchar(30) NOT NULL default 'banner', `name` varchar(255) NOT NULL default '', `alias` varchar(255) NOT NULL default '', `imptotal` int(11) NOT NULL default '0', `impmade` int(11) NOT NULL default '0', `clicks` int(11) NOT NULL default '0', `imageurl` varchar(100) NOT NULL default '', `clickurl` varchar(200) NOT NULL default '', `date` datetime default NULL, `showBanner` tinyint(1) NOT NULL default '0', `checked_out` tinyint(1) NOT NULL default '0', `checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00', `editor` varchar(50) default NULL, `custombannercode` text, `catid` INTEGER UNSIGNED NOT NULL DEFAULT 0, `description` TEXT NOT NULL DEFAULT '', `sticky` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0, `ordering` INTEGER NOT NULL DEFAULT 0, `publish_up` datetime NOT NULL default '0000-00-00 00:00:00', `publish_down` datetime NOT NULL default '0000-00-00 00:00:00', `tags` TEXT NOT NULL DEFAULT '', `params` TEXT NOT NULL DEFAULT '', PRIMARY KEY (`bid`), KEY `viewbanner` (`showBanner`), INDEX `idx_banner_catid`(`catid`) ) TYPE=MyISAM CHARACTER SET `utf8`
ho fatto una ricerca su internet ho visto che altri hanno riscontrato il mio problema ma non ho trovato la soluzione per risolvere il problema..
Qualcuno sa come fare?
Grazie in anticipo :)
: Re:You have an error in your SQL syntax
: maicolstaip 06 Feb 2011, 20:25:08
Ciao  cucumiao,
sei in locale o su un server?

Il problema potrebbe essere dato dalla versione del php.
php 5.3.x nobbuono
php 5.2.x bbuono
: Re:You have an error in your SQL syntax
: cucumiao 07 Feb 2011, 08:22:39
si sono in locale, ora provo a cambiare versione e ti faccio sapere
: Re:You have an error in your SQL syntax
: cucumiao 07 Feb 2011, 08:36:49
porca paletta hai ragione ha funzionato.. mi è bastato cambiare versione di xampp
: Re:[RISOLTO] You have an error in your SQL syntax
: ciarenani 20 Feb 2011, 17:44:25
Ciao, scusate so che il topic è chiuso ma ho anche io lo stesso problema e non riesco a trovare la 1.7.3 di xampp per linux.
Il sito apachefriends mi fa scaricare solo la 1.74 e se guardo nelle versioni precedenti parla solo di 0.9 o 1. oppure 1.1.

Mi sai dire dove l'hai scaricata?
Grazie mille
: Re:[RISOLTO] You have an error in your SQL syntax
: mau_develop 20 Feb 2011, 18:07:58
http://www.google.com/search?q=xamp+old+version

M.
: Re:[RISOLTO] You have an error in your SQL syntax
: Daniele Pinna 24 Feb 2011, 23:35:30
Accc. stesso problema Xamp linux 1.7.4

Il problema si verifica con Joomla 1.5.22 ma non con Joomla 1.6.0

Vorrei capire... il problema è di Xamp o di PHP?

: Re:[RISOLTO] You have an error in your SQL syntax
: kribbyo 01 Mar 2011, 12:09:16
ho lo stesso problema ma non sono riuscito a risolverlo passando alla versione 5.2.17 di php.

Le versioni che uso sono

Apache 2.2.17
PHP 5.2.17
MySQL 5.5.9

Joomla 1.5.22

Qualche consiglio?
: Re:[RISOLTO] You have an error in your SQL syntax
: gigig 26 Jun 2012, 12:48:18
errore mio.. purtroppo non riesco a cancellarlo senza l'aiuto di un amministratore...
Scusate