ModX Evo 1.0.13
Использую mxCalendar для организаций событий, мероприятий и т.п на сайте. Сам Календарь создаёт и записывает категории, записывает конфигурацию. Но когда я хочу добавить событий, сыпит ошибку о некорректности работы с БД. Подскажите куда копать? Сайт работает на VPS. Версия движка 1.0.14 официальная сборка.
Сам отчёт по ошибке:
<code>
« MODX Parse Error »
MODX encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - 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 'repeat``, `lastrepeat`, `event_occurance`, `_occurance_wkly`, `event_occurance_r' at line 1 »
SQL > INSERT INTO `***`.`***_mxcalendar_events` (`title`, `description`, `category`, `restrictedwebusergroup`, `link`, `linkrel`, `linktarget`, `location`, `displayGoogleMap`, `start`, `startdate`, `starttime`, `end`, `enddate`, `endtime`, ``repeat``, `lastrepeat`, `event_occurance`, `_occurance_wkly`, `event_occurance_rep`, `_occurance_properties`) VALUES('TEST', '', '2', '', 'TEST', '', '', '', '0', '2014-08-06 12:22', '2014-08-06', '12:22:00', '2014-08-06 12:22', '2014-08-06', '12:22:00', '', '', '0', '', '1', '0')
Basic info
REQUEST_URI : http://**.ru/manager/index.php?a=112&id=3
Manager action : 112 - Execute module
Referer : http://**.ru/manager/index.php?a=112&id=3
User Agent : Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36
IP : 80.237.113.250
Benchmarks
MySQL : 0,0028 s (7 Requests)
PHP : 0,0381 s
Total : 0,0410 s
Memory : 3,9858474731445 mb
Backtrace
1 include_once()
manager/index.php on line 560
2 evalModule()
manager/processors/execute_module.processor.php on line 69
3 eval()
manager/processors/execute_module.processor.php on line 82
4 include_once()
manager/processors/execute_module.processor.php(82) : eval()'d code on line 34
5 mxCal_APP_CLASS->_mgrAddEdit()
assets/modules/mxCalendar/mxCalendar.tpl.php on line 101
6 mxCal_APP_CLASS->_saveEvent()
assets/modules/mxCalendar/mxCalendar.class.php on line 265
7 DBAPI->insert()
assets/modules/mxCalendar/mxCalendar.class.php on line 956
8 DBAPI->query()
manager/includes/extenders/dbapi.mysql.class.inc.php on line 282
</code>