提交注册表时服务器错误500

时间:2019-05-03 07:14:54

标签: laravel nginx forge

我有一个laravel应用程序,该应用程序是使用Laravel Forge托管在Digital Ocean Droplet上的。每次我在注册表格上单击提交时,它将数据保存在数据库中并显示服务器错误500。

我已经使用sudo根访问权限成功进入nginx错误日志,并且已经能够解决这个问题,请帮帮我

  
      
  1. /home/forge/onenaira.com.ng/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(289):Illuminate \ Foundation \ Exceptions \ Handler-> renderHttpException(Object (Symfony \ Component \ HttpKernel \ Exception \ HttpException))

  2.   
  3. /home/forge/onenaira.com.ng/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(188):Illuminate \ Foundation \ Exceptions \ Handler-> prepareResponse(Object (Illuminate \ Http \ Request),“ Obje”,同时从上游读取响应标头,客户端:105.112.66.215,服务器:onenaira.com.ng,请求:“ GET / HTTP / 2.0”,上游:“ fastcgi:// unix: /var/run/php/php7.3-fpm.sock:“,主持人:” onenaira.com.ng“   2019/05/02 22:22:14 [错误] 10655#10655:* 1 FastCGI在stderr中发送:“ PHP消息:PHP警告:include(/home/forge/onenaira.com.ng/vendor/symfony/http- foundation / Request.php):无法打开流:在444行的/home/forge/onenaira.com.ng/vendor/composer/ClassLoader.php中没有这样的文件或目录PHP消息:PHP警告:include():打开失败将'/home/forge/onenaira.com.ng/vendor/composer/../symfony/http-foundation/Request.php'包含在/ home / forge中(include_path ='。:/ usr / share / php') 444行上的/onenaira.com.ng/vendor/composer/ClassLoader.phpPHP消息:PHP致命错误:未捕获的错误:在/home/forge/onenaira.com.ng/中找不到类'Symfony \ Component \ HttpFoundation \ Request' vendor / laravel / framework / src / Illuminate / Http / Request.php:15

  4.   

堆栈跟踪:

  
      
  1. /home/forge/onenaira.com.ng/vendor/composer/ClassLoader.php(444):include()

  2.   
  3. /home/forge/onenaira.com.ng/vendor/composer/ClassLoader.php(322):Composer \ Autoload \ includeFile('/ home / forge / one ...')

  4.   
  5. [内部功能]:Composer \ Autoload \ ClassLoader-> loadClass('Illuminate \ Http ...')

  6.   
  7. /home/forge/onenaira.com.ng/public/index.php(55):spl_autoload_call('Illuminate \ Http ...')

  8.   
  9. {main}   在第15行上抛出/home/forge/onenaira.com.ng/vendor/laravel/framework/src/Illuminate/Http/Request.php的消息,同时从上游读取响应标头,客户端:105.112.23.124,服务器:onenaira.com .ng,请求:“ GET / password / api / slotcount HTTP / 2.0”,上游:“ fastcgi:// unix:/var/run/php/php7.3-fpm.sock:”,主机:“ onenaira.com .ng”,引荐来源网址:“ https://onenaira.com.ng/password/reset

  10.   

0 个答案:

没有答案