Ошибка SQL при попытке создать новый док
текст:
Warning: Cannot modify header information - headers already sent by (output started at Y:\home\localhost\www\modx\manager\includes\header.inc.php:7) in Y:\home\localhost\www\modx\manager\includes\document.parser.class.inc.php on line 2732
« 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 ’-site_tmplvars ORDER BY name ASC’ at line 1 »
SQL: SELECT name,type,id FROM modx-site_tmplvars ORDER BY name ASC
[Copy SQL to ClipBoard]
Parser timing
MySQL: 0.0039 s (1 Requests)
PHP: 1264542781.4983 s
Total: 1264542781.5022 s
Сайт запущен на локальной машине. Denwer3, modx 1.0.2
Как решить эту проблему? Спасибо.
Не надо было при установке задавать префикс таблиц с дефисом. (modx-)