We're seing the "Unexpected token '<'" error sporadically in the manager on a shared server (php 5.4.6) with Revo 2.2.6 tradi. upgraded from 2.2.5. However we've never experienced it on the dev server (MAMP 2.1.1, php 5.3.14, 5.4.4).
- Modx error log is empty.
- Files were transfered via scp as a zip archive and unzipped on the server, so it's not related to FTP transfer.
- MIGx and Version X are _not_ installed, so it shouldn't be related to these.
- compress_js is off
I turned off compress_css and will watch for changes (I don't expect to see a change though).
Apache error log does report interesting things:
Premature end of script headers: index.php, referer: http://heliantheme.com/manager/index.php?a=30&id=45
[Fri Dec 28 09:12:17 2012] [error] [client ip address stripped] [host domain name stripped] Premature end of script headers: index.php, referer: domain.tld/manager/index.php?a=30&id=45
[Fri Dec 28 09:12:17 2012] [error] [client ip address stripped] [host domain name stripped] Premature end of script headers: derivatives.php, referer: domain.tld/manager/index.php?a=30&id=45
[Fri Dec 28 09:12:17 2012] [error] [client ip address stripped] [host domain name stripped] Premature end of script headers: contenttype.php, referer: domain.tld/manager/index.php?a=30&id=45
[Fri Dec 28 09:12:17 2012] [error] [client ip address stripped] [host domain name stripped] Premature end of script headers: template.php, referer: domain.tld/manager/index.php?a=30&id=45
[Fri Dec 28 09:12:18 2012] [error] [client ip address stripped] [host domain name stripped] Premature end of script headers: phpthumb.php, referer: domain.tld/manager/index.php?a=30&id=45
[Fri Dec 28 09:12:18 2012] [error] [client ip address stripped] [host domain name stripped] Premature end of script headers: register.php, referer: domain.tld/manager/index.php?a=30&id=45
(id=45 is a resource)
So far I suspect the error is due to resource throttling on the shared server.