Typo3 missing all the styles(css/js) after upgraded from 6.2.X to the 7.6.10

不羁岁月 提交于 2019-12-11 05:27:00

问题


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.


回答1:


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. 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)


来源:https://stackoverflow.com/questions/40126381/typo3-missing-all-the-stylescss-js-after-upgraded-from-6-2-x-to-the-7-6-10

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!