Многоуровневый импорт
Многоуровневый импорт
В версии 3.4.4. импорт работал корректно
Обновился до 3.7.1
Выбираю опцию Обновить и импортировать новые
Выбираю многоуровневый импорт > Товар > 2024-09
Выдает ошибку
Database Error: 1054 - Unknown column 'field_' in 'where clause'
Query: select id from app_entity_25 where field_258='349' and field_!='' limit 1
Page: //index.php?module=items/import&action=import&path=25&multilevel_import=26&token=AFiUbupApm
#0 includes\functions\database.php(104): mysqli_query()
#1 modules\items\components\_import.process.inc.php(388): db_query()
#2 modules\items\actions\import.php(141): require(':\\OpenS...')
#3 index.php(31): require('E:\\OpenS...')
#4 {main}
Если убрать, что заголовок уникальное поле
Database Error: 1054 - Unknown column 'field_' in 'where clause'
Query: select id from app_entity_25 where field_='' and parent_item_id = '0'
Page: /index.php?module=items/import&action=import&path=25&multilevel_import=26&token=AFiUbupApm
#0 includes\functions\database.php(104): mysqli_query()
#1 modules\items\components\_import.process.inc.php(492): db_query()
#2 modules\items\actions\import.php(141): require(':\\\\...')
#3 index.php(31): require(':\\\\OpenS...')
#4 {main}
Обновился до 3.7.1
Выбираю опцию Обновить и импортировать новые
Выбираю многоуровневый импорт > Товар > 2024-09
Выдает ошибку
Database Error: 1054 - Unknown column 'field_' in 'where clause'
Query: select id from app_entity_25 where field_258='349' and field_!='' limit 1
Page: //index.php?module=items/import&action=import&path=25&multilevel_import=26&token=AFiUbupApm
#0 includes\functions\database.php(104): mysqli_query()
#1 modules\items\components\_import.process.inc.php(388): db_query()
#2 modules\items\actions\import.php(141): require(':\\OpenS...')
#3 index.php(31): require('E:\\OpenS...')
#4 {main}
Если убрать, что заголовок уникальное поле
Database Error: 1054 - Unknown column 'field_' in 'where clause'
Query: select id from app_entity_25 where field_='' and parent_item_id = '0'
Page: /index.php?module=items/import&action=import&path=25&multilevel_import=26&token=AFiUbupApm
#0 includes\functions\database.php(104): mysqli_query()
#1 modules\items\components\_import.process.inc.php(492): db_query()
#2 modules\items\actions\import.php(141): require(':\\\\...')
#3 index.php(31): require(':\\\\OpenS...')
#4 {main}
Последний раз редактировалось klaud 02 июн 2026, 23:20, всего редактировалось 2 раза.
- support
- Техническая поддержка
- Сообщения: 7660
- Зарегистрирован: 19 окт 2014, 18:22
- Имя: Харчишин Сергей
- Откуда: Крым, Евпатория
Re: Многоуровневый импорт
Файл из архива замените в modules\items\components\
Сообщите результат.
Сообщите результат.
- Вложения
-
- _import.process.inc.zip
- (4.01 КБ) 123 скачивания
Re: Многоуровневый импорт
Warning: Undefined array key "update_by_field" in :\OpenServer\..\modules\items\components\_import.process.inc.php on line 24
Warning: Undefined array key "update_use_column" in :\OpenServer\modules\items\components\_import.process.inc.php on line 25
Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in :\OpenServer\modules\items\components\_import.process.inc.php on line 25
Warning: Undefined array key "update_use_column" in :\OpenServer\\modules\items\components\_import.process.inc.php on line 25
Warning: Undefined array key "" in :\OpenServer\modules\items\components\_import.process.inc.php on line 25
Warning: Undefined variable $where_sql in :\OpenServer\\modules\items\components\_import.process.inc.php on line 490
Database Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and parent_item_id = '0'' at line 1
Query: select id from app_entity_25 and parent_item_id = '0'
Page: /index.php?module=items/import&action=import&path=25&multilevel_import=26&token=
#0 includes\functions\database.php(104): mysqli_query()
#1 modules\items\components\_import.process.inc.php(492): db_query()
#2 modules\items\actions\import.php(141): require(':\\OpenS...')
#3 index.php(31): require(':\\OpenS...')
#4 {main}
Warning: Undefined array key "update_use_column" in :\OpenServer\modules\items\components\_import.process.inc.php on line 25
Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in :\OpenServer\modules\items\components\_import.process.inc.php on line 25
Warning: Undefined array key "update_use_column" in :\OpenServer\\modules\items\components\_import.process.inc.php on line 25
Warning: Undefined array key "" in :\OpenServer\modules\items\components\_import.process.inc.php on line 25
Warning: Undefined variable $where_sql in :\OpenServer\\modules\items\components\_import.process.inc.php on line 490
Database Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and parent_item_id = '0'' at line 1
Query: select id from app_entity_25 and parent_item_id = '0'
Page: /index.php?module=items/import&action=import&path=25&multilevel_import=26&token=
#0 includes\functions\database.php(104): mysqli_query()
#1 modules\items\components\_import.process.inc.php(492): db_query()
#2 modules\items\actions\import.php(141): require(':\\OpenS...')
#3 index.php(31): require(':\\OpenS...')
#4 {main}
Последний раз редактировалось klaud 01 июн 2026, 10:43, всего редактировалось 1 раз.
Re: Многоуровневый импорт
Warning: Undefined array key "update_by_field" in :\OpenServer\modules\items\components\_import.process.inc.php on line 24
Warning: Undefined array key "update_use_column" in :\OpenServer\modules\items\components\_import.process.inc.php on line 25
Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in :\OpenServer\modules\items\components\_import.process.inc.php on line 25
Warning: Undefined array key "update_use_column" in :\OpenServer\modules\items\components\_import.process.inc.php on line 25
Warning: Undefined array key "" in :\OpenServer\modules\items\components\_import.process.inc.php on line 25
Database Error: 1054 - Unknown column 'field_' in 'where clause'
Query: select id from app_entity_25 where field_='' and parent_item_id = '0'
Page: //index.php?module=items/import&action=import&path=25&multilevel_import=26&token=
#0 includes\functions\database.php(104): mysqli_query()
#1 modules\items\components\_import.process.inc.php(492): db_query()
#2 modules\items\actions\import.php(141): require(':\\OpenS...')
#3 index.php(31): require(':\\OpenS...')
#4 {main}
Warning: Undefined array key "update_use_column" in :\OpenServer\modules\items\components\_import.process.inc.php on line 25
Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in :\OpenServer\modules\items\components\_import.process.inc.php on line 25
Warning: Undefined array key "update_use_column" in :\OpenServer\modules\items\components\_import.process.inc.php on line 25
Warning: Undefined array key "" in :\OpenServer\modules\items\components\_import.process.inc.php on line 25
Database Error: 1054 - Unknown column 'field_' in 'where clause'
Query: select id from app_entity_25 where field_='' and parent_item_id = '0'
Page: //index.php?module=items/import&action=import&path=25&multilevel_import=26&token=
#0 includes\functions\database.php(104): mysqli_query()
#1 modules\items\components\_import.process.inc.php(492): db_query()
#2 modules\items\actions\import.php(141): require(':\\OpenS...')
#3 index.php(31): require(':\\OpenS...')
#4 {main}
Re: Многоуровневый импорт
Это на облачном хостинге, ошибка сохранилась
Database Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and parent_item_id = '0'' at line 1
Query: select id from app_entity_25 and parent_item_id = '0'
Page: //index.php?module=items/import&action=import&path=25&multilevel_import=26&token=
#0 includes/functions/database.php(104): mysqli_query()
#1 modules/items/components/_import.process.inc.php(492): db_query()
#2 modules/items/actions/import.php(141): require('/home/...')
#3 index.php(31): require('/home/...')
#4 {main}
Database Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and parent_item_id = '0'' at line 1
Query: select id from app_entity_25 and parent_item_id = '0'
Page: //index.php?module=items/import&action=import&path=25&multilevel_import=26&token=
#0 includes/functions/database.php(104): mysqli_query()
#1 modules/items/components/_import.process.inc.php(492): db_query()
#2 modules/items/actions/import.php(141): require('/home/...')
#3 index.php(31): require('/home/...')
#4 {main}
- ink64rus
- Сообщения: 47
- Зарегистрирован: 09 мар 2022, 10:34
- Имя: Михаил
- Откуда: Саратов
- Контактная информация:
Re: Многоуровневый импорт
Подтверждаю. Аналогичная история
- support
- Техническая поддержка
- Сообщения: 7660
- Зарегистрирован: 19 окт 2014, 18:22
- Имя: Харчишин Сергей
- Откуда: Крым, Евпатория
Re: Многоуровневый импорт
Нашел причину. Файл из архива замените в modules\items\components\
Работает?
Работает?
- Вложения
-
- _import.process.inc_fix2.zip
- (4.07 КБ) 116 скачиваний
Re: Многоуровневый импорт
Если просто обновить данные - работает
При импорт и обновить, ругался на заголовок подсущности (список товаров - код (324) )
Database Error: 1054 - Unknown column 'field_324' in 'WHERE'
Query: select id from app_entity_25 where field_258='0349' and field_324!='77' limit 1
Page: //index.php?module=items/import&action=import&path=25&multilevel_import=26&token=
#0 includes/functions/database.php(104): mysqli_query()
#1 modules/items/components/_import.process.inc.php(392): db_query()
#2 modules/items/actions/import.php(141): require('/home/users/c/c...')
#3 index.php(31): require('/home/users/c/c...')
#4 {main}
При импорт и обновить, ругался на заголовок подсущности (список товаров - код (324) )
Database Error: 1054 - Unknown column 'field_324' in 'WHERE'
Query: select id from app_entity_25 where field_258='0349' and field_324!='77' limit 1
Page: //index.php?module=items/import&action=import&path=25&multilevel_import=26&token=
#0 includes/functions/database.php(104): mysqli_query()
#1 modules/items/components/_import.process.inc.php(392): db_query()
#2 modules/items/actions/import.php(141): require('/home/users/c/c...')
#3 index.php(31): require('/home/users/c/c...')
#4 {main}
- support
- Техническая поддержка
- Сообщения: 7660
- Зарегистрирован: 19 окт 2014, 18:22
- Имя: Харчишин Сергей
- Откуда: Крым, Евпатория
Re: Многоуровневый импорт
Наше и эту проблему. Файл из архива замените в modules\items\components\
Сообщите результат.
Сообщите результат.
- Вложения
-
- _import.process.inc_fix3.zip
- (4.08 КБ) 121 скачивание
Re: Многоуровневый импорт
Импорт и обновление
Database Error: 1054 - Unknown column 'field_324' in 'where clause'
Query: select id from app_entity_25 where field_258='586' and field_324!='239' limit 1
Page: //index.php?module=items/import&action=import&path=25&multilevel_import=26&token=
#0 includes\functions\database.php(104): mysqli_query()
#1 modules\items\components\_import.process.inc.php(392): db_query()
#2 modules\items\actions\import.php(141): require('\\\\...')
#3 index.php(31): require(':\\\\...')
#4 {main}
Обновить
Database Error: 1054 - Unknown column 'field_324' in 'where clause'
Query: select id from app_entity_25 where field_258='349' and field_324!='77' limit 1
Page: //index.php?module=items/import&action=import&path=25&multilevel_import=26&token=
#0 includes\functions\database.php(104): mysqli_query()
#1 modules\items\components\_import.process.inc.php(392): db_query()
#2 modules\items\actions\import.php(141): require('\\\\...')
#3 index.php(31): require('\\\\...')
#4 {main}
Database Error: 1054 - Unknown column 'field_324' in 'where clause'
Query: select id from app_entity_25 where field_258='586' and field_324!='239' limit 1
Page: //index.php?module=items/import&action=import&path=25&multilevel_import=26&token=
#0 includes\functions\database.php(104): mysqli_query()
#1 modules\items\components\_import.process.inc.php(392): db_query()
#2 modules\items\actions\import.php(141): require('\\\\...')
#3 index.php(31): require(':\\\\...')
#4 {main}
Обновить
Database Error: 1054 - Unknown column 'field_324' in 'where clause'
Query: select id from app_entity_25 where field_258='349' and field_324!='77' limit 1
Page: //index.php?module=items/import&action=import&path=25&multilevel_import=26&token=
#0 includes\functions\database.php(104): mysqli_query()
#1 modules\items\components\_import.process.inc.php(392): db_query()
#2 modules\items\actions\import.php(141): require('\\\\...')
#3 index.php(31): require('\\\\...')
#4 {main}