Litesm Posted January 27, 2021 Report Share Posted January 27, 2021 Товарищи что это такое за оповещение ? У меня задачи Cron выполняются на хостинге. а вообще есть разница откуда выполнять задачи Cron ? Лучше, чтобы это делалось с хостинга или внутри самого движка ? Quote Link to comment Share on other sites More sharing options...
Silence Posted January 27, 2021 Report Share Posted January 27, 2021 В споделений хостинг нет бремя 1 мин. для Cron Quote Link to comment Share on other sites More sharing options...
SlawkA Posted January 27, 2021 Report Share Posted January 27, 2021 Litesm нужно крон настроить. и на файл таск.пшп поставить права 777 Спойлер Silence 1 Quote Link to comment Share on other sites More sharing options...
Litesm Posted January 27, 2021 Author Report Share Posted January 27, 2021 (edited) 1 час назад, SlawkA сказал: Litesm нужно крон настроить. и на файл таск.пшп поставить права 777 Показать контент тут то всё настроено... Вот зашел на почту а тут отчет от Cron Спойлер Exception:IPS\Db\Exception Object( [query] => SELECT * FROM( ( SELECT 'core_applications' AS `table`, app_directory AS `id`, app_update_check AS `url`, app_update_last_check AS `last`, app_long_version AS `current`, app_marketplace_id as `marketplace_id` FROM `core_applications` WHERE app_update_last_check< AND ( ( app_update_check<>'' AND app_update_check IS NOT NULL ) OR app_marketplace_id IS NOT NULL ) ) UNION ( SELECT 'core_plugins' AS `table`, plugin_id AS id, plugin_update_check as url, plugin_update_check_last AS last, plugin_version_long AS `current`, plugin_marketplace_id as `marketplace_id` FROM `core_plugins` WHERE plugin_update_check_last< AND ( (plugin_update_check<>'' AND plugin_update_check IS NOT NULL ) OR plugin_marketplace_id IS NOT NULL ) ) UNION ( SELECT 'core_themes' AS `table`, set_id AS `id`, set_update_check AS `url`, set_update_last_check AS `last`, set_long_version AS `current`, set_marketplace_id as `marketplace_id` FROM `core_themes` WHERE set_update_last_check< AND ( (set_upda! te_check<>'' AND set_update_check IS NOT NULL ) OR set_marketplace_id IS NOT NULL ) ) UNION ( SELECT 'core_sys_lang' AS `table`, lang_id AS `id`, `lang_update_url` AS `url`, `lang_update_check` AS `last`, `lang_version_long` AS `current`, `lang_marketplace_id` as `marketplace_id` FROM `core_sys_lang` WHERE lang_update_check< AND ( (lang_update_url<>'' AND lang_update_url IS NOT NULL ) OR lang_marketplace_id IS NOT NULL ) )) derivedTable ORDER BY last ASC LIMIT 1 [binds] => Array ( ) я так понял это ошибка "updateCheck?" далее [message:protected] => 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 ( ( app_update_check<>'' AND app_update_check IS NOT NULL ) OR app_marketpla' at line 1 Спойлер [string:Exception:private] => [code:protected] => 1064 [file:protected] => /home/мояБД/forum/system/Db/Db.php [line:protected] => 638 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home/мояБД/forum/system/Db/Select.php [line] => 383 [function] => preparedQuery [class] => IPS\_Db [type] => -> [args] => Array ( [3] => Array ( [file] => /home/мояБД/forum/applications/core/tasks/updatecheck.php [line] => 101 [function] => first [class] => IPS\Db\_Select [type] => -> [args] => Array ( ) ) [4] => Array ( [file] => /home/мояБД/forum/system/Task/Task.php [line] => 367 [function] => IPS\core\tasks\{closure} [class] => IPS\core\tasks\_updatecheck [type] => -> [args] => Array ( я вообще ноль в понимании этого .... Edited January 27, 2021 by Litesm Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.