Jump to content

Blank page after save on products


Recommended Posts

Hello to all

 

Yesterday i have upgrade my prestashop website to the new 1.6 version.

 

Everithing looks ok but when i try to edit a product i have a blank page on save.

 

i have activate the debug and i have this errors

 

Anyone to help me to find a solution on this ?

 

Thank you

 

 

 


[PrestaShopDatabaseException]

MySQL server has gone away
 

		SELECT *		FROM `nf_quick_access` qa		LEFT JOIN `nf_quick_access_lang` qal ON (qa.`id_quick_access` = qal.`id_quick_access` AND qal.`id_lang` = 1)		ORDER BY `name` ASC
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
  • 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. 		{
  • DbCore->executeS - [line 65 - classes/QuickAccess.php] - [1 Arguments]
    Argument [0]		SELECT *		FROM `nf_quick_access` qa		LEFT JOIN `nf_quick_access_lang` qal ON (qa.`id_quick_access` = qal.`id_quick_access` AND qal.`id_lang` = 1)		ORDER BY `name` ASC
  • QuickAccessCore::getQuickAccesses - [line 1520 - classes/controller/AdminController.php] - [1 Arguments]
    1514. 	{1515. 		// Multishop1516. 		$is_multishop = Shop::isFeatureActive();1517. 1518. 		// Quick access1519. 		$quick_access = QuickAccess::getQuickAccesses($this->context->language->id);1520. 		foreach ($quick_access as $index => $quick)1521. 		{1522. 			if ($quick['link'] == '../' && Shop::getContext() == Shop::CONTEXT_SHOP)1523. 			{1524. 				$url = $this->context->shop->getBaseURL();
  • AdminControllerCore->initHeader - [line 177 - classes/controller/Controller.php]
    171. 172. 			if (!empty($this->redirect_after))173. 				$this->redirect();174. 175. 			if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))176. 				$this->initHeader();177. 178. 			if ($this->viewAccess())179. 				$this->initContent();180. 			else181. 				$this->errors[] = Tools::displayError('Access denied.');
  • ControllerCore->run - [line 373 - classes/Dispatcher.php]
    367. 			// Execute hook dispatcher368. 			if (isset($params_hook_action_dispatcher))369. 				Hook::exec('actionDispatcher', $params_hook_action_dispatcher);370. 371. 			// Running controller372. 			$controller->run();373. 		}374. 		catch (PrestaShopException $e)375. 		{376. 			$e->displayMessage();377. 		}
  • DispatcherCore->dispatch - [line 54 - admin/index.php]
    48. 	$_POST['controller'] = strtolower($_POST['tab']);49. if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab']))50. 	$_REQUEST['controller'] = strtolower($_REQUEST['tab']);51. 52. // Prepare and trigger admin dispatcher53. Dispatcher::getInstance()->dispatch();

 

Link to comment
Share on other sites

×
×
  • Create New...