[英]Symfony4 webprofiler 404
我剛剛設置了一個新的Symfony 4項目,但是當我導航到“ public”文件夾時,webprofiler會顯示以下消息:
An error occurred while loading the web debug toolbar. Open the web profiler.
當我單擊“打開Web分析器”時,出現以下錯誤:
Error 404, Object not found
在這種情況下找不到的路徑是:
http://localhost/test-project/public/_profiler/4d2f65
誰能幫我解決這個問題?
如果要從頭開始設置Symfony4 / Flex應用程序,則可能未安裝探查器。
composer require profiler --dev
您可能還需要遵循webserver-config才能在Apache或Nginx中啟用mod_rewrite。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.