At this point, I'd suggest contacting Magnik.
http://www.magnik.com/api/terms_and_conditions

See if it's compatible with the current version of CakePHP.  If they
do any URL rewriting of their own (or custom routes) it *may* break
the default setup of Jake.  If that's the case, you'd then need to
compare and contrast the routes.

As for an older version of CakePHP, I don't know how to get access to
it without using an SVN client - and since I don't use SVN, I still
wouldn't know for sure if it's available via that method either.

Have you tried creating a "store" from scratch using Magnik and a
current build of CakePHP?  If you can get that working, the Jake
interoperability can come after.

On Mar 17, 1:48 pm, Robin <[email protected]> wrote:
> Hi Brendon, I appreciate your help. I am under the impression that
> it's not just the jake.ini configuration problem. I tried the latest
> cakephp version and it works like a charm. But using exactly the same
> configuration file, while using the script I mentioned written in an
> earlier version of cake 1.2, I am having the problem. So, I guess
> either between the two versions, there has been something leading to
> the problem, or it is the application-building process broke some
> connections. I thought that the building of the application will not
> break the relationship between jake and cake, since it should not
> touch the cake core, but I may well be wrong. But that was the reason
> I suspected it was the version difference. I am not trying to talk you
> into guiding me through the upgrading process, I am just trying to
> identify my problem. Is there a way I can get a cakephp
> 1.2.0.5427alpha version, so that I can try and see whether it is
> application-related or version-related? I searched online for long
> time and found nowhere to download such earlier version of cakephp. Do
> you have any resources, maybe a backup of earlier files? Again, thanks
> so much and have a good one!
>
> Robin
>
> On Mar 17, 12:03 pm, Brendon Kozlowski <[email protected]> wrote:
>
>
>
> > Umm...what?  You just went from having issues using Jake, a connector
> > for CakePHP and Joomla, to a completely different application issue.
> > If it is upgrade problems, I'm of the mindset that if you can't do it
> > yourself, someone should be hired to do it for you.
>
> > Anyhow, I took a look at Joomla (v1.5) and Jake (v1.0.3.38b for Joomla
> > 1.5), running CakePHP v1.2.0.7962 (as it was the latest I happened to
> > have, already downloaded).
>
> > The primary step that Jake ignores, is that it *assumes* your CakePHP
> > application is ALREADY installed, configured, and running.  The
> > configuration of Jake is then to simply point to where you have it
> > installed.  I misunderstood how Jake integrated Joomla and CakePHP.
> > You install Joomla on its own.  You also install CakePHP on its own.
> > My (test) directory structure was as follows:
>
> > - htdocs/
> > --- joomla/
> > ------ joomla related files...
> > --- cake/
> > ----- app/
> > ------- webroot/
> > ----- cake/
> > ----- vendors/
>
> > After following the instructions on Jake's site, after importing the
> > Jake ZIP archive and reading that I needed to configure the "jake.ini"
> > file, I came to realize it expected the app to have already been
> > baked, and all it was asking for was the full (or relative) path to
> > the CakePHP application.
>
> > As for Magnik.com's application, I'm not familiar with that, nor do I
> > really want to be.  Hopefully you can get that working on your own.
> > Supposedly it uses a version of Cake v1.2, so the routing and htaccess
> > rules should be the same, so it seems the Jake configuration is
> > (hopefully) simply the problem here.
>
> > On Mar 16, 5:21 pm, Robin <[email protected]> wrote:
>
> > > Thanks Brendon. Definitely appreciate your help. Maybe you can use the
> > > exact cake application I am using so that to reproduce what I am
> > > seeing right now. Here is the 
> > > link:http://www.magnik.com/api/files/magnik%201.2.4.zip.
> > > It is a amazon script written in cakephp. I do think the version
> > > matters since I can use the latest version of cake with no problem,
> > > although I don't have the capability to upgrade that application to
> > > latest cake. Thanks again!
>
> > > On Mar 16, 10:19 am, Brendon Kozlowski <[email protected]> wrote:
>
> > > > Whoops, Smelly Eddie is right.  I think "below" as being outside the
> > > > document root, not within.  I'm back from my trip, I'll see if I can
> > > > install Joomla withJakesupport on a test server later tonight to see
> > > > what the issue is.
>
> > > > On Mar 15, 1:23 pm, Robin <[email protected]> wrote:
>
> > > > > I realized that this might be a completely different problem. Since
> > > > > the mainframe of joomla wasn't displayed after I calledjakecomponent
> > > > > with index.php?option=com_jake. It might be a problem thatjakecalls
> > > > > joomla files, including css files. If that's the case, it is the
> > > > > handling of joomla url be wrong. Since the cake\app path is defined
> > > > > relative to joomla folder, the path will be wrong as well. But I still
> > > > > cannot locate howjakecould mess up with the joomla url writing.
> > > > > Anyone please?
>
> > > > > On Mar 14, 1:18 pm, Robin <[email protected]> wrote:
>
> > > > > > Thanks Smelly. Actually, I did try both, and they gave me the same
> > > > > > result. The way I avoided the mixing of index.php page is that I
> > > > > > renamed index.php in cakephp to cakephp.php, and call that page 
> > > > > > injakecomponent. But still exactly the same symptom. I actually 
> > > > > > tried a
> > > > > > few other ways, like put joomla files in a folder named joomla and 
> > > > > > put
> > > > > > it under webroot rather than directly copying joomla files to 
> > > > > > webroot,
> > > > > > etc. They all give the same error and symptom.
>
> > > > > > One thing I almost forgot and I guess is important: I suppose any
> > > > > > cakephp link originally in my cake application should be rewrite to 
> > > > > > a
> > > > > > joomla component link, right? So, in my original question, I said 
> > > > > > the
> > > > > > link is supposed to be "http://localhost/cake/about_us";, that's not
> > > > > > correct! It should actually be "http://localhost/joomla/index.php?
> > > > > > option=com_jake......./about_us. It seems to me that this simply
> > > > > > indicatesjake'srewriting is wrong.
>
> > > > > > Still in need of help. Please....
>
> > > > > > Robin
>
> > > > > > On Mar 14, 9:10 am, Smelly Eddie <[email protected]> wrote:
>
> > > > > > > I have to disagree with Brennen about one thing.
>
> > > > > > > For security reasons, it is recommended to have most of CakePHPs 
> > > > > > > file
> > > > > > > (the core) *above* the webroot.
>
> > > > > > > Your servers (site's) document root should point to 
> > > > > > > cake/app/webroot.
> > > > > > > That is where you should drop Joomla.
>
> > > > > > > visiting localhost/  would then show cake  localhost/about_us   
> > > > > > > would
> > > > > > > show your static page
>
> > > > > > > visiting localhost/joomla would then show Joomla.
>
> > > > > > > Just mixing joomla files into the webroot directory (as your 
> > > > > > > second
> > > > > > > example above) would be troublesome because both the cake index 
> > > > > > > and
> > > > > > > the joomla index will be competing. In your case it looks like you
> > > > > > > completing wrote over the cake index, which would explain the 
> > > > > > > trouble.
>
> > > > > > > On Mar 13, 4:28 pm, Robin <[email protected]> wrote:
>
> > > > > > > > Anybody can help please? Thanks so much!
>
> > > > > > > > Robin
>
> > > > > > > > On Mar 13, 1:08 am, Robin <[email protected]> wrote:
>
> > > > > > > > > Hi Brendon, Thanks for the response. I am following the 
> > > > > > > > > documentation
> > > > > > > > > onJake'swebsite:http://dev.sypad.com/projects/jake/documentation/configuration/.
> > > > > > > > > It didn't specify whether joomla has to be installed under 
> > > > > > > > > app\webroot
> > > > > > > > > or not. Since it does have ajake.ini configuration file, 
> > > > > > > > > which allows
> > > > > > > > > me to put in the cakephp folder relative to the joomla folder 
> > > > > > > > > I am
> > > > > > > > > guessing at least the component is trying to take care of the 
> > > > > > > > > relative
> > > > > > > > > paths by itself.
>
> > > > > > > > > But I did try putting joomla in different locations. Here are 
> > > > > > > > > a few
> > > > > > > > > examples I tried:
> > > > > > > > > 1. >htdoc
> > > > > > > > >        >cakephp
> > > > > > > > >           >app
> > > > > > > > >               >webroot
> > > > > > > > >           >cake
> > > > > > > > >        >joomla
> > > > > > > > >           >components
> > > > > > > > >               >jake
>
> > > > > > > > > 2. >htdoc
> > > > > > > > >        >cakephp
> > > > > > > > >           >app
> > > > > > > > >               >webroot
> > > > > > > > >                   >index.php (of joomla)
> > > > > > > > >                   >components (of joomla)
> > > > > > > > >                       >jake
> > > > > > > > >                   >administrator (of joomla)
> > > > > > > > >                   >other joomla folders and files
> > > > > > > > >           >cake
>
> > > > > > > > > Neither of them worked for me. Same error and same symptoms 
> > > > > > > > > (like the
> > > > > > > > > missing "\cake" in the URL, etc)
> > > > > > > > > Any clue? Thanks again!
>
> > > > > > > > > Robin
> > > > > > > > > On Mar 12, 6:08 pm, Brendon Kozlowski 
> > > > > > > > > <[email protected]> wrote:
>
> > > > > > > > > > Robin, I won't be able to respond again (most likely) until 
> > > > > > > > > > Monday at
> > > > > > > > > > the earliest, but maybe someone else can help you if you 
> > > > > > > > > > provide some
> > > > > > > > > > more information.  It looks like your installation paths 
> > > > > > > > > > may be a
> > > > > > > > > > problem.  Can I ask what documentation you were following 
> > > > > > > > > > to get this
> > > > > > > > > > setup (source)?  Also, please give a textual example of 
> > > > > > > > > > your directory
> > > > > > > > > > structure, if possible.  CakePHP typically expects to be 
> > > > > > > > > > *below* the
> > > > > > > > > > web root, which is why you may be having issues if both 
> > > > > > > > > > Joomla and
> > > > > > > > > > CakePHP are at the same level (I haven't usedJake, but I'd 
> > > > > > > > > > think that
> > > > > > > > > > Joomla should be inside Cake's webroot folder?).
>
> > > > > > > > > > On Mar 12, 2:35 pm, Robin <[email protected]> wrote:
>
> > > > > > > > > > > Hi everyone:
>
> > > > > > > > > > >      I am pretty new to cakephp. I am trying to use 
> > > > > > > > > > > theJakecomponent
> > > > > > > > > > > to integrate it into cms. I am having some problems and 
> > > > > > > > > > > just wondering
> > > > > > > > > > > if you guys can help.
>
> > > > > > > > > > >      My cakephp is version 1.2.0.5427alpha and joomla 
> > > > > > > > > > > 1.5.9. Due to
> > > > > > > > > > > limited php knowledge, I am trying to avoid upgrading 
> > > > > > > > > > > cake. Since I am
> > > > > > > > > > > using xampp on my own computer right now, so
>
> ...
>
> read more »- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to