1
我有cakephp和amfphp 2.1集成的問題。 我提出以下控制器:CakePHP AMFPHP 2.1供應商集成
class AmfController extends AppController
{
public function index(){
App::import('Vendor','Amfphp/index');
$this->autoRender = false;
}
public function backOffice(){
App::import('Vendor', 'backOffice', array('file' => 'BackOffice' . DS . 'ServiceBrowser.php'));
$this->autoRender = false;
}
}
方法指標正常使用,CakePHP是輸出AMF的入口點,但方法後臺正在輸出以下錯誤:
Service call failed
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'amf/backOffice'
base => ''
webroot => '/'
here => '/amf/backOffice'
}
object(CakeResponse) {
}
請幫助我,文件夾AMFPHP和BackOffice都位於app/Vendor文件夾中。