简体   繁体   English

Prestashop Smarty Cache CSS文件路径错误404

[英]Prestashop Smarty Cache css file path error 404

I have console error -> file not found 404 -> this is a cache css file with path error. 我有控制台错误->找不到文件404->这是具有路径错误的缓存CSS文件。 /themes/default-bootstrap/cache/v_37_aed4c0aa657ac1142332692bc74511ed_all.css /themes/default-bootstrap/cache/v_37_aed4c0aa657ac1142332692bc74511ed_all.css

Using inspector i have added "prestashop" and now Prestashop css is ok. 我使用检查器添加了“ prestashop”,现在Prestashop css可以了。 prestashop/themes/default-bootstrap/cache/v_37_aed4c0aa657ac1142332692bc74511ed_all.css prestashop /主题/默认引导/缓存/v_37_aed4c0aa657ac1142332692bc74511ed_all.css

Notice Prestashop js file path is correct 注意Prestashop js文件路径正确

How can i correct this error ? 我该如何纠正此错误? path error path ok using inspector 路径错误 使用检查器确定路径

Login to admin panel and visit Advance parameters --> Performance . 登录到管理面板,然后访问高级参数->性能 On top right corner there is button Clear Cache , by clicking that cache will be cleared and your site should work I think. 在右上角有一个按钮清除缓存 ,单击该缓存将被清除,我认为您的网站应该可以运行。

You may have configured shop wrongly. 您可能配置了错误的商店。 In back office go to Preferences -> SEO& URLs and do the following changes. 在后台,转到Preferences -> SEO& URLs然后进行以下更改。

Shop URL: 192.168.1.128:8080 商店网址:192.168.1.128:8080

Base : /preshtashop/ 基地:/ preshtashop /

Then clear your cache and enable it and look again. 然后清除您的缓存并启用它,然后再次查看。

It is a Prestashop v1.6.1.5 bug, it should be solved in v.1.6.1.6 这是Prestashop v1.6.1.5的错误,应在v.1.6.1.6中解决

See the changelog ( https://www.prestashop.com/en/developers-versions/changelog/1.6.1.6-stable ): 请参阅更改日志( https://www.prestashop.com/en/developers-versions/changelog/1.6.1.6-stable ):

[-] FO : (c0ee6b7) Fix CSS 404 when using subdirectory

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

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