[email protected] Posted December 24, 2014 Share Posted December 24, 2014 (edited) [PrestaShopException] Shop not foundat line 400 in file classes/shop/Shop.php 394. // No shop found ... too bad, let's redirect to default shop395. $default_shop = new Shop(Configuration::get('PS_SHOP_DEFAULT'));396.397. // Hmm there is something really bad in your Prestashop !398. if (!Validate::isLoadedObject($default_shop))399. throw new PrestaShopException('Shop not found');400.401. $params = $_GET;402. unset($params['id_shop']);403. $url = $default_shop->domain;404. if (!Configuration::get('PS_REWRITING_SETTINGS')) ShopCore::initialize - [line 97 - config/config.inc.php] require - [line 34 - admin/index.php] - [1 Arguments] ShopCore::initialize - [line 97 - config/config.inc.php]91. $context = Context::getContext();92.93. /* Initialize the current Shop */94. try95. {96. $context->shop = Shop::initialize();97. $context->theme = new Theme((int)$context->shop->id_theme);98. if ((Tools::isEmpty($theme_name = $context->shop->getTheme()) || !Validate::isLoadedObject($context->theme)) && !defined('_PS_ADMIN_DIR_'))99. throw new PrestaShopException(Tools::displayError('Current theme unselected. Please check your theme configuration.'));100. }101. 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. { After Upgrade 1.4.11 to 1.6.0.9 .... It was this error. Pls help me... Edited December 24, 2014 by [email protected] (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted December 28, 2014 Share Posted December 28, 2014 You should have the name = PS_SHOP_DEFAULT record in ps_configuration table. Link to comment Share on other sites More sharing options...
ryboxx Posted July 20, 2015 Share Posted July 20, 2015 Pls help me!! I edited the "Translation e-mail" in "Location -> Translation". During the confirmation order by the customer an error: 500 Internal Error. In the logs I have a message: "Shop not found at line 403 in file classesshopShop.php". Pls help me quickly. Link to comment Share on other sites More sharing options...
Ray UK Posted July 21, 2015 Share Posted July 21, 2015 (edited) niknet, try deleting the class_index.php in the cache folder edit: oh, its a very old post lol maybe this could work for you too ryboxx Edited July 21, 2015 by MerseyRay (see edit history) Link to comment Share on other sites More sharing options...
ryboxx Posted July 21, 2015 Share Posted July 21, 2015 Thank you for your response Problem solved in this post: https://www.prestashop.com/forums/topic/455387-500-internal-error-podczas-potwierdzania-zam%C3%B3wienia-przez-klienta/?do=findComment&comment=2102118 Link to comment Share on other sites More sharing options...
hophuc Posted September 27, 2015 Share Posted September 27, 2015 (edited) Hi all, I have problems but I dont know to fix. My site have create on localhost and store on folder ../sites/store1 (good). I have backup folder and db from ../sites/store1 to ../sites/store2 and run http://localhost/sites/store2 have errors (the attachment file) Please help me find the errors, Thanks, Edited September 27, 2015 by hophuc (see edit history) 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