Yes, I am baking the views from the app_name folder at the command
prompt.

I have also setup Eclipse PDT and can bake directly from there but
with the same results.

Could it be something incorrect in my setup?

On Feb 11, 12:40 pm, Baz <[EMAIL PROTECTED]> wrote:
> hmmph,
>
> Never experienced what you're seeing. Are you sure you're baking the views
> from the app_name folder?
>
> On Feb 11, 2008 12:36 PM, rob.rightmyer <[EMAIL PROTECTED]> wrote:
>
>
>
> > > Is the problem with the actual FOLDER structure or is it a URL problem
> > (or
> > > both)?
>
> > The problem seems to be with the folder structure created after baking
> > which
> > in turn effects the URL when I try to access my app.
>
> > > Ok, here we go, start fresh!
>
> > >    1. cd htdocs\cake
> > >    2. cake bake [newapp]
> > >    3. cd newapp
> > >    4. cake bake (bake stuff from here)
>
> > Followed these steps and experienced the same results unfortunately.
>
> > The resulting directory structure after baking looks like this:
> > htdocs\cake\app_name\views\app_name
>
> > And inside this directory are add.ctp, edit.ctp, index.ctp and
> > view.ctp.
>
> > To accesshttp://localhost/cake/newappwould require the files above
> > to
> > be in the root of my view folder, correct? Or am I missing something?
> > If I
> > move the files up a level to the "view" directory, this should give me
> > the
> > result I'm looking for. Instead I receive the standard cake "home"
> > page.
>
> > The functionality I'm hoping to achieve is to be able to install cake
> > on any
> > directory on my server, which is one of the main features mentioned on
> > the
> > CakePHP page. If there is a better way to accomplish this I'd like to
> > know.
>
> > On Feb 11, 11:25 am, Baz <[EMAIL PROTECTED]> wrote:
> > > Ok, we need to make a distinction here...
>
> > > Is the problem with the actual FOLDER structure or is it a URL problem
> > (or
> > > both)?
>
> > > Ok, here we go, start fresh!
>
> > >    1. cd htdocs\cake
> > >    2. cake bake [newapp]
> > >    3. cd newapp
> > >    4. cake bake (bake stuff from here)
>
> > > You should be able to access fromhttp://localhost/cake/newapp
>
> > > If not, check your DocumentRoot in httd.conf.
>
> > > or better yet, just copy the default app folder to newapp and see if it
> > does
> > > the same doubling thing.
>
> > > On Feb 11, 2008 10:26 AM, rright <[EMAIL PROTECTED]> wrote:
>
> > > > > Questions:
> > > > > - Linux/Windows
> > > > > - PHP and Cake console in %PATH% or calling each time?
>
> > > > I'm running xampp on Windows and Cake is installed in the xampp htdocs
> > > > folder:
> > > > "localhost://cake"
>
> > > > PHP and Cake console have been added to the Path environment variables
> > > > in Windows.
>
> > > > I want to clarify that baking works fine but my question is in the
> > > > resulting paths to my app.
>
> > > > After baking, the resulting path to my app is:
> > > >http://localhost/cake/project_name/project_name/
>
> > > > I want to know how to make my app accessible from this URL insteak:
> > > >http://localhost/cake/project_name/
>
> > > > Baking appears to double my project name twice in the URL string.
> > > > Perhaps this is by
> > > > design, I don't know. I'm a cake newbie and am just trying to
> > > > understand if what I'm
> > > > seeing is normal or if there is an adjustment I need to make to
> > > > achieve what I want.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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