Jump to content

Brak możliwości dodawania i edytowania produktów


prozaq

Recommended Posts

WItam, mój problem polega jak w tytule na braku możliwości dodawania oraz edytowania produktów.

Problem pojawił się po przeniesieniu sklepu na nowy serwer. Na starym serwerze miałem wersję 1.7.2.4. Na nowym serwerze zainstalowałem już najnowszą 1.7.4.3 po czym zaimportowałem baze danych.

Z wszystkim sobie poradziłem poza opisanym problemem. Z tego co udało mi się ustalić to błąd w tabelach bazy danych, ale nie mam pojęcia co dalej.

Jeśli ktoś spotkał się z czymś podobnym bardzo proszę o poradę/sposób jak to naprawić.

Oto logi:

 

Level Channel Message
INFO 17:32:00 request Matched route "admin_product_new".
DEBUG 17:32:00 security Read existing security token from the session.
DEBUG 17:32:00 security User was reloaded from a user provider.
DEBUG 17:32:00 doctrine SELECT name FROM xxxxx_module WHERE active = 1
INFO 17:32:00 php User Deprecated: Implementing "Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface" without the "reset()" method is deprecated since Symfony 3.4 and will be unsupported in 4.0 for class "Csa\Bundle\GuzzleBundle\DataCollector\GuzzleCollector".
CRITICAL 17:32:00 php Uncaught Exception: Unknown column 'additional_delivery_times' in 'field list'<br /><br /><pre>INSERT INTO `xxxxx_product` (`id_shop_default`, `id_manufacturer`, `id_supplier`, `reference`, `supplier_reference`, `location`, `width`, `height`, `depth`, `weight`, `quantity_discount`, `ean13`, `isbn`, `upc`, `cache_is_pack`, `cache_has_attachments`, `is_virtual`, `state`, `additional_delivery_times`, `id_category_default`, `id_tax_rules_group`, `on_sale`, `online_only`, `ecotax`, `minimal_quantity`, `low_stock_threshold`, `low_stock_alert`, `price`, `wholesale_price`, `unity`, `unit_price_ratio`, `additional_shipping_cost`, `customizable`, `text_fields`, `uploadable_files`, `active`, `redirect_type`, `id_type_redirected`, `available_for_order`, `available_date`, `show_condition`, `condition`, `show_price`, `indexed`, `visibility`, `cache_default_attribute`, `advanced_stock_management`, `date_add`, `date_upd`, `pack_stock_type`) VALUES ('1', '0', '0', '', '', '', '0', '0', '0', '0', '0', '', '', '', '0', '0', '0', '0', '1', '2', '1', '0', '0', '0', '1', NULL, '0', '0', '0', '', '0', '0', '0', '0', '0', '0', '', '0', '1', '0000-00-00', '0', 'new', '1', '0', 'both', '0', '0', '2018-10-11 17:32:00', '2018-10-11 17:32:00', '3')</pre>
CRITICAL 17:32:00 request Uncaught PHP Exception PrestaShopDatabaseException: "Unknown column 'additional_delivery_times' in 'field list'<br /><br /><pre>INSERT INTO `xxxxx_product` (`id_shop_default`, `id_manufacturer`, `id_supplier`, `reference`, `supplier_reference`, `location`, `width`, `height`, `depth`, `weight`, `quantity_discount`, `ean13`, `isbn`, `upc`, `cache_is_pack`, `cache_has_attachments`, `is_virtual`, `state`, `additional_delivery_times`, `id_category_default`, `id_tax_rules_group`, `on_sale`, `online_only`, `ecotax`, `minimal_quantity`, `low_stock_threshold`, `low_stock_alert`, `price`, `wholesale_price`, `unity`, `unit_price_ratio`, `additional_shipping_cost`, `customizable`, `text_fields`, `uploadable_files`, `active`, `redirect_type`, `id_type_redirected`, `available_for_order`, `available_date`, `show_condition`, `condition`, `show_price`, `indexed`, `visibility`, `cache_default_attribute`, `advanced_stock_management`, `date_add`, `date_upd`, `pack_stock_type`) VALUES ('1', '0', '0', '', '', '', '0', '0', '0', '0', '0', '', '', '', '0', '0', '0', '0', '1', '2', '1', '0', '0', '0', '1', NULL, '0', '0', '0', '', '0', '0', '0', '0', '0', '0', '', '0', '1', '0000-00-00', '0', 'new', '1', '0', 'both', '0', '0', '2018-10-11 17:32:00', '2018-10-11 17:32:00', '3')</pre>" at /classes/db/Db.php line 746
Link to comment
Share on other sites

Zapomniałem napisać, że miałem właśnie problem z aktualizacją. Zmotywowałeśmnie jednak ponownie i co się okazało - wyszła nowa wersja 1-Click Upgrade 4.2. Teraz poszło idealnie, problem zniknął. Jutro sprawdzę jeszcze dokładnie, ale wydaje się wszystko grać :) Dziękuję Tobie bardzo.

Link to comment
Share on other sites

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...