Warning: Cannot modify header information - headers already sent by (output started at /home/site/public_html/manager/includes/header.inc.php:5) in /home/site/public_html/manager/includes/document.parser.class.inc.php on line 2620
« 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 '' at line 1 »
SQL: SELECT name FROM `db_site`.`db_site_tmplvars` tvs LEFT JOIN `db_site`.`db_site_tmplvar_templates` rel ON rel.tmplvarid = tvs.id WHERE 1=1 AND type IN ('image') AND rel.templateid =
[Copy SQL to ClipBoard]
Parser timing
MySQL: 0.0031 s (4 Requests)
PHP: 1230668976.0640 s
Total: 1230668976.0671 s
<html xmlns="http://www.w3.org/1999/xhtml" <?php echo $modx->config['manager_direction'] == 'rtl' ? 'dir="rtl"' : '';?> lang="<?php echo $modx->config['manager_lang_attribute'];?>" xml:lang="<?php echo $modx->config['manager_lang_attribute'];?>">
AND rel.templateid =, the statement isn’t terminated as far as I can see from this, so where has the templateid gone?
/home/site/public_html/manager/includes/document.parser.class.inc.php on line 2620is trying to send a 500 internal server error because it has encountered your sql error above, but the headers have already gone here
/home/site/public_html/manager/includes/header.inc.php:5)
rel.tmplvaridand I can’t find it, normally you can find bits like this easily, usually in php files, which of course then gives you a starting point as to what is going on, could you do this on your install?