Typo3 从 6.2.X 升级到 7.6.10 后缺少所有样式(css/js) [英] Typo3 missing all the styles(css/js) after upgraded from 6.2.X to the 7.6.10

查看:24
本文介绍了Typo3 从 6.2.X 升级到 7.6.10 后缺少所有样式(css/js)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚把 Typo3 从 6.2.26 升级到 7.6.10,但是首页的样式都不见了.只是显示在其上的 DB 中的内容和数据.我想也许是失去了.

I just upgraded the Typo3 from 6.2.26 to 7.6.10, but the styles at the front page are all missing. Just the content and data from the DB shown on it. I guess maybe it was the loss of.

所以,如果有人也遇到过这个问题,请与我分享您的想法.寻求您的建议,非常感谢.

So, if there somebody met this question too, share your ideas with me. Looking for your advice, many thanks.

推荐答案

首先你应该检查你的 JS/CSS 文件是否存在于你的页面的源代码中.如果是,有两种可能,imo:

First you should check if your JS/CSS files are present in the source code of your page. If they are, there are two possibilities, imo:

  1. 您的 html 已缓存,但缓存文件已被删除/移动.解决方案:清理你的缓存(最好是通过安装工具清理 ->重要操作")
  2. 您的 baseURL/absRefPrefix 已损坏.我建议使用 config.absRefPrefix 而不是 baseURL (https://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Config/Index.html)
  1. your html is cached but the cache files were deleted/moved. Solution: clean your cache (the best is to clean it from the install tool -> "Important actions")
  2. Your baseURL/absRefPrefix is broken. I would advice to use config.absRefPrefix instead of baseURL (https://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Config/Index.html)

这篇关于Typo3 从 6.2.X 升级到 7.6.10 后缺少所有样式(css/js)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆