Jump to content
  • 0

Aktualizacja z 1.6.0.9 do 1.6.0.11 błąd


swiety21

Question

Po aktualizacji z wersji 1.6.0.9 do 1.6.0.11 niestety cos takiego:

 

Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File(/var/www/vhosts/dafi-water-heater.com/httpdocscache) is not within the allowed path(s): (/var/www/vhosts/dafi-water-heater.com/httpdocs:/tmp) in /var/www/vhosts/dafi-water-heater.com/httpdocs/classes/PrestaShopAutoload.php on line 151

[PrestaShopDatabaseException]

Table 'dafi-water-heater.ps_shop' doesn't exist
 

SELECT *FROM `ps_shop` aWHERE (a.id_shop = 1) LIMIT 1
at line 635 in file classes/db/Db.php

 

629. 			WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$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 *FROM `ps_shop` aWHERE (a.id_shop = 1) LIMIT 1
  • DbCore->query - [line 547 - classes/db/Db.php] - [1 Arguments]
    541. 		if ($use_cache && $this->is_cache_enabled && ($result = Cache::getInstance()->get(Tools::encryptIV($sql))) !== false)542. 		{543. 			$this->last_cached = true;544. 			return $result;545. 		}546. 		$this->result = $this->query($sql);547. 		if (!$this->result)548. 			$result = false;549. 		else550. 			$result = $this->nextRow($this->result);551. 		$this->last_cached = false;		
    Argument [0]SELECT *FROM `ps_shop` aWHERE (a.id_shop = 1) LIMIT 1
  • DbCore->getRow - [line 217 - classes/ObjectModel.php] - [1 Arguments]
    211. 				}212. 213. 				// Get shop informations214. 				if (Shop::isTableAssociated($this->def['table']))215. 					$sql->leftJoin($this->def['table'].'_shop', 'c', 'a.'.$this->def['primary'].' = c.'.$this->def['primary'].' AND c.id_shop = '.(int)$this->id_shop);216. 				if ($object_datas = ObjectModel::$db->getRow($sql))217. 				{218. 					if (!$id_lang && isset($this->def['multilang']) && $this->def['multilang'])219. 					{220. 						$sql = 'SELECT * FROM `'.pSQL(_DB_PREFIX_.$this->def['table']).'_lang`221. 								WHERE `'.bqSQL($this->def['primary']).'` = '.(int)$id
    Argument [0]DbQuery Object(    [query:protected] => Array        (            [select] => Array                (                )            [from] => Array                (                    [0] => `ps_shop` a                )            [join] => Array                (                )            [where] => Array                (                    [0] => a.id_shop = 1                )            [group] => Array                (                )            [having] => Array                (                )            [order] => Array                (                )            [limit] => Array                (                    [offset] => 0                    [limit] => 0                )        ))
  • ObjectModelCore->__construct - [line 131 - classes/shop/Shop.php] - [3 Arguments]
    125. 	 * @param int $id_lang126. 	 * @param int $id_shop127. 	 */128. 	public function __construct($id = null, $id_lang = null, $id_shop = null)129. 	{130. 		parent::__construct($id, $id_lang, $id_shop);131. 		if ($this->id)132. 			$this->setUrl();133. 	}134. 	135. 	/**
    Argument [0]1Argument [1]Argument [2]
  • ShopCore->__construct - [line 392 - classes/shop/Shop.php] - [1 Arguments]
    386. 					$_SERVER['REMOTE_ADDR'] = '127.0.0.1';387. 			}388. 		}389. 		else390. 		{391. 			$shop = new Shop($id_shop);392. 			if (!Validate::isLoadedObject($shop) || !$shop->active)393. 			{394. 				// No shop found ... too bad, let's redirect to default shop395. 				$default_shop = new Shop(Configuration::get('PS_SHOP_DEFAULT'));396. 
    Argument [0]1
  • ShopCore::initialize - [line 97 - config/config.inc.php]
    91. $context = Context::getContext();92. 93. /* Initialize the current Shop */94. try 95. {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 27 - index.php] - [1 Arguments]

 

 

ma ktos moze jakis pomysl dla laika jak to rozwiazac. Bede wdzieczny :)

 

Link to comment
Share on other sites

3 answers to this question

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...