Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Ошибка после переноса товаров с ocstore 2.3


Recommended Posts

Здравствуйте! Подскажите не получается перенести базу с ocstore 2.3 в ocstore 3

Категории:

Циии

Notice: Undefined index: noindex in C:\OSPanel\domains\....\admin\controller\catalog\category.php on line 723Notice: Undefined index: noindex in C:\OSPanel\domains\....\admin\controller\catalog\category.php on line 723Notice: Undefined index: noindex in C:\OSPanel\domains\....\admin\controller\catalog\category.php on line 723Notice: Undefined index: noindex in C:\OSPanel\domains\....\admin\controller\catalog\category.php on line 723Notice: Undefined index: noindex in C:\OSPanel\domains\....\admin\controller\catalog\category.php on line 723Notice: Undefined index: noindex in C:\OSPanel\domains\....\admin\controller\catalog\category.php on line 723Notice: Undefined index: noindex in C:\OSPanel\domains\....\admin\controller\catalog\category.php on line 723Notice: Undefined index: noindex in C:\OSPanel\domains\....\admin\controller\catalog\category.php on line 723Notice: Undefined index: noindex in C:\OSPanel\domains\....\admin\controller\catalog\category.php on line 723Notice: Undefined index: noindex in C:\OSPanel\domains\....\admin\controller\catalog\category.php on line 723

При редактировании товаров:

Циии

Fatal error: Uncaught exception 'Exception' with message 'Error: Unknown column 'c1.noindex' in 'field list'<br />Error No: 1054<br />SELECT cp.category_id AS category_id, GROUP_CONCAT(cd1.name ORDER BY cp.level SEPARATOR '&nbsp;&nbsp;&gt;&nbsp;&nbsp;') AS name, c1.parent_id, c1.sort_order, c1.noindex FROM oc_category_path cp LEFT JOIN oc_category c1 ON (cp.category_id = c1.category_id) LEFT JOIN oc_category c2 ON (cp.path_id = c2.category_id) LEFT JOIN oc_category_description cd1 ON (cp.path_id = cd1.category_id) LEFT JOIN oc_category_description cd2 ON (cp.category_id = cd2.category_id) WHERE cd1.language_id = '1' AND cd2.language_id = '1' GROUP BY cp.category_id ORDER BY sort_order ASC' in C:\OSPanel\domains\....\system\library\db\mysqli.php:40 Stack trace: #0 C:\OSPanel\domains\....\system\library\db.php(45): DB\MySQLi->query('SELECT cp.categ...') #1 C:\OSPanel\domains\....\admin\model\catalog\category.php(339): DB->query('SELECT cp.categ...') #2 C:\OSPanel\domains\....\admin\model\catalog\category in C:\OSPanel\domains\....\system\library\db\mysqli.php on line 40

Причем икое только на ocstore, opencart 3 нормально все переносит.

Link to comment
Share on other sites


13 хвилини назад, ZloyNoDobriy сказав:

все тут есть

 

в БД нету

Link to comment
Share on other sites

26 минут назад, ZloyNoDobriy сказал:

Unknown column 'c1.noindex' in 'field list'

написано же черным по белому. в базе нет икой колонки

  • +1 1
Link to comment
Share on other sites


  • 5 months later...
В 03.04.2020 в 18:36, hapuga911 сказал:

а как в итоге добавить эту колонку

типа икого

ALTER TABLE `oc_category` ADD `noindex` AFTER `date_modified` boolean DEFAULT true;
ALTER TABLE `oc_product` ADD `noindex` AFTER `date_modified` boolean DEFAULT true;

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.