简体   繁体   English

Symfony:Web调试工具栏图标消失了

[英]Symfony: Web debug toolbar icons disappeared

Just moved a symfony project from local (win) to server (linux), and the icons in the web debug toolbar have disappeared. 刚刚将一个symfony项目从本地(win)移动到服务器(linux),并且Web调试工具栏中的图标消失了。 Only the image alts remain so I guess it's a path issue with the images. 仅保留图像替换项,因此我想这是图像的路径问题。 Basically, I see "Time 300ms" instead of "[icon] 300ms" for each of the items. 基本上,对于每个项目,我看到的都是“时间300ms”,而不是“ [icon] 300ms”。

I'm a little worried that some other paths aren't broken as well that are going to be a pain to find. 我有点担心其他一些路径也不会被打破,这将是很难找到的。

Has anyone had/resolved this issue? 有没有人解决过这个问题?

Thank you. 谢谢。

Solved... 解决了...

It's a missing alias, but copying this folder in its entirety: 这是一个缺少的别名,但会完整复制此文件夹:

/lib/vendor/symfony/data/web/sf/

to... 至...

/web/

... fixes the paths for the toolbar as a quick solution. ...将工具栏的路径固定为一种快速解决方案。

更好的解决方案是在httpd.conf中定义一个别名(或任何apache conf的名称)

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

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