Emre-worker Posted June 2, 2017 Share Posted June 2, 2017 Bonjour, J'ai pas mal de soucis avec un prestashop que je reprends en main, pour ce topic il s'agit d'une erreur 500 provoqué par cette erreur pj capture d'écran. J'ai essayé de remplacer les fichiers d'enlever le cache etc... Mais rien n'y fait, n'étant pas très calé avec les variables j'ai préféré ne pas y toucher. Si quelqu'un à déjà eu se problème, please help me and let me know. Merci d'avance Link to comment Share on other sites More sharing options...
Matt K. Posted June 2, 2017 Share Posted June 2, 2017 Bonjour Tu as oublié la PJ non ? Link to comment Share on other sites More sharing options...
Emre-worker Posted June 2, 2017 Author Share Posted June 2, 2017 Yes merci j'avais pa vu $languages = array(); if (isset($context->language) && !in_array($context->language->id, $languages = Language::getLanguages())) { $languages[] = (int)$context->language->id; // Set default routes foreach ($languages as $lang) foreach ($this->default_routes as $id => $route) $this->addRoute( $id, l 437 ($route['rule'],) $route['controller'], $lang['id_lang'], $route['keywords'], isset($route['params']) ? $route['params'] : array(), $id_shop ); } Link to comment Share on other sites More sharing options...
Emre-worker Posted June 2, 2017 Author Share Posted June 2, 2017 (edited) PJ Edited June 2, 2017 by Emre-worker (see edit history) Link to comment Share on other sites More sharing options...
coeos.pro Posted June 2, 2017 Share Posted June 2, 2017 l 437 ($route['rule'],) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now