Jump to content

Erreur Php apres transfert Presta sur Ovh (language)


Recommended Posts

Bonjour,

 

Malgré les recherches et multiples contacts avec ovh mon site ne demarre pas, j'ai cet erreur bloquante, si quelqu'un peux m'aider.

 

Merci d'avance, je suis dispo une bonne partie de l'apres midi et plus si il le faut.

 

Claude

 

 

Warning: Invalid argument supplied for foreach() in /homez.382/fabriceat/www/classes/Language.php on line 606

Bad SubDomain SQL query.

 

Voila ce que j'ai au ligne indiqué :

 

* Load all languages in memory for caching

*/

public static function loadLanguages()

{

self::$_LANGUAGES = array();

$result = Db::getInstance()->ExecuteS('SELECT * FROM `'._DB_PREFIX_.'lang`');

foreach ($result AS $row)

self::$_LANGUAGES[(int)$row['id_lang']] = $row;

}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...