We were in the process of updating an older application to work with AMFPHP and cake1.2. We were getting some fairly serious errors on the AMFPHP connection.
We found that one part of the fix was to comment out line 177 in cake_gateway.php and add in a require_once of your app_controller.php file. (This assumes you have an application directory-level app_controller.php file.)
//loadController(null);
require_once('app_controller.php');
We were unable to get App::import(), the new method of loading items in cakePHP 1.2, to work in a similar manner as the loadController() method.
Sphere: Related Content
Maybe you could try the one in CakeSWXPHP:
kiang Feb 11, 06:02 PM #http://blog.aboutme.be/cakeswxphp
Were you ever able to find a full solution for this?
I am facing the same problem — I need to upgrade CakeAMFPHP to work in Cake 1.2. I’ve done the above (set up the importing/require for cake_gateway.php) but our flash components are still all timing out.
Ryan Jul 8, 02:43 PM #