Adelson Posted October 19, 2018 Share Posted October 19, 2018 Estou realizando a instalação da versão 1.7.2.0 e o debug mostra o erro abaixo, estou instalando em uam hospedagem WEB. [PrestaShopException] Shop not foundat line 418 in file classes/shop/Shop.php 413. // No shop found ... too bad, let's redirect to default shop 414. $default_shop = new Shop(Configuration::get('PS_SHOP_DEFAULT')); 415. 416. // Hmm there is something really bad in your Prestashop ! 417. if (!Validate::isLoadedObject($default_shop)) { 418. throw new PrestaShopException('Shop not found'); 419. } 420. 421. $params = $_GET; 422. unset($params['id_shop']); 423. $url = $default_shop->domain; ShopCore::initialize - [line 120 - config/config.inc.php] 115. 116. $context = Context::getContext(); 117. 118. /* Initialize the current Shop */ 119. try { 120. $context->shop = Shop::initialize(); 121. } catch (PrestaShopException $e) { 122. $e->displayMessage(); 123. } 124. define('_THEME_NAME_', $context->shop->theme->getName()); 125. define('_PARENT_THEME_NAME_', $context->shop->theme->get('parent') ?: ''); require - [line 27 - index.php] - [1 Arguments] 22. * @copyright 2007-2017 PrestaShop SA 23. * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) 24. * International Registered Trademark & Property of PrestaShop SA 25. */ 26. 27. require(dirname(__FILE__).'/config/config.inc.php'); 28. Dispatcher::getInstance()->dispatch(); Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/dhtechco/loja4.dhtech.com.br/classes/exception/PrestaShopException.php on line 152Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/dhtechco/loja4.dhtech.com.br/classes/log/FileLogger.php on line 42 Link to comment Share on other sites More sharing options...
neogest.com.br Posted October 22, 2018 Share Posted October 22, 2018 On 18/10/2018 at 11:34 PM, Adelson said: Estou realizando a instalação da versão 1.7.2.0 e o debug mostra o erro abaixo, estou instalando em uam hospedagem WEB. [PrestaShopException] Shop not foundat line 418 in file classes/shop/Shop.php 413. // No shop found ... too bad, let's redirect to default shop 414. $default_shop = new Shop(Configuration::get('PS_SHOP_DEFAULT')); 415. 416. // Hmm there is something really bad in your Prestashop ! 417. if (!Validate::isLoadedObject($default_shop)) { 418. throw new PrestaShopException('Shop not found'); 419. } 420. 421. $params = $_GET; 422. unset($params['id_shop']); 423. $url = $default_shop->domain; ShopCore::initialize - [line 120 - config/config.inc.php] 115. 116. $context = Context::getContext(); 117. 118. /* Initialize the current Shop */ 119. try { 120. $context->shop = Shop::initialize(); 121. } catch (PrestaShopException $e) { 122. $e->displayMessage(); 123. } 124. define('_THEME_NAME_', $context->shop->theme->getName()); 125. define('_PARENT_THEME_NAME_', $context->shop->theme->get('parent') ?: ''); require - [line 27 - index.php] - [1 Arguments] 22. * @copyright 2007-2017 PrestaShop SA 23. * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) 24. * International Registered Trademark & Property of PrestaShop SA 25. */ 26. 27. require(dirname(__FILE__).'/config/config.inc.php'); 28. Dispatcher::getInstance()->dispatch(); Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/dhtechco/loja4.dhtech.com.br/classes/exception/PrestaShopException.php on line 152Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/dhtechco/loja4.dhtech.com.br/classes/log/FileLogger.php on line 42 Experimente atualizar a versão do php da sua hospedagem para 7.0. 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