我之前在共享主机上移动了laravel项目,但没有移到大学的CentOS服务器。
我已将laravel公用文件夹文件放在public_html中,并且已将所有其他laravel项目文件放在blog文件夹中。
require __DIR__.'/../blog/bootstrap/autoload.php';
$app = require_once __DIR__.'/../blog/bootstrap/app.php';
我在index.php中更改了2行
PHP Warning: include(/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 10:43:58 2017] [error] [client 137.195.14.30] PHP Warning: include(): Failed opening '/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 10:43:58 2017] [error] [client 137.195.14.30] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', Array)\n#5 /home/cs/username/blog/vendor/lara in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
[Thu Jun 08 11:54:48 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 11:54:48 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 11:54:48 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', Array)\n#5 /home/cs/username/blog/vendor/lara in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
[Thu Jun 08 11:58:06 2017] [error] [client 92.98.49.227] PHP Warning: require(/home/cs/username/public_html/../bootstrap/autoload.php): failed to open stream: No such file or directory in /home/cs/username/public_html/index.php on line 22
[Thu Jun 08 11:58:06 2017] [error] [client 92.98.49.227] PHP Fatal error: require(): Failed opening required '/home/cs/username/public_html/../bootstrap/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/index.php on line 22
[Thu Jun 08 11:58:09 2017] [error] [client 92.98.49.227] PHP Warning: require(/home/cs/username/public_html/../bootstrap/autoload.php): failed to open stream: No such file or directory in /home/cs/username/public_html/index.php on line 22
[Thu Jun 08 11:58:09 2017] [error] [client 92.98.49.227] PHP Fatal error: require(): Failed opening required '/home/cs/username/public_html/../bootstrap/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/index.php on line 22
[Thu Jun 08 11:58:12 2017] [error] [client 92.98.49.227] PHP Warning: require(/home/cs/username/public_html/../bootstrap/autoload.php): failed to open stream: No such file or directory in /home/cs/username/public_html/index.php on line 22
[Thu Jun 08 11:58:12 2017] [error] [client 92.98.49.227] PHP Fatal error: require(): Failed opening required '/home/cs/username/public_html/../bootstrap/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/index.php on line 22
[Thu Jun 08 11:58:14 2017] [error] [client 92.98.49.227] PHP Warning: require(/home/cs/username/public_html/../bootstrap/autoload.php): failed to open stream: No such file or directory in /home/cs/username/public_html/index.php on line 22
[Thu Jun 08 11:58:14 2017] [error] [client 92.98.49.227] PHP Fatal error: require(): Failed opening required '/home/cs/username/public_html/../bootstrap/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/index.php on line 22
[Thu Jun 08 12:05:35 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 12:05:35 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 12:05:35 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
[Thu Jun 08 12:05:38 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 12:05:38 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 12:05:38 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
[Thu Jun 08 12:05:46 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444, referer: http://www2.macs.hw.ac.uk/~mf156/
[Thu Jun 08 12:05:46 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444, referer: http://www2.macs.hw.ac.uk/~mf156/
[Thu Jun 08 12:05:46 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729, referer: http://www2.macs.hw.ac.uk/~mf156/
[Thu Jun 08 12:07:33 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 12:07:33 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 12:07:33 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
[Thu Jun 08 12:55:51 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 12:55:51 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 12:55:51 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
[Thu Jun 08 12:56:05 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444, referer: http://www2.macs.hw.ac.uk/~mf156/
[Thu Jun 08 12:56:05 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444, referer: http://www2.macs.hw.ac.uk/~mf156/
[Thu Jun 08 12:56:05 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729, referer: http://www2.macs.hw.ac.uk/~mf156/
[Thu Jun 08 12:56:11 2017] [crit] [client 92.98.49.227] (13)Permission denied: /home/cs/username/public_html/app/Http/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://www2.macs.hw.ac.uk/~mf156/
[Thu Jun 08 13:13:58 2017] [alert] [client 92.98.49.227] /home/cs/username/public_html/public/.htaccess: Options not allowed here
[Thu Jun 08 13:14:09 2017] [alert] [client 92.98.49.227] /home/cs/username/public_html/public/.htaccess: Options not allowed here
[Thu Jun 08 13:14:14 2017] [alert] [client 92.98.49.227] /home/cs/username/public_html/public/.htaccess: Options not allowed here
[Thu Jun 08 13:21:42 2017] [alert] [client 92.98.49.227] /home/cs/username/public_html/public/.htaccess: Options not allowed here
[Thu Jun 08 13:21:52 2017] [alert] [client 92.98.49.227] /home/cs/username/public_html/public/.htaccess: Options not allowed here
[Thu Jun 08 13:21:54 2017] [alert] [client 92.98.49.227] /home/cs/username/public_html/public/.htaccess: Options not allowed here
[Thu Jun 08 13:21:55 2017] [alert] [client 92.98.49.227] /home/cs/username/public_html/public/.htaccess: Options not allowed here
[Thu Jun 08 13:21:58 2017] [alert] [client 92.98.49.227] /home/cs/username/public_html/public/.htaccess: Options not allowed here
[Thu Jun 08 13:22:01 2017] [alert] [client 92.98.49.227] /home/cs/username/public_html/public/.htaccess: Options not allowed here
[Thu Jun 08 13:22:20 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 13:22:20 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 13:22:20 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
[Thu Jun 08 13:29:56 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729, referer: http://www2.macs.hw.ac.uk/~mf156/
[Thu Jun 08 13:35:34 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 13:35:34 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 13:35:34 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', Array)\n#5 /home/cs/username/blog/vendor/lara in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
[Thu Jun 08 13:35:40 2017] [error] [client 92.98.49.227] File does not exist: /home/cs/username/public_html/public
[Thu Jun 08 13:35:45 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 13:35:45 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 13:35:45 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', Array)\n#5 /home/cs/username/blog/vendor/lara in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
[Thu Jun 08 13:36:48 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 13:36:48 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 13:36:48 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', Array)\n#5 /home/cs/username/blog/vendor/lara in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
如您所见,我添加了/ blog
我可以访问SSH shell,下面是错误列表:
df = pd.read_hdf(store, data, where= "column like '%blabla'")
答案 0 :(得分:0)
如果public_html /是您的Web根目录,那么您可能希望将所有Laravel文件放在Web根目录中。 Laravel应该知道如何使用自己的公共文件夹。您不应该更改自动加载路径。
有关其他重要Laravel目录的权限,请阅读:
"目录权限
安装Laravel后,您可能需要配置一些权限。存储和引导/缓存目录中的目录应该可由Web服务器写入,否则Laravel将无法运行。如果您使用的是Homestead虚拟机,则应已设置这些权限。"