Sorry if I wasn't quite clear.  Sometimes things are really obvious to
me, and I just assume everyone else will understand :-)

> When you say 'root' here you mean the root for all web activities
> right? ('public_html' as opposed to /root?)

Yes, I mean the place where all of your html files live.  For me, it's
c:\web\projects.  For you, it looks like it's public_html.

> > Now put your app in it's own folder in the root (dev, in your case).
>
> When you say put my app in it's own folder, does this mean the 'app/'
> folder or just the webroot folder?  Wouldn't the first option create a
> duplicate app folder different from the one in the first step?

Put the whole app folder in your public_html folder.  I use bake.php a
lot of times, and I just tell it to bake my project in the right
place.  For me, I use: c:\web\projects>php bake.php -project c:\web
\projects\dev (or whatever the project name is).  This is essentially
the same as copying the app folder from cake and pasting it into c:\web
\projects and then changing the name to dev.

> > Now your root should have something like the following:wp-admin, 
> > wp-content, wp-includes, cake, dev.
>
> OK!  This is definitely the case.
>
> In fact the whole thing, just to be clear looks like this
> public_html/
>    wp-admin
>    wp-content
>    wp-includes
>    cake
>       app/
>       cake/
>       docs/
>       vendors/
>    dev/
>        webroot/
>
> Does that look right?

dev should also have controllers, config, models, views, etc.

> > In your dev folder, in webroot, edit your index.php file.  Change this line:
> >      define('CAKE_CORE_INCLUDE_PATH', ROOT.DS);
> > to look like this:
> >      define('CAKE_CORE_INCLUDE PATH', ROOT.DS.'cake');
>
> Yup. Did this.

Now it should work.  My guess is, you just copied the webroot folder
and not the whole app folder.

I hope that helps!
hydra12


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to