Re: Flex production server problem

2019-12-12 Thread Olaf Krueger
Just another side note: PHP 5.6 reached its end of live at Dec2018 [1]. Not sure if ZendAMF works with PHP7, but even if it works, it also has not been supported for a long time. So, you might ran into security issues... Just to ensure that you aware of this ;-) Olaf [1]

Re: Flex production server problem

2019-12-12 Thread dw1970
Instead of using localhost, use the exact IP address in LevelService.php, everything works now. -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Flex production server problem

2019-12-12 Thread dw1970
Hi, Javier, Let me give a briefly describe what I want to achieve. I developed a simple app called testprodserver using Flex builder 4.6, WAMP. The purpose of developing this is to make sure the production server is setup probably with ZendFramework, a DB called bookclub with only one table called

Re: Flex production server problem

2019-12-11 Thread Javier Guerrero García
Hi! Lucky guess, but still I have absolutely no idea of your setup or intents ;-) Anyway, you have granted permissions to 'dwu'@'localhost' (meaning "dwu accessing from localhost"), but IIRC you are trying to access it from anywhere, right? Try granting permissions to 'dwu'@'%' (meaning "dwu

Re: Flex production server problem

2019-12-11 Thread dw1970
Hi, Javier, Good point, I have made changes in the amf_config.ini so that the webroot is now webroot =/var/www/vhosts/bbrchk.com/httpdocs After the change and recorded it with Charles 4.5.5, I got a different warning (seems like closer to fixing) mysqli_connect(): (HY000/1045): Access denied for

Re: Flex production server problem

2019-12-11 Thread Javier Guerrero García
Hi: Absolutely no idea of your setup, but according to your post: File(/opt/plesk/php/5.6/share/pear/ > http://www.bbrchk.com < / > Services/BookClub/LevelService.php > ) > Should that read as

Re: Flex production server problem

2019-12-11 Thread Carlos Rovira
Hi, If I understand correctly, you're having success to communicate with the server. But something is wrong in the data exchanged. I use Java/BlazeDS on server not PHP (last time for PHP was around 10 years ago). So my advice is: 1.- try to reduce first use case to the simplest one. Start by

Re: Flex production server problem

2019-12-11 Thread dw1970
Have used Charles 4.5.5 as advised. Recorded "Failed to parse data (com.xk72.amf.AMFException: Unsupported AMF3 packet type 60 at 1)" as in this image also, recorded " *Warning*: is_readable(): open_basedir

Re: Flex production server problem

2019-12-10 Thread Carlos Rovira
Hi, if that is working locally but not in the server, probably there's some localhost reference in the code. I suggest you to use a tool like Charles Proxy [1] to see the traffic and try to identify if packages are begin sent/received. That proxy is capable to see AMF / RemoteObect data sent and

Flex production server problem

2019-12-09 Thread dw1970
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