sginares Posted June 17, 2014 Share Posted June 17, 2014 (edited) Buenos días, he actualizado de la versión 1.4 a la 1.6 utilizando el módulo 1-click upgrade y al finalizar, refresqué la página y no puedo acceder al panel de administración ni ver el frontpage. He habilitado en config/defines.inc.php para que se vean los errores y me da errores Debajo copio todos los errores que me aparecen en: http://www.mitienda.es/tienda/admin0/index.php?controller=AdminLogin&token=bc481a3ebe97be186d8430c227465fe5&redirect=AdminModules Por favor, necesito ayuda urgente para solucionarlo, es una tienda que estaba online funcionando y debo dejarla actualizada. ¿Alguna idea para solucionar estos errores y que vuelva a verse la tienda? Table '1654257-1.pss_shop_url' doesn't exist SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main FROM pss_shop_url su LEFT JOIN pss_shop s ON (s.id_shop = su.id_shop) WHERE (su.domain = 'www.regaloutilbebe.es' OR su.domain_ssl = 'www.regaloutilbebe.es') AND s.active = 1 AND s.deleted = 0 ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC at line 635 in file classes/db/Db.php 629. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);630. }631. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))632. {633. if ($sql)634. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');635. throw new PrestaShopDatabaseException($this->getMsgError());636. }637. }638.639. /** DbCore->displayError - [line 325 - classes/db/Db.php] - [1 Arguments] 319. if ($sql instanceof DbQuery)320. $sql = $sql->build();321.322. $this->result = $this->_query($sql);323. if (_PS_DEBUG_SQL_)324. $this->displayError($sql);325. return $this->result;326. }327.328. /**329. * Execute an INSERT query Argument [0]SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main FROM pss_shop_url su LEFT JOIN pss_shop s ON (s.id_shop = su.id_shop) WHERE (su.domain = 'www.regaloutilbebe.es' OR su.domain_ssl = 'www.regaloutilbebe.es') AND s.active = 1 AND s.deleted = 0 ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC DbCore->query - [line 501 - classes/db/Db.php] - [1 Arguments] 495. {496. $this->last_cached = true;497. return $result;498. }499.500. $this->result = $this->query($sql);501.502. if (!$this->result)503. $result = false;504. else505. { Argument [0]SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main FROM pss_shop_url su LEFT JOIN pss_shop s ON (s.id_shop = su.id_shop) WHERE (su.domain = 'www.regaloutilbebe.es' OR su.domain_ssl = 'www.regaloutilbebe.es') AND s.active = 1 AND s.deleted = 0 ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC DbCore->executeS - [line 329 - classes/shop/Shop.php] - [1 Arguments]323. WHERE (su.domain = \''. pSQL($host).'\' OR su.domain_ssl = \''. pSQL($host).'\')324. AND s.active = 1325. AND s.deleted = 0326. ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC';327.328. $result = Db::getInstance()->executeS($sql);329. foreach ($result as $row)330. {331. // An URL matching current shop was found332. if (preg_match('#^'.preg_quote($row['uri'], '#').'#i', $request_uri))333. { Argument [0]SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main FROM pss_shop_url su LEFT JOIN pss_shop s ON (s.id_shop = su.id_shop) WHERE (su.domain = 'www.regaloutilbebe.es' OR su.domain_ssl = 'www.regaloutilbebe.es') AND s.active = 1 AND s.deleted = 0 ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC 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. { Argument [0]/home/regalout/www/tienda/config/config.inc.php Edited June 17, 2014 by sginares (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts