質問編集履歴
6
エラーの内容の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -82,9 +82,19 @@
|
|
82
82
|
|
83
83
|
```
|
84
84
|
|
85
|
-
|
86
|
-
|
87
|
-
|
85
|
+
PHP message: PHP Fatal error: Uncaught ErrorException: file_put_contents(/var/www/html/scraping/storage/framework/views/0c34c98ae8b1ae9acd904b0fab9fcc1606801835.php): failed to open stream: Permission denied in /var/www/html/scraping/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122
|
86
|
+
|
87
|
+
Stack trace:
|
88
|
+
|
89
|
+
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'file_put_conten...', '/var/www/html/s...', 122, Array)
|
90
|
+
|
91
|
+
#1 /var/www/html/scraping/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(122): file_put_contents('/var/www/html/s...', '<?php\n $titl...', 0)
|
92
|
+
|
93
|
+
#2 /var/www/html/scraping/vendor/laravel/framework/src/Illuminate/View/Compilers/BladeCompiler.php(121): Illuminate\Filesystem\Filesystem->put('/var/www/html/s...', '<?php\n $titl...')
|
94
|
+
|
95
|
+
#3 /var/www/html/scraping/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(51): Illuminate\View\Compilers\BladeCompiler-
|
96
|
+
|
97
|
+
(END)
|
88
98
|
|
89
99
|
```
|
90
100
|
|
5
書式の変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -38,6 +38,8 @@
|
|
38
38
|
|
39
39
|
composer installも行いました。
|
40
40
|
|
41
|
+
|
42
|
+
|
41
43
|
```
|
42
44
|
|
43
45
|
$ composer install
|
@@ -54,6 +56,8 @@
|
|
54
56
|
|
55
57
|
|
56
58
|
|
59
|
+
|
60
|
+
|
57
61
|
###発生している問題・エラーメッセージ
|
58
62
|
|
59
63
|
|
@@ -64,7 +68,11 @@
|
|
64
68
|
|
65
69
|
【/var/log/nginx/access.log】
|
66
70
|
|
67
|
-
```
|
71
|
+
```
|
72
|
+
|
73
|
+
114.179.83.214 - - [30/Mar/2018:15:40:43 +0900] "GET / HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36" "-"
|
74
|
+
|
75
|
+
```
|
68
76
|
|
69
77
|
|
70
78
|
|
4
composer installの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,6 +36,24 @@
|
|
36
36
|
|
37
37
|
|
38
38
|
|
39
|
+
composer installも行いました。
|
40
|
+
|
41
|
+
```
|
42
|
+
|
43
|
+
$ composer install
|
44
|
+
|
45
|
+
Loading composer repositories with package information
|
46
|
+
|
47
|
+
Installing dependencies (including require-dev) from lock file
|
48
|
+
|
49
|
+
Nothing to install or update
|
50
|
+
|
51
|
+
Generating autoload files
|
52
|
+
|
53
|
+
```
|
54
|
+
|
55
|
+
|
56
|
+
|
39
57
|
###発生している問題・エラーメッセージ
|
40
58
|
|
41
59
|
|
@@ -46,7 +64,7 @@
|
|
46
64
|
|
47
65
|
【/var/log/nginx/access.log】
|
48
66
|
|
49
|
-
114.179.83.214 - - [30/Mar/2018:15:40:43 +0900] "GET / HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36" "-"
|
67
|
+
```114.179.83.214 - - [30/Mar/2018:15:40:43 +0900] "GET / HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36" "-"```
|
50
68
|
|
51
69
|
|
52
70
|
|
3
内容の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -56,12 +56,10 @@
|
|
56
56
|
|
57
57
|
```
|
58
58
|
|
59
|
+
2018/03/30 16:59:33 [error] 9404#0: *34 FastCGI sent in stderr: "PHP message: PHP Warning: require(/var/www/html/scraping/public/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/scraping/public/index.php on line 24
|
60
|
+
|
59
61
|
PHP message: PHP Fatal error: require(): Failed opening required '/var/www/html/scraping/public/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/scraping/public/index.php on line 24" while reading response header from upstream, client: 114.179.83.214, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "27.133.152.201"
|
60
62
|
|
61
|
-
2018/03/30 16:59:33 [error] 9404#0: *34 FastCGI sent in stderr: "PHP message: PHP Warning: require(/var/www/html/scraping/public/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/scraping/public/index.php on line 24
|
62
|
-
|
63
|
-
PHP message: PHP Fatal error: require(): Failed opening required '/var/www/html/scraping/public/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/scraping/public/index.php on line 24" while reading response header from upstream, client: 114.179.83.214, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "27.133.152.201"
|
64
|
-
|
65
63
|
```
|
66
64
|
|
67
65
|
|
2
/var/log/nginx/error.logを追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
-
[画面上]
|
9
|
+
[crome画面上]
|
10
10
|
|
11
11
|
このページは動作していません
|
12
12
|
|
@@ -50,6 +50,22 @@
|
|
50
50
|
|
51
51
|
|
52
52
|
|
53
|
+
追記(CHERRY様)
|
54
|
+
|
55
|
+
【/var/log/nginx/error.log】
|
56
|
+
|
57
|
+
```
|
58
|
+
|
59
|
+
PHP message: PHP Fatal error: require(): Failed opening required '/var/www/html/scraping/public/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/scraping/public/index.php on line 24" while reading response header from upstream, client: 114.179.83.214, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "27.133.152.201"
|
60
|
+
|
61
|
+
2018/03/30 16:59:33 [error] 9404#0: *34 FastCGI sent in stderr: "PHP message: PHP Warning: require(/var/www/html/scraping/public/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/scraping/public/index.php on line 24
|
62
|
+
|
63
|
+
PHP message: PHP Fatal error: require(): Failed opening required '/var/www/html/scraping/public/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/scraping/public/index.php on line 24" while reading response header from upstream, client: 114.179.83.214, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "27.133.152.201"
|
64
|
+
|
65
|
+
```
|
66
|
+
|
67
|
+
|
68
|
+
|
53
69
|
###該当のソースコード
|
54
70
|
|
55
71
|
|
1
画面に表示されているエラーメッセージの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,6 +6,16 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
+
[画面上]
|
10
|
+
|
11
|
+
このページは動作していません
|
12
|
+
|
13
|
+
27.133.152.201 では現在このリクエストを処理できません。
|
14
|
+
|
15
|
+
HTTP ERROR 500
|
16
|
+
|
17
|
+
|
18
|
+
|
9
19
|
**全体の流れ**
|
10
20
|
|
11
21
|
|