After developed a Flex application, I made the flex 4 production release to a production server. In the development environment, the application has been working fine under flash builder 4.6 and WAMP. After FTP the release build to production server (running MYSQL5, PHP5 and Apache2) and execute the app, I am able to see the first screen of my apps which proved can find the apps in the prod server. But when the app is going fetch data from MYSQL, no data returned.
I followed https://community.adobe.com/t5/flash-builder/flex-and-zend-amf-deployment-resolved-with-proper-solution/td-p/4833253 to setup the amf_config.ini and gateway.php. I tested the endpoint by executing http://mydomain/testprodserver/gateway.php in firefox and it downloaded the gateway.php. When I opened this gateway.php file, I can see <p>Zend Amf Endpoint</p> Therefore, I assume the zendframework that I uploaded to the production is setup correctly. Also, I changed the service php so that it pointed to the right username, password, server, port, databasename and tablename as setup in the production server DB. Very much appreciated if you can enlighten me with any possible solution to this problem I have for many months. Without setting up a production environment, I am unable to deliver the apps to users. If needed, I can supply with the HostIP, Username and password so whoever need to access that production server. Currently this server is empty except for the simple apps that I developed to test the production server setup. -- Sent from: http://apache-flex-users.2333346.n4.nabble.com/