Joomla.it Forum

Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => : nobalc 01 Nov 2010, 19:24:35

: [Risolto] Joomfish errore DB numero 2006
: nobalc 01 Nov 2010, 19:24:35
Installando il componente JoomFish 2.0.4 mi compare questo errore:

:
        * JInstaller::install: Errore SQL. DB function failed with error number 2006
          MySQL server has gone away SQL=CREATE TABLE IF NOT EXISTS `jos_languages` ( `id` int(11) NOT NULL auto_increment, `name` varchar(100) NOT NULL default '', `active` tinyint(1) NOT NULL default '0', `iso` varchar(20) default NULL, `code` varchar(20) NOT NULL default '', `shortcode` varchar(20) default NULL, `image` varchar(100) default NULL, `fallback_code` varchar(20) NOT NULL default '', `params` text NOT NULL default '', `ordering` int(11) NOT NULL default '0', PRIMARY KEY (`id`) ) TYPE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
          SQL =

          CREATE TABLE IF NOT EXISTS `jos_languages` (
          `id` int(11) NOT NULL auto_increment,
          `name` varchar(100) NOT NULL default '',
          `active` tinyint(1) NOT NULL default '0',
          `iso` varchar(20) default NULL,
          `code` varchar(20) NOT NULL default '',
          `shortcode` varchar(20) default NULL,
          `image` varchar(100) default NULL,
          `fallback_code` varchar(20) NOT NULL default '',
          `params` text NOT NULL default '',
          `ordering` int(11) NOT NULL default '0',
          PRIMARY KEY  (`id`)
          ) TYPE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

        * componente Installa: Errore file sql non leggibile o non presente. DB function failed with error number 2006
          MySQL server has gone away SQL=CREATE TABLE IF NOT EXISTS `jos_languages` ( `id` int(11) NOT NULL auto_increment, `name` varchar(100) NOT NULL default '', `active` tinyint(1) NOT NULL default '0', `iso` varchar(20) default NULL, `code` varchar(20) NOT NULL default '', `shortcode` varchar(20) default NULL, `image` varchar(100) default NULL, `fallback_code` varchar(20) NOT NULL default '', `params` text NOT NULL default '', `ordering` int(11) NOT NULL default '0', PRIMARY KEY (`id`) ) TYPE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
          SQL =

          CREATE TABLE IF NOT EXISTS `jos_languages` (
          `id` int(11) NOT NULL auto_increment,
          `name` varchar(100) NOT NULL default '',
          `active` tinyint(1) NOT NULL default '0',
          `iso` varchar(20) default NULL,
          `code` varchar(20) NOT NULL default '',
          `shortcode` varchar(20) default NULL,
          `image` varchar(100) default NULL,
          `fallback_code` varchar(20) NOT NULL default '',
          `params` text NOT NULL default '',
          `ordering` int(11) NOT NULL default '0',
          PRIMARY KEY  (`id`)
          ) TYPE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

        * Error Loading ModulesMySQL server has gone away SQL=SELECT id, title, module, position, content, showtitle, control, params FROM jos_modules AS m LEFT JOIN jos_modules_menu AS mm ON mm.moduleid = m.id WHERE m.published = 1 AND m.access <= 2 AND m.client_id = 1 ORDER BY position, ordering

Come posso risolvere???
Grazie a tutti.

Ciao
nobalc
: Re:Joomfish errore DB numero 2006
: ilvanni 01 Nov 2010, 20:44:29
Ciao, specifica anche se sei in locale e che ver. di php usi tu se sei in locale o il server se il sito è in remoto.

Hai provato anche ad installarlo una seconda volta? Alcune volte quell'errore compare perchè va in timeout il server durante l'installazione.
: Re:Joomfish errore DB numero 2006
: ninuzzu89 02 Nov 2010, 00:04:56
Ho lo stesso tuo problema da tempo e credimi non riesco a risolvere nemmeno io.Se ci riesci fammi sapere eh.
Segui quì eventualmente
http://forum.joomla.it/index.php/topic,115688.0.html (http://forum.joomla.it/index.php/topic,115688.0.html)
: Re:Joomfish errore DB numero 2006
: nobalc 02 Nov 2010, 00:50:43
Ciao, specifica anche se sei in locale e che ver. di php usi tu se sei in locale o il server se il sito è in remoto.

Hai provato anche ad installarlo una seconda volta? Alcune volte quell'errore compare perchè va in timeout il server durante l'installazione.


Sono su alterv**** ed il php è 5.
Per quanto riguarda il timeout, è ben vero che il server sia lento ma è anche vero che ho provato una decina di vote in tempi diversi e sempre con il medesimo errore. Comunque continuerò a provare visto anche che il JoomFish è piuttosto "pesante".
Ti tengo aggiornato.

Grazie

Ciao
nobalc
: Re:Joomfish errore DB numero 2006
: nobalc 02 Nov 2010, 00:54:54
Ho lo stesso tuo problema da tempo e credimi non riesco a risolvere nemmeno io.Se ci riesci fammi sapere eh.
Segui quì eventualmente
http://forum.joomla.it/index.php/topic,115688.0.html (http://forum.joomla.it/index.php/topic,115688.0.html)

Mi sembra che il tuo errore sia diverso dal mio, comunque non manchero di postare in questo thread se arriverò alla soluzione.
Grazie

ciao
nobalc
: Re:Joomfish errore DB numero 2006
: Sottolerighe 02 Nov 2010, 09:12:01
A prima vista pare che mysql ti abbia disconnesso e di solito queste cose avvengono a seguito di timeout per operazioni troppo lunghe
:
MySQL server has gone away
DB function failed with error number 2006

Qua e la su internet ho letto qualche post di gente con problemi simili in fase di installazione di componenti.
Qualcuno ha risolto scompattando lo zip del componente in una cartella temporanea e installando il tutto da li.
: Re:Joomfish errore DB numero 2006
: nobalc 03 Nov 2010, 18:28:06
Grazie Sottolerighe!!!

Ho installato da cartella ed ha funzionato.
Era proprio un problema dovuto al time-out.

Grazie a tutti.

Ciao
nobalc
: Re:[Risolto] Joomfish errore DB numero 2006
: ninuzzu89 03 Nov 2010, 19:49:25
Ma nella cartella tmp metto il file .zip o scompattato?
: Re:[Risolto] Joomfish errore DB numero 2006
: nobalc 03 Nov 2010, 19:50:50
Scompattato
: Re:[Risolto] Joomfish errore DB numero 2006
: ninuzzu89 03 Nov 2010, 19:56:32
Niente da fare,mi da sempre lo stesso errore.Mannaggia :(
: Re:[Risolto] Joomfish errore DB numero 2006
: nobalc 03 Nov 2010, 21:04:06
Hai inserito il percorso esatto della cartella tmp?
Io l'ho copiato dalla configurazione di Joomla nella sezione server:
sito/configurazione/server/percorso della cartella temporanea

Ha funzionato al primo colpo...

Ciao