Денис

Денис

С нами с 27 февраля 2017; Место в рейтинге пользователей: #651
Денис
14 июня 2021, 12:36
0
Нашли какое-нибудь решение?
Денис
08 апреля 2021, 10:21
0
Подскажите, пожалуйста, а как cast используется в where?

Я решил проблему но другим способом:
$where = array(
	"0" => "Lo BETWEEN 99 AND 140",
);

$output = $modx->runSnippet('pdoResources',array(
    'limit' => 15,
    'parents' => 71,
    'includeTVs' => 'Lo',
    'where' => $where,
    'return' => 'json'
));

return $output;
Денис
07 апреля 2021, 23:34
0
Убрал строку
'return' => 'json'
Ничего не изменилось, поведение то же.
Денис
15 февраля 2021, 22:35
0
данные на сервер отправлять с помощью хука?
Денис
15 сентября 2020, 16:49
0
Решили проблему?
Денис
13 мая 2020, 22:40
0
Благодарю за помощь.
Денис
13 мая 2020, 22:37
0
Так и думал, что подвох в хуках.
Я так понимаю порядок должен быть такой:
&hooks=`spam,rcv3,email,FormItSaveForm`
Верно?
Денис
06 мая 2020, 18:05
0
Настроил отправку писем черещ smtp яндекс и проблема всё равно не ушла.
Денис
29 апреля 2020, 14:35
0
сделал по вашему совету. после выполнения выдает такое сообщение:
u1003749$ wget https://ustimi.ru/instacron.php --spider
Spider mode enabled. Check if remote file exists.
--2020-04-29 14:32:56--  https://ustimi.ru/instacron.php
Resolving ustimi.ru... 37.140.192.35, 2a00:f940:2:2:1:1:0:220
Connecting to ustimi.ru|37.140.192.35|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Remote file exists and could contain further links,
but recursion is disabled -- not retrieving.
Это хороший знак?
Прошу извинить за нубские вопросы, впервые столкнулся с настройкой по cron.
Денис
31 января 2020, 17:08
0
UPD
Ошибка ушла, когда в настройках импорта указал «Да» для поля «Игнорировать первую строку».
В первой строке файла находятся заголовки столбцов.
Импорт ошибки не выдает, но и данные о товаре не обновляет (артикул, цена).

В чем может быть проблема?

И подскажите, в помощью данного компонента возможно обновлять поля, которые заведены во вкладке товара «Опции товара»?
Денис
31 января 2020, 16:24
0
Не помогает. Та же ошибка.
Денис
30 января 2020, 14:42
0
Добрый день!
При импорте появляется такая ошибка (пытаюсь обновить данные товаров).
[2020-01-30 14:35:00] (ERROR @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modx.class.php : 1031) `[[+id]]` is not a valid integer and may not be passed to makeUrl()
[2020-01-30 14:35:00] (ERROR in resource 4099 @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modparser.class.php : 1373) Bad link tag `[[~[[+id]]]]` encountered
[2020-01-30 14:35:10] (ERROR in modMenu::getSubMenus @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modmenu.class.php : 145) modAction support is deprecated since version 2.3.0. Support for modAction has been replaced with routing based on a namespace and action name. Please update the extra with the namespace formit to the routing based system.
[2020-01-30 14:35:10] (ERROR in modMenu::getSubMenus @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modmenu.class.php : 145) modAction support is deprecated since version 2.3.0. Support for modAction has been replaced with routing based on a namespace and action name. Please update the extra with the namespace gallery to the routing based system.
[2020-01-30 14:35:10] (ERROR in modMenu::getSubMenus @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modmenu.class.php : 145) modAction support is deprecated since version 2.3.0. Support for modAction has been replaced with routing based on a namespace and action name. Please update the extra with the namespace assman to the routing based system.
[2020-01-30 14:35:10] (ERROR in modMenu::getSubMenus @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modmenu.class.php : 145) modAction support is deprecated since version 2.3.0. Support for modAction has been replaced with routing based on a namespace and action name. Please update the extra with the namespace msearch2 to the routing based system.
[2020-01-30 14:35:10] (ERROR in modMenu::getSubMenus @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modmenu.class.php : 145) modAction support is deprecated since version 2.3.0. Support for modAction has been replaced with routing based on a namespace and action name. Please update the extra with the namespace fileattach to the routing based system.
[2020-01-30 14:35:10] (ERROR in modMenu::getSubMenus @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modmenu.class.php : 145) modAction support is deprecated since version 2.3.0. Support for modAction has been replaced with routing based on a namespace and action name. Please update the extra with the namespace simpleupdater to the routing based system.
[2020-01-30 14:35:57] (ERROR in modProcessor::run @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modprocessor.class.php : 177) Flat file processor support, used for action mgr/import/upload with path /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/processors/mgr/import/upload.php, is deprecated since version 2.7.0. 
[2020-01-30 14:36:06] (ERROR in modProcessor::run @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modprocessor.class.php : 177) Flat file processor support, used for action mgr/import/import with path /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/processors/mgr/import/import.php, is deprecated since version 2.7.0. 
[2020-01-30 14:36:06] (ERROR @ /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/model/msimportexport/msie.class.php : 3018) [updateProducts]  error info: Array
(
    [0] => 42S22
    [1] => 1054
    [2] => Unknown column 'Цена' in 'field list'
)

SQL: UPDATE `modx_ms2_products`  AS msProductData SET `price`=Цена WHERE `msProductData`.`article` = 'Артикул' 
[2020-01-30 14:36:06] (ERROR in modProcessor::run @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modprocessor.class.php : 177) Flat file processor support, used for action mgr/import/import with path /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/processors/mgr/import/import.php, is deprecated since version 2.7.0. 
[2020-01-30 14:36:06] (ERROR in modProcessor::run @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modprocessor.class.php : 177) Flat file processor support, used for action mgr/import/import with path /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/processors/mgr/import/import.php, is deprecated since version 2.7.0. 
[2020-01-30 14:36:07] (ERROR in modProcessor::run @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modprocessor.class.php : 177) Flat file processor support, used for action mgr/import/import with path /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/processors/mgr/import/import.php, is deprecated since version 2.7.0. 
[2020-01-30 14:36:07] (ERROR in modProcessor::run @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modprocessor.class.php : 177) Flat file processor support, used for action mgr/import/import with path /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/processors/mgr/import/import.php, is deprecated since version 2.7.0. 
[2020-01-30 14:36:07] (ERROR in modProcessor::run @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modprocessor.class.php : 177) Flat file processor support, used for action mgr/import/import with path /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/processors/mgr/import/import.php, is deprecated since version 2.7.0. 
[2020-01-30 14:36:07] (ERROR in modProcessor::run @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modprocessor.class.php : 177) Flat file processor support, used for action mgr/import/import with path /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/processors/mgr/import/import.php, is deprecated since version 2.7.0. 
[2020-01-30 14:36:08] (ERROR in modProcessor::run @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modprocessor.class.php : 177) Flat file processor support, used for action mgr/import/import with path /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/processors/mgr/import/import.php, is deprecated since version 2.7.0. 
[2020-01-30 14:36:08] (ERROR in modProcessor::run @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modprocessor.class.php : 177) Flat file processor support, used for action mgr/import/import with path /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/processors/mgr/import/import.php, is deprecated since version 2.7.0. 
[2020-01-30 14:36:08] (ERROR in modProcessor::run @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modprocessor.class.php : 177) Flat file processor support, used for action mgr/import/import with path /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/processors/mgr/import/import.php, is deprecated since version 2.7.0. 
[2020-01-30 14:36:09] (ERROR in modProcessor::run @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modprocessor.class.php : 177) Flat file processor support, used for action mgr/import/import with path /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/processors/mgr/import/import.php, is deprecated since version 2.7.0. 
[2020-01-30 14:36:09] (ERROR in modProcessor::run @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modprocessor.class.php : 177) Flat file processor support, used for action mgr/import/import with path /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/processors/mgr/import/import.php, is deprecated since version 2.7.0. 
[2020-01-30 14:36:09] (ERROR in modProcessor::run @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modprocessor.class.php : 177) Flat file processor support, used for action mgr/import/import with path /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/processors/mgr/import/import.php, is deprecated since version 2.7.0. 
[2020-01-30 14:36:10] (ERROR in modProcessor::run @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modprocessor.class.php : 177) Flat file processor support, used for action mgr/import/import with path /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/processors/mgr/import/import.php, is deprecated since version 2.7.0. 
[2020-01-30 14:36:10] (ERROR in modProcessor::run @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modprocessor.class.php : 177) Flat file processor support, used for action mgr/import/import with path /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/processors/mgr/import/import.php, is deprecated since version 2.7.0. 
[2020-01-30 14:36:10] (ERROR in modProcessor::run @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modprocessor.class.php : 177) Flat file processor support, used for action mgr/import/import with path /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/processors/mgr/import/import.php, is deprecated since version 2.7.0. 
[2020-01-30 14:36:11] (ERROR in modProcessor::run @ /home/w/wattek/kotel-gorelka.ru/public_html/core/model/modx/modprocessor.class.php : 177) Flat file processor support, used for action mgr/import/import with path /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/processors/mgr/import/import.php, is deprecated since version 2.7.0. 
[2020-01-30 14:36:11] (ERROR @ /home/w/wattek/kotel-gorelka.ru/public_html/core/components/msimportexport/model/msimportexport/reader/msieexcelreader.class.php : 100) [MsieExcelReader] Exception Row 797 is out of range (797 - 1)
Версия modx 2.7.1
Версия minishop 2.4.11 (обновить не дает)
Версия msimpotrexport 1.4.1

И подскажите, как через import обновлять опции товара?
Данных полей не появляется при настройках импорта, только стандартные (цена, артикул)

И как настроить, чтобы в поле Производитель выводилось наименование, а не цифра?
Денис
04 сентября 2019, 17:21
0
Благодарю за помощь, всё работает!
Денис
01 сентября 2019, 19:13
0
Решили этот вопрос?
Денис
30 августа 2019, 10:09
0
Благодарю за помощь! То что надо!