Joomla.it Forum
Joomla! 1.0.x (versione con supporto terminato) => Le voci di Joomla.it (solo per versione Joomla 1.0.x) => Installazione => : molly85 19 Oct 2008, 13:50:03
-
Ciao a tutti! E' la prima volta che scrivo nel forum...spero qualcuno possa aiutarmi in quanto sono un pò ignorante in materia. Cmq il mio problema è questo: quando installo il componente EventList mi compare questo errore! Ho fatto ricerche per trovare la soluzione ma senza risultato.
Spero possiate aiutarmi.
JInstaller::install: Errore SQL. DB function failed with error number 1062
Duplicate entry '1' for key 1 SQL=INSERT INTO `jos_eventlist_settings` VALUES (1, 0, 1, 0, 1, 1, 1, 0, '', '', '100%', '15%', '25%', '20%', '20%', 'Date', 'Title', 'Venue', 'City', '%d.%m.%Y', '%H.%M', 'h', 1, 0, 1, 1, 1, 1, 1, 2, -2, 0, 'example@example.com', 0, '1000', -2, -2, -2, 1, '20%', 'Type', 1, 1, 1, 1, '100', '100', '100', 0, 1, 0, 0, 1, 2, 2, -2, 1, 0, -2, 1, 0, 0, '[title], [a_name], [catsid], [times]', 'The event titled [title] starts on [dates]!', 0, 'State', 0, '', 1, 0, '1174491851', '', '');
SQL =
INSERT INTO `jos_eventlist_settings` VALUES (1, 0, 1, 0, 1, 1, 1, 0, '', '', '100%', '15%', '25%', '20%', '20%', 'Date', 'Title', 'Venue', 'City', '%d.%m.%Y', '%H.%M', 'h', 1, 0, 1, 1, 1, 1, 1, 2, -2, 0, 'example@example.com', 0, '1000', -2, -2, -2, 1, '20%', 'Type', 1, 1, 1, 1, '100', '100', '100', 0, 1, 0, 0, 1, 2, 2, -2, 1, 0, -2, 1, 0, 0, '[title], [a_name], [catsid], [times]', 'The event titled [title] starts on [dates]!', 0, 'State', 0, '', 1, 0, '1174491851', '', '');componente Installa: Errore file sql non leggibile o non presente. DB function failed with error number 1062
Duplicate entry '1' for key 1 SQL=INSERT INTO `jos_eventlist_settings` VALUES (1, 0, 1, 0, 1, 1, 1, 0, '', '', '100%', '15%', '25%', '20%', '20%', 'Date', 'Title', 'Venue', 'City', '%d.%m.%Y', '%H.%M', 'h', 1, 0, 1, 1, 1, 1, 1, 2, -2, 0, 'example@example.com', 0, '1000', -2, -2, -2, 1, '20%', 'Type', 1, 1, 1, 1, '100', '100', '100', 0, 1, 0, 0, 1, 2, 2, -2, 1, 0, -2, 1, 0, 0, '[title], [a_name], [catsid], [times]', 'The event titled [title] starts on [dates]!', 0, 'State', 0, '', 1, 0, '1174491851', '', '');
SQL =
INSERT INTO `jos_eventlist_settings` VALUES (1, 0, 1, 0, 1, 1, 1, 0, '', '', '100%', '15%', '25%', '20%', '20%', 'Date', 'Title', 'Venue', 'City', '%d.%m.%Y', '%H.%M', 'h', 1, 0, 1, 1, 1, 1, 1, 2, -2, 0, 'example@example.com', 0, '1000', -2, -2, -2, 1, '20%', 'Type', 1, 1, 1, 1, '100', '100', '100', 0, 1, 0, 0, 1, 2, 2, -2, 1, 0, -2, 1, 0, 0, '[title], [a_name], [catsid], [times]', 'The event titled [title] starts on [dates]!', 0, 'State', 0, '', 1, 0, '1174491851', '', '');
-
Ciao molly85.
Benvenuta/o nel forum di Joomla.it :D
Forse hai omesso di dire che avevi già installato il componente? ;D
L'errore è generato dalle istruzioni SQL di installazione quanto tentano di inserire un record nella tabella jos_eventlist_settings che già ne contiene. In particolare si tenta di inserire un record con chiave primaria già presente nella tabella.
Il messaggio Duplicate entry '1' for key 1 significa proprio questo: sto inserendo un record con chiave 1 nella tabella ma ne trovo uno con la stessa chiave già presente.
Quindi direi di eliminare la tabella jos_eventlist_settings, anzi tutte le tabelle jos_eventlist che ci sono nel database e riprovare a installare il componente.
Ciao
-
Grazie mille per l'aiuto! Ora è tutto a posto
-
Prego, di nulla! :D
-
Ho lo stesso problema...
Dove lo trovo il file jos da eliminare??
-
Ho lo stesso problema...
Dove lo trovo il file jos da eliminare??
Non è un file ma una tabella del database ;)
-
Ciao Ragazzi, ho provatoad installare il compomente e mi da lo stesso errore, come posso fare? Non capisco dove trovere le tabelle ecc... Vi prego aiutatemi
-
ciao
basta che entri nel tuo mysql, poi selezioni la tabella di eventlist jos_eventlist e la elimini
ora riprova ad installarlo
ciao