2012-06-09 95 views
1

安装ModX Revo 2.2.2并登录后,我只能看到菜单不能正常工作。另外,我的Chrome控制台中出现了一些错误:在Chrome开发工具中的Modx Revilution错误“Uncaught SyntaxError:Unexpected token <lang.js.php:1”

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 

回答

0

如果您有一些压缩模块,请尝试关闭它们。在我的情况下,它是

php_flag zlib.output_compression On 
php_value zlib.output_compression_level 5 

in .htaccess。

相关问题