Data too long for column 'request_uri' at row 1
INSERT INTO `ps_pagenotfound` (`request_uri`, `http_referer`, `date_add`, `id_shop`, `id_shop_group`)
VALUES ('/el/home/4-%25CF%2584%25CF%2581%25CE%25B9%25CF%2580%25CE%25BB%25CE%25AE_%25CF%2583%25CF%2585%25CF%2583%25CE%25BA%25CE%25B5%25CF%2585%25CE%25B1%25CF%2583%25CE%25AF%25CE%25B1_%25CE%25B3%25CE%25B9%25CE%25B1_%25CE%25B3%25CF%2585%25CE%25BD%25CE%25B1%25CE%25AF%25CE%25BA%25CE%25B5%25CF%2583.html', '', NOW(), 1, 1)
at line 791 in file classes/db/Db.php
786. if ($webservice_call && $errno) {
787. $dbg = debug_backtrace();
788. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
789. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {
790. if ($sql) {
791. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
792. }
793.
794. throw new PrestaShopDatabaseException($this->getMsgError());
795. }
796. }
420. $this->result = $this->_query($sql);
421. }
422. }
423.
424. if (_PS_DEBUG_SQL_) {
425. $this->displayError($sql);
426. }
427.
428. return $this->result;
429. }
430.
Argument [0] INSERT INTO `ps_pagenotfound` (`request_uri`, `http_referer`, `date_add`, `id_shop`, `id_shop_group`) VALUES ('/el/home/4-%25CF%2584%25CF%2581%25CE%25B9%25CF%2580%25CE%25BB%25CE%25AE_%25CF%2583%25CF%2585%25CF%2583%25CE%25BA%25CE%25B5%25CF%2585%25CE%25B1%25CF%2583%25CE%25AF%25CE%25B1_%25CE%25B3%25CE%25B9%25CE%25B1_%25CE%25B3%25CF%2585%25CE%25BD%25CE%25B1%25CE%25AF%25CE%25BA%25CE%25B5%25CF%2583.html', '', NOW(), 1, 1)
596. {
597. if ($sql instanceof DbQuery) {
598. $sql = $sql->build();
599. }
600.
601. $this->result = $this->query($sql);
602. if ($use_cache && $this->is_cache_enabled) {
603. Cache::getInstance()->deleteQuery($sql);
604. }
605.
606. return (bool)$this->result;
Argument [0] INSERT INTO `ps_pagenotfound` (`request_uri`, `http_referer`, `date_add`, `id_shop`, `id_shop_group`) VALUES ('/el/home/4-%25CF%2584%25CF%2581%25CE%25B9%25CF%2580%25CE%25BB%25CE%25AE_%25CF%2583%25CF%2585%25CF%2583%25CE%25BA%25CE%25B5%25CF%2585%25CE%25B1%25CF%2583%25CE%25AF%25CE%25B1_%25CE%25B3%25CE%25B9%25CE%25B1_%25CE%25B3%25CF%2585%25CE%25BD%25CE%25B1%25CE%25AF%25CE%25BA%25CE%25B5%25CF%2583.html', '', NOW(), 1, 1)
187. Db::getInstance()->execute(
188. '
189. INSERT INTO `'._DB_PREFIX_.'pagenotfound` (`request_uri`, `http_referer`, `date_add`, `id_shop`, `id_shop_group`)
190. VALUES (\''.pSQL($request_uri).'\', \''.pSQL($http_referer).'\', NOW(), '.(int)$this->context->shop->id.', '.(int)$this->context->shop->id_shop_group.')
191. '
192. );
193. }
194. }
195. }
196.
197. private function _normalizeDirectory($directory)
Argument [0] INSERT INTO `ps_pagenotfound` (`request_uri`, `http_referer`, `date_add`, `id_shop`, `id_shop_group`) VALUES ('/el/home/4-%25CF%2584%25CF%2581%25CE%25B9%25CF%2580%25CE%25BB%25CE%25AE_%25CF%2583%25CF%2585%25CF%2583%25CE%25BA%25CE%25B5%25CF%2585%25CE%25B1%25CF%2583%25CE%25AF%25CE%25B1_%25CE%25B3%25CE%25B9%25CE%25B1_%25CE%25B3%25CF%2585%25CE%25BD%25CE%25B1%25CE%25AF%25CE%25BA%25CE%25B5%25CF%2583.html', '', NOW(), 1, 1)
1129. $hook_args['altern'] = ++$altern;
1130. // Call hook method
1131. if ($hook_callable)
1132. $display = $moduleInstance->{'hook'.$hook_name}($hook_args);
1133. elseif ($hook_retro_callable)
1134. $display = $moduleInstance->{'hook'.$retro_hook_name}($hook_args);
1135. $output .= $display;
1136. }
1137. }
1138. return $output;
1139. }
Argument [0]
1023. else
1024. $optionModules = array();
1025. if ($optionModules && is_array($optionModules) && sizeof($optionModules)>0)
1026. foreach ($optionModules as $optionModule){
1027. $moduleObject = Module::getInstanceByName($optionModule[0]);
1028. $html .= $this->ModuleHookExec($moduleObject, $optionModule[1]);
1029. }
1030. }
1031. return $html;
1032. }
1033. private function getIdThemeMetaByPage($page=null){
Argument [0] Argument [1] displayTop
1359. }
1360. public function hookDisplayNav($params){
1361. return $this->generalHook('displayNav');
1362. }
1363. public function hookDisplayTop($params){
1364. return $this->generalHook('displayTop');
1365. }
1366. public function hookdisplayTopColumn(){
1367. return $this->generalHook('displayTopColumn');
1368. }
1369. public function hookdisplayLeftColumn($params){
Argument [0] displayTop
582. }
583. }
584.
585. // Immediately return the result if we do not log performances
586. if (!Module::$_log_modules_perfs) {
587. return $module->{$method}($params);
588. }
589.
590. // Store time and memory before and after hook call and save the result in the database
591. $time_start = microtime(true);
592. $memory_start = memory_get_usage(true);
Argument [0]
537. Tools::waitUntilFileIsModified($moduleInstance->push_filename, $moduleInstance->push_time_limit);
538. }
539.
540. // Call hook method
541. if ($hook_callable) {
542. $display = Hook::coreCallHook($moduleInstance, 'hook'.$hook_name, $hook_args);
543. } elseif ($hook_retro_callable) {
544. $display = Hook::coreCallHook($moduleInstance, 'hook'.$retro_hook_name, $hook_args);
545. }
546.
547. // Live edit
Argument [0] Argument [1] hookdisplayTop Argument [2]
575. if (!$this->useMobileTheme()) {
576. // These hooks aren't used for the mobile theme.
577. // Needed hooks are called in the tpl files.
578. $this->context->smarty->assign(array(
579. 'HOOK_HEADER' => Hook::exec('displayHeader'),
580. 'HOOK_TOP' => Hook::exec('displayTop'),
581. 'HOOK_LEFT_COLUMN' => ($this->display_column_left ? Hook::exec('displayLeftColumn') : ''),
582. 'HOOK_RIGHT_COLUMN' => ($this->display_column_right ? Hook::exec('displayRightColumn', array('cart' => $this->context->cart)) : ''),
583. ));
584. } else {
585. $this->context->smarty->assign('HOOK_MOBILE_HEADER', Hook::exec('displayMobileHeader'));
Argument [0] displayTop
96. } elseif (in_array(Tools::strtolower(substr($_SERVER['REQUEST_URI'], -3)), array('.js', 'css'))) {
97. $this->context->cookie->disallowWriting();
98. exit;
99. }
100.
101. parent::initContent();
102.
103. $this->setTemplate(_PS_THEME_DIR_.'404.tpl');
104. }
105.
106. protected function canonicalRedirection($canonical_url = '')
184. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
185. $this->initHeader();
186. }
187.
188. if ($this->viewAccess()) {
189. $this->initContent();
190. } else {
191. $this->errors[] = Tools::displayError('Access denied.');
192. }
193.
194. if (!$this->content_only && ($this->display_footer || (isset($this->className) && $this->className))) {
362. if (isset($params_hook_action_dispatcher)) {
363. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
364. }
365.
366. // Running controller
367. $controller->run();
368. } catch (PrestaShopException $e) {
369. $e->displayMessage();
370. }
371. }
372.
23. * @license http://opensource.org/licenses/osl-3.0.php 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();