Aller au contenu
Invision Board France

Translate Externally : There appears to be an error with the database.


Youp3

Messages recommandés

  • Administration

Si lors des étapes d'installation/mise à jour

  • 7. Dans le menu du pack Français (France), choisissez "Translate Externally..."
  • 3. Dans le menu du pack Français (France), choisissez "Traduction externe..."

vous rencontrez sans cesse l'erreur suivante :

votre_site Driver Error

There appears to be an error with the database.

If you are seeing this page, it means there was a problem communicating with our database. Sometimes this error is temporary and will go away when you refresh the page. Sometimes the error will need to be fixed by an administrator before the site will become accessible again.

You can try to refresh the page by clicking here

 

«Return to the index

voici les modifications à réaliser pour ne plus les avoir...

 

 

Dans ips_kernel/classDbMysqlClient.php :

Rechercher :

} // end class

Ajouter avant:

	public function ping()
{
	return mysql_ping($this->connection_id);
}

 

Dans ips_kernel/classDbMysqliClient.php :

Rechercher :

} // end class

Ajouter avant:

	public function ping()
{
	return mysqli_ping($this->connection_id);
}

 

Voici ce qui change...

Dans admin/applications/core/modules_admin/languages/manage_languages.php

Rechercher dans la fonction translateExtSplash :

			/* Sort files */
		ksort( $sessionData['files'] );

		/* Save session */

 

Remplacer par :

			/* Sort files */
		ksort( $sessionData['files'] );

		if (!$this->DB->ping())
		{
			$this->DB->obj['sql_user'] = ipsRegistry::$settings['sql_user'];
			$this->DB->obj['sql_pass'] = ipsRegistry::$settings['sql_pass'];
			$this->DB->obj['sql_host'] = ipsRegistry::$settings['sql_host'];
			$this->DB->connect();
		}

		/* Save session */

Lien vers le commentaire
Partager sur d’autres sites

Invité
Ce sujet ne peut plus recevoir de nouvelles réponses.
×
×
  • Créer...

Information importante

En utilisant ce site, vous êtes d’accords avec nos Conditions d’utilisation. Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookies, sinon nous supposerons que vous êtes d’accord pour continuer.