Copy link to clipboard
Copied
We're having quite the time figuring out the settings for our amf_config.ini file for a project to be deployed on a hosted web service.
We've had no problems in creating the PHP Data Service and and using it in our development environment. Getting the application to actually connect to the databases once deployed has been another matter.
Currently we are getting the following error:
"Channel disconnected
Channel disconnected before acknowledgement was received"
We tried a number of suggestions posted on Adobe forumns, and elsewhere with no luck.
Here's the current amf_config.ini file:
---
[zend]
;set the absolute location path of webroot directory, example:
;Windows: C:\apache\www
;MAC/UNIX: /user/apache/www
webroot = .
;set the absolute location path of zend installation directory, example:
;Windows: C:\apache\PHPFrameworks\ZendFramework\library
;MAC/UNIX: /user/apache/PHPFrameworks/ZendFramework/library
zend_path = ZendFramework/library
[zendamf]
amf.production = true
amf.directories[]=resources
---
Any ideas as to what might be causing the problem?
Thanks.
Copy link to clipboard
Copied
This usually occurs when there is a syntax error in PHP, echos, prints where zend cannot send the info back. This post should help http://forums.adobe.com/message/2792809 .
Also, why don't you use the absolute paths as recommended by zend in amf_config.ini
Copy link to clipboard
Copied
I'm involved in this project as well and I have designed a lot of the PHP. Initially I found out I couldn't use echos and prints in the code but that's all cleared out now and the code is fully functioning in our test environment.
This is my first time trying to set up Zend on a server,
1.) Are there any tutorials that walk you through it?
2.) What are the reasons we might be getting the Channel Disconnected error?
Thanks in advance!