简体   繁体   English

CSS / JS无法加载。 CSS / JS损坏

[英]CSS/JS not loading. CSS/JS broken

I just recently restored a backup i had. 我刚刚恢复了我的备份。 And after the restoring i logged in to my admin panel and got an message that 恢复后,我登录到管理面板,并收到一条消息,

I need to "update my cache" 我需要“更新我的缓存”

. So i updated the cache and also flushed it. 所以我更新了缓存并刷新了它。

After that was done i went to my Website and there were no CSS or Jss, or at least it was broken. 完成之后,我去了我的网站,没有CSS或Jss,或者至少它坏了。 This have happend before but i got it fixed by changing the premissions to the skin and media folder. 这以前发生过,但我通过更改外观和媒体文件夹的权限来解决。 But this time it don't work. 但是这一次不起作用。

I realy need this fixed without getting the error again. 我确实需要解决此问题,而不会再次收到错误。

Try this steps: 请尝试以下步骤:

1) Go to admin section 1)转到管理部分

2) Go to System->Configuration->ADVANCED->Developer 2)转到系统->配置->高级->开发人员

3) Set “Merge JavaScript Files” and “Merge CSS Files” to No 3)将“合并JavaScript文件”和“合并CSS文件”设置为“ 否”

4) Flush Javascript/CSS Cache at Cache management admin interface. 4)在缓存管理管理界面上刷新Javascript / CSS缓存。

I hope this solved your problem. 我希望这可以解决您的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM