我們團隊的一臺(mac)機器上只有一個超級奇怪的錯誤。它適用于其他人。系統設置:操作系統:Mac OS X Mojave 10.14.6瀏覽器:鐵php 7.4.3通過瀏覽器訪問http://127.0.0.1:8000curl http:127.0.0.1:8000 -o output.html時的錯誤或者如下(兩者相同):3/3) UnsupportedMediaTypeHttpExceptionFormat 'html' not supported, handler must be implementedin ViewHandler.php line 313at ViewHandler->handle(object(View))in ExceptionController.php line 72at ExceptionController->showAction(object(Request), object(BadRequestHttpException), object(Logger))in HttpKernel.php line 151at HttpKernel->handleRaw(object(Request), 2)in HttpKernel.php line 68at HttpKernel->handle(object(Request), 2, false)in ExceptionListener.php line 61at ExceptionListener->onKernelException(object(ExceptionEvent))in ExceptionListener.php line 41at ExceptionListener->onKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))in WrappedListener.php line 126at WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))in EventDispatcher.php line 260這會(1/3) SuspiciousOperationException, Untrusted Host "127.0.0.1"和任何人一起敲響警鐘嗎?系統上沒有安裝特定的其他軟件,這可能會導致這種干擾(至少我們是這樣認為的)
- 1 回答
- 0 關注
- 135 瀏覽
添加回答
舉報
0/150
提交
取消