teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

書式の改善

2017/05/29 05:05

投稿

kdoama
kdoama

スコア6

title CHANGED
File without changes
body CHANGED
@@ -4,9 +4,29 @@
4
4
 
5
5
  データをXML形式でPOSTしているのですが、以下のエラーが発生してしまい、処理が進まない状態にあります。
6
6
 
7
+ ソースコード
8
+ ```
9
+ protected function _open($url)
10
+ {
11
+ set_error_handler(function ($code, $message) {
12
+ $this->_connectionErrors[] = $message;
13
+ });
14
+ $this->_stream = fopen($url, 'rb', false, $this->_context);
15
+ restore_error_handler();
16
+
17
+ if (!$this->_stream || !empty($this->_connectionErrors)) {
18
+ throw new Exception(implode("\n", $this->_connectionErrors));
19
+ }
20
+ }
21
+ ```
22
+
23
+
7
24
  エラー内容:
8
25
  fopen(): send of 8192 bytes failed with errno=11 Resource temporarily unavailable
9
26
 
27
+ ※POSTデータを少なくすると、上手くいくことは確認しました。
28
+ 送信データを少なくするしか方法はないのでしょうか。
29
+
10
30
  どなたか解決策をご存知の方がいらっしゃいましたら、お教え願います。
11
31
 
12
32
  環境は、

1

誤字修正

2017/05/29 05:04

投稿

kdoama
kdoama

スコア6

title CHANGED
File without changes
body CHANGED
@@ -1,4 +1,4 @@
1
- 現在、Cakephp3にてカハイツを行っております。
1
+ 現在、Cakephp3にて開発を行っております。
2
2
 
3
3
  APIを使用して、データの更新を行う処理にて、
4
4