Chrome开发工具中的Modx Revilution错误“Uncaught SyntaxError:Unexpected token< lang.js.php:1”

时间:2012-06-09 14:43:33

标签: modx modx-revolution

安装ModX Revo 2.2.2并登录后,我只能看到无法正常工作的菜单。此外,我的Chrome控制台中出现了多处错误:

Uncaught SyntaxError: Unexpected token < lang.js.php:1
Resource interpreted as Script but transferred with MIME type application/octet-stream: "/connectors/layout/modx.config.js.php?action=&wctx=mgr". /manager/:16
Uncaught SyntaxError: Unexpected token < modx.config.js.php:1
Uncaught ReferenceError: _ is not defined index.php:103
(anonymous function) index.php:103
Uncaught ReferenceError: _ is not defined index.php:1
Uncaught TypeError: undefined is not a function ext-all.js:7
Uncaught ReferenceError: _ is not defined 

1 个答案:

答案 0 :(得分:0)

如果您有一些压缩模块,请尝试关闭它们。就我而言,它是

php_flag zlib.output_compression On
php_value zlib.output_compression_level 5

在.htaccess。