0

昨晚更新作曲家我的代码在 xampp 本地 pc 上完美运行,但是当我在服务器 centos 7 上上传时,只出现空白页并记录错误。在服务器 centos 7 上更新作曲家更新之前代码完美运行。请提供任何建议。

[Mon Oct 13 04:34:00.611556 2014] [:error] [pid 26259] [client 125.209.84.194:2710] PHP Warning:  require(/home/test/public_html/vendor/laravel/framework/src/Illuminate/Support/helpers.php): failed to open stream: No such file or directory in /home/test/public_html/vendor/composer/autoload_real.php on line 58

[Mon Oct 13 04:34:00.611746 2014] [:error] [pid 26259] [client 125.209.84.194:2710] PHP Fatal error:  require(): Failed opening required '/home/test/public_html/vendor/laravel/framework/src/Illuminate/Support/helpers.php' (include_path='/home/test/public_html/vendor/phpseclib/phpseclib/phpseclib:.:/usr/share/pear:/usr/share/php') in /home/test/public_html/vendor/composer/autoload_real.php on line 58
4

1 回答 1

0

删除供应商文件夹和composer.lock文件

现在运行 composer install 并在服务器上上传完整的代码

于 2014-10-13T09:14:37.927 回答