Мда... Теперь даже не дает войти в учетную запись....
[PrestaShopDatabaseException]
Unknown column 'w.default' in 'field list'
SELECT SQL_NO_CACHE w.`id_wishlist`, w.`name`, w.`token`, w.`date_add`, w.`date_upd`, w.`counter`, w.`default`
FROM `ps_wishlist` w
WHERE `id_customer` = 17
AND id_shop = 1
ORDER BY w.`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 99 - tools/profiling/Db.php] - [1 Arguments]
93.
94. // Execute query
95. $start = microtime(true);
96. }
97.
98. $result = parent::query($sql);
99.
100. if (!$explain)
101. {
102. $end = microtime(true);
103.
Db->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. else
505. {
DbCore->executeS - [line 224 - modules/blockwishlist/WishList.php] - [1 Arguments]
218. $result = Db::getInstance()->executeS('
219. SELECT w.`id_wishlist`, w.`name`, w.`token`, w.`date_add`, w.`date_upd`, w.`counter`, w.`default`
220. FROM `'._DB_PREFIX_.'wishlist` w
221. WHERE `id_customer` = '.(int)($id_customer).'
222. '.$shop_restriction.'
223. ORDER BY w.`name` ASC');
224. Cache::store($cache_id, $result);
225. }
226. return Cache::retrieve($cache_id);
227. }
228.
WishList::getByIdCustomer - [line 155 - modules/blockwishlist/blockwishlist.php] - [1 Arguments]
149.
150. public function hookTop($params)
151. {
152. if ($this->context->customer->isLogged())
153. {
154. $wishlists = Wishlist::getByIdCustomer($this->context->customer->id);
155. if (empty($this->context->cookie->id_wishlist) === true ||
156. WishList::exists($this->context->cookie->id_wishlist, $this->context->customer->id) === false)
157. {
158. if (!count($wishlists))
159. $id_wishlist = false;
BlockWishList->hookTop - [line 509 - classes/Hook.php] - [1 Arguments]
503.
504. // Call hook method
505. if ($hook_callable)
506. $display = $moduleInstance->{'hook'.$hook_name}($hook_args);
507. elseif ($hook_retro_callable)
508. $display = $moduleInstance->{'hook'.$retro_hook_name}($hook_args);
509. // Live edit
510. if (!$array_return && $array['live_edit'] && Tools::isSubmit('live_edit') && Tools::getValue('ad') && Tools::getValue('liveToken') == Tools::getAdminToken('AdminModulesPositions'.(int)Tab::getIdFromClassName('AdminModulesPositions').(int)Tools::getValue('id_employee')))
511. {
512. $live_edit = true;
513. $output .= self::wrapLiveEdit($display, $moduleInstance, $array['id_hook']);
HookCore::exec - [line 60 - tools/profiling/Hook.php] - [7 Arguments]
54. $module_list_ids[] = $module['id_module'];
55. self::$executedModules = array_merge(self::$executedModules, $module_list_ids);
56. }
57. $memoryUsage = memory_get_usage();
58. $t0 = microtime(true);
59. $result = parent::exec($hook_name, $hook_args, $id_module, $array_return, $check_exceptions, $use_push, $id_shop);
60. self::$hookTime[$hook_name] = microtime(true) - $t0;
61. self::$hookMemoryUsage[$hook_name] = memory_get_usage() - $memoryUsage;
62. return $result;
63. }
64. }
Hook::exec - [line 444 - classes/controller/FrontController.php] - [1 Arguments]
438. {
439. // These hooks aren't used for the mobile theme.
440. // Needed hooks are called in the tpl files.
441. $this->context->smarty->assign(array(
442. 'HOOK_HEADER' => Hook::exec('displayHeader'),
443. 'HOOK_TOP' => Hook::exec('displayTop'),
444. 'HOOK_LEFT_COLUMN' => ($this->display_column_left ? Hook::exec('displayLeftColumn') : ''),
445. 'HOOK_RIGHT_COLUMN' => ($this->display_column_right ? Hook::exec('displayRightColumn', array('cart' => $this->context->cart)) : ''),
446. ));
447. }
448. else
FrontControllerCore->initContent - [line 46 - controllers/front/MyAccountController.php]
40. * Assign template vars related to page content
41. * @see FrontController::initContent()
42. */
43. public function initContent()
44. {
45. parent::initContent();
46.
47. $has_address = $this->context->customer->getAddresses($this->context->language->id);
48. $this->context->smarty->assign(array(
49. 'has_customer_an_address' => empty($has_address),
50. 'voucherAllowed' => (int)CartRule::isFeatureActive(),
MyAccountControllerCore->initContent - [line 227 - tools/profiling/Controller.php]
221. $this->initHeader();
222. $this->_memory['initHeader'] = memory_get_usage();
223. $this->_mempeak['initHeader'] = memory_get_peak_usage();
224. $this->_time['initHeader'] = microtime(true);
225.
226. $this->initContent();
227. $this->_memory['initContent'] = memory_get_usage();
228. $this->_mempeak['initContent'] = memory_get_peak_usage();
229. $this->_time['initContent'] = microtime(true);
230.
231. if (!$this->content_only && ($this->display_footer || (isset($this->className) && $this->className)))
Controller->run - [line 373 - classes/Dispatcher.php]
367. // Execute hook dispatcher
368. if (isset($params_hook_action_dispatcher))
369. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
370.
371. // Running controller
372. $controller->run();
373. }
374. catch (PrestaShopException $e)
375. {
376. $e->displayMessage();
377. }
DispatcherCore->dispatch - [line 28 - index.php]
22. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
23. * International Registered Trademark & Property of PrestaShop SA
24. */
25.
26. require(dirname(__FILE__).'/config/config.inc.php');
27. Dispatcher::getInstance()->dispatch();
Легче всего наверно будет заново установить CMS и произвести настройку магазина....