I've got a strange problem going on with Symfony. Today I made brand new project using composer create-project symfony/website-skeleton gall
command and right after installation, before doing anything in code I go to the website and the only thing that is said on webprofiler toolbar is "An error occurred while loading the web debug toolbar." I don't even get to see what kind of error is this.
The server I'm running is PHP v. 7.2.3, program is Xampp for Windows.
I thought maybe this default starting page is bugged, so I made some test controller and the error is exactly the same.
Have you encountered such problem with latest symfony?

webprofiler没有在干净的symfony4项目上工作
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- douhuang5331 2018-07-09 15:47关注
I would never figure it out myself, but adding index.php to browser address resolved the issue.
Much better solution is to use command
composer require symfony/apache-pack
As the .htaccess file is not included in the website-skeleton by default :)
Thanks for pointing me in the right direction guys!
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥15 关于网上一个easyx制作的见缝插针小游戏(c++)
- ¥15 开地址法双散列函数处理碰撞
- ¥15 想问一下这个是什么情况 虚拟机Linux打不开了
- ¥15 联通光猫掉注册了怎么重新注册上去
- ¥15 关于unity开发steamvr程序遇到的问题
- ¥60 求tc downloader的下载方式
- ¥15 华为 快捷方式 手电筒 接口
- ¥15 Qt6.5支不支持Android13开发啊
- ¥20 网络只能跑一半,应该如何设置
- ¥20 Python调用百度开发者平台人脸识别接口