I dont have any HttpResponse class or plugin. I only use core CakePHP class.
And as you see, $responseClass is HttpResponse.
Even I tried to use new fresh application, and added those sample code, but I got nothing.
Is any requirements of PHP?
Thank you,
M.Truong.
On Thursday, June 28, 2012 3:46:29 PM UTC+7, Bui Minh Truong wrote:
-- On Thursday, June 28, 2012 3:46:29 PM UTC+7, Bui Minh Truong wrote:
Hi all,Sorry if there was any thread about my problem (I did search that problem but I was unlucky).I used instruction of HttpSocket on this page:My request was created and it actually requested target host, but there was an empty response.I debugged 2 classes of CakePHP : HttpSocket and HttpResponse, then I found that:In HttpSocket : (\lib\Cake\Network\Http) Line 397:$this->response = new $responseClass($response);$response is not empty but $this->response is empty, though $responseClass is HttpResponse.In HttpResponse: no constructor called.Could anyone help us to understand this problem.Thank you,M.Truong.
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment