質問編集履歴
2
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -120,6 +120,18 @@
|
|
120
120
|
|
121
121
|
Warning (2): stream_filter_append(): user-filter "eolFilter" requires class "eol_filter", but that class is not defined [APP/Controller/DbackordersController.php, line 333]
|
122
122
|
|
123
|
+
Warning (2): stream_filter_append() [<a href='http://php.net/function.stream-filter-append'>function.stream-filter-append</a>]: unable to create or locate filter "eolFilter" [APP/Controller/DbackordersController.php, line 333]
|
124
|
+
|
125
|
+
Warning (2): stream_filter_append() [<a href='http://php.net/function.stream-filter-append'>function.stream-filter-append</a>]: user-filter "encodeFilter" requires class "encode_filter", but that class is not defined [APP/Controller/DbackordersController.php, line 334]
|
126
|
+
|
127
|
+
Warning (2): stream_filter_append() [<a href='http://php.net/function.stream-filter-append'>function.stream-filter-append</a>]: unable to create or locate filter "encodeFilter" [APP/Controller/DbackordersController.php, line 334]
|
128
|
+
|
129
|
+
Warning (2): Cannot modify header information - headers already sent by (output started at /Users/shintarokaminaga/Sites/azmap/vendor/cakephp/cakephp/src/Error/Debugger.php:754) [APP/Controller/DbackordersController.php, line 337]
|
130
|
+
|
131
|
+
Warning (2): Cannot modify header information - headers already sent by (output started at /Users/shintarokaminaga/Sites/azmap/vendor/cakephp/cakephp/src/Error/Debugger.php:754) [APP/Controller/DbackordersController.php, line 338]
|
132
|
+
|
133
|
+
Warning (2): fputcsv() expects parameter 2 to be array, object given [APP/Controller/DbackordersController.php, line 343]
|
134
|
+
|
123
135
|
```
|
124
136
|
|
125
137
|
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -62,9 +62,9 @@
|
|
62
62
|
|
63
63
|
$results = $this->Dbackorders->find()->toArray();
|
64
64
|
|
65
|
-
|
66
65
|
|
66
|
+
|
67
|
-
|
67
|
+
// フィルタを登録
|
68
68
|
|
69
69
|
stream_filter_register("eolFilter", "eol_filter");
|
70
70
|
|
@@ -78,9 +78,9 @@
|
|
78
78
|
|
79
79
|
// フィルタを開いたストリームに付加する
|
80
80
|
|
81
|
-
stream_filter_append($fp, "
|
81
|
+
stream_filter_append($fp, "eolFilter");
|
82
82
|
|
83
|
-
|
83
|
+
stream_filter_append($fp, "encodeFilter");
|
84
84
|
|
85
85
|
|
86
86
|
|