我们团队的一台(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 关注
- 107 浏览
添加回答
举报
0/150
提交
取消