Laravel 5.2致命错误:66行上的vendor/composer/autoload_real.php [英] Laravel 5.2 Fatal error:vendor/composer/autoload_real.php on line 66

查看:65
本文介绍了Laravel 5.2致命错误:66行上的vendor/composer/autoload_real.php的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将laravel项目从 local 上传到 host .现在我有以下错误:

I have uploaded my laravel project from local to host. Now I have following error:

Fatal error: require(): Failed opening required '/home/httpd/vhosts/mort.com/httpdocs/cucc/testLaravel/vendor/composer/../../app/Libraries/helpers.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/httpd/vhosts/mort.com/httpdocs/cucc/testLaravel/vendor/composer/autoload_real.php on line 66`

我不明白问题是什么.laravel框架位于名为 testLaravel 的目录中,公共内容位于名为 laravel 的目录中.

I cannot understand what the problem is. The laravel framework is in the directory called testLaravel and the public content in a directory called laravel.

推荐答案

此错误表示缺少某些软件包,因为我看到您没有运行 composer install ,这意味着所需的软件包没有已安装.

This error means some packages are missing, as I see you didn't run composer install, this means the required packages are not installed.

要解决此问题,只需转到项目的根目录并在命令行上运行:

To solve it just go to the root of your project and run on the command line:

composer install

这篇关于Laravel 5.2致命错误:66行上的vendor/composer/autoload_real.php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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