Hobbes Posted April 9, 2014 Share Posted April 9, 2014 (edited) Bonjour, En utilisant autoupgrade v1.3.5 de la version 1.4.11 vers 1.6.0.5, j'obtiens une "Mise à jour réalisée avec succès" mais lors du rafraîchissement de la page j'obtiens : [PrestaShopException] Shop not foundat line 387 in file classes/shop/Shop.php 381. // No shop found ... too bad, let's redirect to default shop382. $default_shop = new Shop(Configuration::get('PS_SHOP_DEFAULT'));383.384. // Hmm there is something really bad in your Prestashop !385. if (!Validate::isLoadedObject($default_shop))386. throw new PrestaShopException('Shop not found');387.388. $params = $_GET;389. unset($params['id_shop']);390. $url = $default_shop->domain;391. if (!Configuration::get('PS_REWRITING_SETTINGS')) ShopCore::initialize - [line 94 - config/config.inc.php] 88. $context = Context::getContext();89.90. /* Initialize the current Shop */91. try92. {93. $context->shop = Shop::initialize();94. $context->theme = new Theme((int)$context->shop->id_theme);95. if ((Tools::isEmpty($theme_name = $context->shop->getTheme()) || !Validate::isLoadedObject($context->theme)) && !defined('_PS_ADMIN_DIR_'))96. throw new PrestaShopException(Tools::displayError('Current theme unselected. Please check your theme configuration.'));97. } 98. catch (PrestaShopException $e) require - [line 34 - admin/index.php] - [1 Arguments] 28. define('_PS_ADMIN_DIR_', getcwd());29.30. if (!defined('PS_ADMIN_DIR'))31. define('PS_ADMIN_DIR', _PS_ADMIN_DIR_);32.33. require(_PS_ADMIN_DIR_.'/../config/config.inc.php');34. require(_PS_ADMIN_DIR_.'/functions.php');35.36. //small test to clear cache after upgrade37. if (Configuration::get('PS_UPGRADE_CLEAR_CACHE'))38. { Si certains ont déjà rencontré ce problème, leur avis est bienvenu. Edited April 24, 2014 by Hobbes (see edit history) Link to comment Share on other sites More sharing options...
Hobbes Posted April 10, 2014 Author Share Posted April 10, 2014 Je viens de tester la version 1.3.6 de l'autoupdate et même problème !! Une solution ? Link to comment Share on other sites More sharing options...
Hobbes Posted April 24, 2014 Author Share Posted April 24, 2014 Après avoir pris contact avec la "forge", il s'agit d'un bug qui a été résolu pour le passage vers la 1.6 (mais pas pour un passage vers la 1.5) avec la dernière version 1.3.11 du module autoupgrade. En fait, il s'agit du dossier "override" qui contenait encore un fichier shop.php. En le supprimant tout est rentré dans l'ordre. 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