Typo3 后端 css 不断消失?
我有一个typo3系统,它工作得很好,但是当我安装一个新的扩展时,后端的CSS就会消失,或者似乎只被部分解析。
屏幕截图:https://i.sstatic.net/BacTY.png
我已经尝试过几个不同的扩展,它们似乎都这样做。
Typo3 版本 4.4.6
如果有人有任何想法...所有帮助都会受到重视和赞赏。塔!
I have a typo3 system which works mostly fine, however when ever I install a new extension the CSS on the back-end goes away, or seems to be parsed only partially.
screen shot at : https://i.sstatic.net/BacTY.png
I've tried several different extension and they all seem to do this.
Typo3 version 4.4.6
If anyone has any ideas... all help is valued and appreciated. Ta!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
请确保您已安装系统扩展“t3skin”。它带来了默认皮肤并随 TYPO3 一起提供。
如果已安装,请检查您的 .htaccess 是否启用了 gzip 规则,以防您设置了 $TYPO3_CONF_VARS['BE']['compressionLevel'] 。
Please make sure that you have installed the system extension "t3skin". It brings the default skin and is shipped with TYPO3.
If it is installed, check whether your .htaccess has the gzip rules enabled, in case of you have $TYPO3_CONF_VARS['BE']['compressionLevel'] set.
我猜你在使用 gzip 压缩 css 时遇到了一些麻烦。较新版本的 TYPO3 添加了此功能以加快速度。通常 TYPO3 无法写入您的 .htaccess 文件,这就是您必须手动执行此操作的原因。只需将以下行添加到您的 .htaccess 文件中:
请注意,.htaccess 文件是隐藏的,某些 ftp / sftp 客户端在默认设置下无法找到它。这基本上就是斯蒂芬金所说的,只是更详细一些。
I guess you have some trouble with gzip compressed css here. Newer versions of TYPO3 added this feature to speed things up. Typically TYPO3 can't write to your .htaccess file which is why you have to do it manually. Just add the following lines to your .htaccess file:
Note that the .htaccess file is hidden and some ftp / sftp clients won't find it with their default settings. That's basically what StephenKing says just a lil more elaborate.
在 localconf.php 中尝试一下:
$TYPO3_CONF_VARS['BE']['compressionLevel'] = '0'
它对我的安装很有帮助。
Try this in localconf.php:
$TYPO3_CONF_VARS['BE']['compressionLevel'] = '0'
It helped in my installation.
就我而言,我安装了
mod_deflate
并且良好的.htaccess
,但在虚拟主机配置中.htaccess
读取被AllowOverride None
禁用code>,所以我在All
中打开了AllowOverride
并且一切正常。重新启动阿帕奇:
In my case I had
mod_deflate
installed and good.htaccess
, but in vhost configuration.htaccess
reading was disabled byAllowOverride None
, so I turnedAllowOverride
inAll
and all worked.Restart Apache :