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

: Installazione componente EventList calendar
: 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', '', '');
: Re: Installazione componente EventList calendar
: bigham 19 Oct 2008, 21:08:33
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
: Re: Installazione componente EventList calendar
: molly85 19 Oct 2008, 22:08:49
Grazie mille per l'aiuto! Ora è tutto a posto
: Re: Installazione componente EventList calendar
: bigham 19 Oct 2008, 22:18:55
Prego, di nulla!  :D
: Re: Installazione componente EventList calendar
: magnatilomellini 28 Nov 2008, 15:09:39
Ho lo stesso problema...

Dove lo trovo il file jos da eliminare??
: Re: Installazione componente EventList calendar
: bigham 28 Nov 2008, 23:47:53
Ho lo stesso problema...

Dove lo trovo il file jos da eliminare??

Non è un file ma una tabella del database ;)
: Re: Installazione componente EventList calendar
: Saverio83 06 Jan 2009, 16:50:10
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
: Re: Installazione componente EventList calendar
: filpi5481 06 Jan 2009, 23:08:28
ciao

basta che entri nel tuo mysql, poi selezioni la tabella di eventlist jos_eventlist e la elimini

ora riprova ad installarlo

ciao