Portál AbcLinuxu, 12. května 2025 13:29
[Fri Jan 03 09:14:47 2014] [warn] [client 5.10.83.9] mod_fcgid: stderr: PHP Fatal error: Uncaught exception 'PrestaShopException' with message 'Shop not found' in /var/www/clients/client0/web15/web/classes/shop/Shop.php:370 [Fri Jan 03 09:14:47 2014] [warn] [client 5.10.83.9] mod_fcgid: stderr: Stack trace: [Fri Jan 03 09:14:47 2014] [warn] [client 5.10.83.9] mod_fcgid: stderr: #0 /var/www/clients/client0/web15/web/config/config.inc.php(94): ShopCore::initialize() [Fri Jan 03 09:14:47 2014] [warn] [client 5.10.83.9] mod_fcgid: stderr: #1 /var/www/clients/client0/web15/web/index.php(28): require('/var/www/client...') [Fri Jan 03 09:14:47 2014] [warn] [client 5.10.83.9] mod_fcgid: stderr: #2 {main} [Fri Jan 03 09:14:47 2014] [warn] [client 5.10.83.9] mod_fcgid: stderr: thrown in /var/www/clients/client0/web15/web/classes/shop/Shop.php on line 370Server jede na debian 7.3.0, apache, mysql, ispconfig. Nesetkali jste se prosím někdy s tímto problémem? A jak jste jej případně řešili? Už se s tím docela dlouho trápím a pořád bez výsledku
else { $shop = new Shop($id_shop); if (!Validate::isLoadedObject($shop) || !$shop->active || !$id_shop) { // No shop found ... too bad, let's redirect to default shop $default_shop = new Shop(Configuration::get('PS_SHOP_DEFAULT')); // Hmm there is something really bad in your Prestashop ! if (!Validate::isLoadedObject($default_shop)) toto je řádek 370 throw new PrestaShopException('Shop not found'); $params = $_GET; unset($params['id_shop']); if (!Configuration::get('PS_REWRITING_SETTINGS')) $url = 'http://'.$default_shop->domain.$default_shop->getBaseURI().'index.php?'.http_build_query($params); else {
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.