Laravel 4开发服务器崩溃,恕不另行通知 [英] Laravel 4 development server crashing without notice

查看:84
本文介绍了Laravel 4开发服务器崩溃,恕不另行通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用带有SQLite数据库的内置开发服务器在Laravel 4中开发应用程序.在项目存储库中的另一个用户最近合并之后,服务器将在某些请求后崩溃.

I am developing an application in Laravel 4 using the built-in development server with a SQLite database. After a recent merge from another user in the project repository, the server will crash after certain requests.

我相信我已将其范围缩小为Sentry的调用-在请求中使用它时,服务器将崩溃并且命令行将退出.

I believe I have narrowed it down to a call of Sentry - when it is used on a request the server will crash out and the command line will exit.

$ php artisan serve
Laravel development server started on http://localhost:8000
Dwight at Dwights-MacBook-Pro.local  ~/Sites/tmtbl on master*
$ 

如您所见,没有错误通知.

As you can see, there are no error notices.

我已经运行composer update,并确保仍正确安装Sentry.我不确定此问题是特定于Sentry还是发生了其他情况.我在这里缺少什么导致服务器崩溃了吗?

I've run composer update and ensured that Sentry is still installed correctly. I'm not sure whether this issue is Sentry specific or something else is going on. Is there something I am missing here that is causing the server to crash?

推荐答案

您使用Chrome吗?如果是,请转到控制台,如果出现错误,是否与以下内容相同:

Do you use Chrome? If yes, go to the console and if you have an error, is it the same as: Failed to load resource when using Auth? Because I have the same problem with the php 5.4 server

这篇关于Laravel 4开发服务器崩溃,恕不另行通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆