onyx01 Posted April 21, 2015 Share Posted April 21, 2015 Witam. Proszę forumowiczów o pomoc. Posiadam Prestę postawioną na Hekko.pl Na sklepie jest raptem 319 produktów, które są tam bardziej w charakterze informacyjnym niż z zamysłem sprzedaży. Do sklepu nie można dodać nowych produktów, ani edytować obecnych. Za każdym razem pojawia się błąd "Wystąpił błąd podczas aktualizacji obiektu. product ()" Napisałem do administracji Hekko. Odpowiedź jaką otrzymałem to: Uprzejmie informuję, że skrypt nieprawidłowo się wykonuje, widać to w logach jak np:[Mon Apr 20 09:22:37.837780 2015] [core:error] [pid 21568:tid 124810932012800] [client 80.55.170.49:49999] End of script output before headers: php-fcgi, referer: http://sklep.damaro.pl/admin1013/index.php?controller=AdminProducts&id_product=1&updateproduct&token=d60caed8cc3e46aad48779c7fab03689Proszę sprawdzić czy wyłączenie pluginów rozwiąże problem, w innym wypadku sugerujemy kontakt z programistą. Proszę o pomoc w rozwiązaniu problemu. Link to comment Share on other sites More sharing options...
endriu107 Posted April 21, 2015 Share Posted April 21, 2015 Włącz tryb debugowania może pojawią sie jakieś błędy. Link to comment Share on other sites More sharing options...
onyx01 Posted April 21, 2015 Author Share Posted April 21, 2015 Włącz tryb debugowania może pojawią sie jakieś błędy. at line 646 in file classes/db/Db.php 641. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);642. }643. elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))644. {645. if ($sql)646. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');647. throw new PrestaShopDatabaseException($this->getMsgError());648. }649. }650. 651. /** Link to comment Share on other sites More sharing options...
onyx01 Posted April 21, 2015 Author Share Posted April 21, 2015 DbCore->displayError - [line 340 - classes/db/Db.php] - [1 Arguments] Argument [0] UPDATE `ps_employee` SET `last_connection_date` = CURRENT_DATE() WHERE `id_employee` = 0 AND `last_connection_date`< CURRENT_DATE() DbCore->query - [line 480 - classes/db/Db.php] - [1 Arguments] Argument [0] UPDATE `ps_employee` SET `last_connection_date` = CURRENT_DATE() WHERE `id_employee` = 0 AND `last_connection_date`< CURRENT_DATE() DbCore->execute - [line 460 - classes/Employee.php] - [1 Arguments] Argument [0] UPDATE `ps_employee` SET `last_connection_date` = CURRENT_DATE() WHERE `id_employee` = 0 AND `last_connection_date`< CURRENT_DATE() EmployeeCore::setLastConnectionDate - [line 2458 - classes/controller/AdminController.php] - [1 Arguments] 2453. $this->context->smarty->assign(array( 2454. 'displayBackOfficeTop' => Hook::exec('displayBackOfficeTop', array()), 2455. 'submit_form_ajax' => (int)Tools::getValue('submitFormAjax') 2456. )); 2457. 2458. Employee::setLastConnectionDate($this->context->employee->id); 2459. 2460. $this->initProcess(); 2461. $this->initBreadcrumbs(); 2462. $this->initModal(); 2463. } AdminControllerCore->init - [line 163 - classes/controller/Controller.php] 158. /** 159. * Start controller process (this method shouldn't be overriden !) 160. */ 161. public function run() 162. { 163. $this->init(); 164. if ($this->checkAccess()) 165. { 166. // setMedia MUST be called before postProcess 167. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) 168. $this->setMedia(); ControllerCore->run - [line 373 - classes/Dispatcher.php] 368. // Execute hook dispatcher 369. if (isset($params_hook_action_dispatcher)) 370. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 371. 372. // Running controller 373. $controller->run(); 374. } 375. catch (PrestaShopException $e) 376. { 377. $e->displayMessage(); 378. } DispatcherCore->dispatch - [line 54 - admin/index.php] 49. $_POST['controller'] = strtolower($_POST['tab']); 50. if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab'])) 51. $_REQUEST['controller'] = strtolower($_REQUEST['tab']); 52. 53. // Prepare and trigger admin dispatcher 54. Dispatcher::getInstance()->dispatch(); 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