简体   繁体   English

找不到Typo3文件

[英]Typo3 files not found

I have set up a Typo3 project and I am using the Bootstrap Kickstart Package extension. 我已经建立了一个Typo3项目,并且正在使用Bootstrap Kickstart软件包扩展。 So far everything works, but for example the CSS files are not loaded (see screenshot). 到目前为止,一切正常,但是例如CSS文件未加载(请参见屏幕截图)。 If I call the paths in Explorer, all files are available. 如果在资源管理器中调用路径,则所有文件都可用。 Can someone here help me? 这里有人可以帮我吗?

Do you use the .htaccess of TYPO3? 您是否使用TYPO3的.htaccess? You can find it in the typo3_src folder and move it to your root directory. 您可以在typo3_src文件夹中找到它,并将其移至您的根目录。 Without it, the timestamps of the files ?12345 will be interpreted wrong. 没有它,文件?12345的时间戳将被解释为错误。

Seems it could not get a proper path to the assets. 似乎无法获得正确的资产路径。 Please check your baseUrl and absRefPrefix in the setup ts. 请在设置ts中检查您的baseUrl和absRefPrefix。 Check property below: 检查以下属性:

config.baseURL = http://localhost/project/
config.absRefPrefix = project/

Generally, absRefPrefix required in the local server it does not require at the live server. 通常,本地服务器不需要absRefPrefix,而实时服务器则不需要。

Second possibility permission issue, please check directory permission. 第二种可能性权限问题,请检查目录权限。

Hope this helps you! 希望这对您有所帮助!

Greetings! 问候!

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

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