質問編集履歴

3

s

2019/07/08 08:00

投稿

m8150568151
m8150568151

スコア10

test CHANGED
File without changes
test CHANGED
@@ -84,6 +84,8 @@
84
84
 
85
85
  ```
86
86
 
87
+ ### またデータが多くなるとtimeoutになってしまいます。
88
+
87
89
 
88
90
 
89
91
  # 度々すみませんがよろしくお願いします。

2

a

2019/07/08 08:00

投稿

m8150568151
m8150568151

スコア10

test CHANGED
File without changes
test CHANGED
@@ -56,6 +56,12 @@
56
56
 
57
57
 
58
58
 
59
+ ```
60
+
61
+ local.ERROR: File not found at path: sample.pdf {"exception":"[object] (League\Flysystem\FileNotFoundException(code: 0): File not found at path: sample.pdf at /var/www/html/vendor/league/flysystem/src/Filesystem.php:388)
62
+
63
+ ```
64
+
59
65
 
60
66
 
61
67
  ```$command のコマンド内容

1

2019/07/08 07:57

投稿

m8150568151
m8150568151

スコア10

test CHANGED
File without changes
test CHANGED
@@ -27,3 +27,57 @@
27
27
 
28
28
 
29
29
  # ご教授お願いします。
30
+
31
+ 多数の方にエスパーしていただきありがとうございます。
32
+
33
+ 返信も共に感謝いたします。
34
+
35
+
36
+
37
+ # 追記
38
+
39
+
40
+
41
+ ### エラー内容ですが、
42
+
43
+
44
+
45
+ ```
46
+
47
+ このサイトにアクセスできません
48
+
49
+ http://localhost:8080/pdf/1234
50
+
51
+ のウェブページは一時的に停止しているか、新しいウェブアドレスに移動した可能性があります。
52
+
53
+ ERR_INVALID_RESPONSE
54
+
55
+ ```
56
+
57
+
58
+
59
+
60
+
61
+ ```$command のコマンド内容
62
+
63
+ $command = 'nohup /usr/local/bin/wkhtmltopdf --quiet --no-pdf-compression --page-size A4 --encoding EUC-JP --orientation Portrait "' . $url . '" ' . $storage_path . " /dev/null 2>&1 &";
64
+
65
+ ```
66
+
67
+
68
+
69
+ 上記のコマンドを実行すると起こります。
70
+
71
+ しかし下記のコマンドを実行すると問題なくダウンロードできます。
72
+
73
+
74
+
75
+ ```$command のコマンド内容
76
+
77
+ $command = ' /usr/local/bin/wkhtmltopdf --quiet --no-pdf-compression --page-size A4 --encoding EUC-JP --orientation Portrait "' . $url . '" ' . $storage_path . " 2>&1";
78
+
79
+ ```
80
+
81
+
82
+
83
+ # 度々すみませんがよろしくお願いします。