Thanks to John's help I now have CakeAMFPHP 0.6.0 running in my cake 1.2 app.
For anyone else looking to achieve this please check out: http://bakery.cakephp.org/articles/view/using-cakeamfphp-0-6-w-cake-1-2 On Jul 8, 1:57 pm, morris <[EMAIL PROTECTED]> wrote: > sorry, guess I should have clarified. We are still using the > oldcakeamfphpproject (.6) .. not the new "cakeamf" project. > > The reason we are doing this is because I don't have access to the > flash source at this time, and I'm unsure if I will need to be making > any edits to the flash/as if we are to upgrade fromCakeAMFPHP0.6 to > CakeAMF (apart from the gateway connection which is set dynamically). > > I was hoping to simply getCakeAMFPHPrunning with the Cake 1.2 > upgrade I just did, but our flash movies are all timing out their > connections. > > Do you have any experience with runningCakeAMFPHP(the old one) in > cake 1.2? If so, what was the process of manually upgradingCakeAMFPHP? > > Do you instead recommend setting up the new 'CakeAMF'? I tried it out > briefly but our flash movies were still timing out. I'm not sure if > the gateway was set up correctly though I followed all directions. I > set up the amfext in php, added the 'amf' plugin to my app, imported > it into webroot/index.php, then included as component in > app_controller (as 'Amf.Amf'), and set my gateway to the root of the > app (/). This, unfortunately, did not resolve anything. > > Thanks again for your time and help here > > -morris > > On Jul 8, 1:12 pm, John David Anderson <[EMAIL PROTECTED]> > wrote: > > > I think you're using even an older version of Cakeamf than I am. > > > I'd suggest getting the latest goodness from SVN, and following the > > instructions here: > > >https://trac.cakefoundation.org/amf/ > > > -- John > > > On Jul 8, 2008, at 10:48 AM, morris wrote: > > > > So you're suggesting I move the following lines from /webroot/ > > > cake_gateway.php > > > > -- loadController (null); see below > > > -- vendor('cakeamfphp'.DS.'amf-core'.DS.'app'.DS."CakeGateway"); see > > > below > > > > into /webroot/index.php as > > > > -- App::import('Controller', null); > > > -- App::import('Vendor', 'CakeGateway', null, null, > > > 'cakeamfphp'.DS.'amf-core'.DS.'app'.DS."CakeGateway.php"); > > > > ? > > > > I would certainly appreciate some help here if there is more to it > > > than this. Feel free to PM me. > > > > Thanks! > > > > On Jul 8, 12:06 pm, John David Anderson <[EMAIL PROTECTED]> > > > wrote: > > >> On Jul 8, 2008, at 9:29 AM, morris wrote: > > > >>> I'm having a heck of a time trying to getCakeAMFPHP0.6 working > > >>> with > > >>> a cake 1.2 site. We had been working with cake 1.1 andCakeAMFPHP, > > >>> which was doing fine. I've spent the past week upgrading our site > > >>> for > > >>> 1.2 and everything is working extremely well -- except our flash > > >>> bits > > >>> have ceased to work. > > > >>> Unfortunately our team is now lacking the flash expert who had set > > >>> all > > >>> the flash stuff up, otherwise I wouldn't be here. I'm hoping that > > >>> there may be some folk out there who have also chosen to simply > > >>> overhaul theircakeamfphpto work in the 1.2 environment, like us. > > >>> (I'd love to move to CakeAMF but I don't have the wherewithall to > > >>> break open our flash files and retool them). > > > >>> I modified the cake_gateway.php file to be using the correct > > >>> App::import methods, and debug var, which when visited tells me it > > >>> is > > >>> set up correctly. The problem seems to be that the flash movies are > > >>> all timing out. > > > >>> Is there anything that anyone can tell me about the process for re- > > >>> toolingcakeamfphpto work in cake 1.2? > > > >> The App::import() call is now in index.php due to some path loading > > >> changes since earlier versions of cake. I can help if you need it. > > > >> -- John --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---