cakephp - An error "Class 'HttpSocket' Not Found" occured -
i'm trying update cakephp ver.1.3 2.6.
and found error using mylibraryclass.
error is:
"class 'httpsocket' not found" and code is:
<?php class myapiclient { public function __construct() { $this->socket = new httpsocket(); so added line before class.
<?php app::uses('httpsocket', 'network/http'); class myapiclient { but error still shown. there did deal case?
as per our discussion in comments have added following code in app/lib
app::uses('httpsocket', 'network/http'); so please place same in required controller before class definition.
Comments
Post a Comment