You can make the short tag <? working by editing the php .ini file :
http://be.php.net/manual/en/ini.core.php

/me personally never uses short tags :)



On Wed, Sep 23, 2009 at 8:24 AM, Selva manickaraja <mavle...@gmail.com>wrote:

> Hi,
>
> I tried that and ended up with misconfiguration errors. However I did one
> more look into the code. The beginning on the script for Item and
> ItemsController was written as "<?" instead of "<?php" preprocessor. I
> copied the script exactly as it was written in the book thinking that Cake
> would understand the script as default php instead of having to explicitly
> putting in "<?php". So when I changed it to "<?php" and typed
> http://localhost/ims/items in the URL it works perfectly.
>
> Thank you John for the guidance rendered so far. It has been helpful.
>
> Warmest Regards,
>
> Selvam
>
> On Wed, Sep 23, 2009 at 12:57 PM, John Andersen 
> <j.andersen...@gmail.com>wrote:
>
>>
>> Ok, from what I can discern, your application directory is "ims", so
>> your cake application content should be in the "ims" directory, not in
>> the "ims/app" directory.
>> Move everything from "app" into "ims" directory and give it a try!
>> Enjoy,
>>   John
>>
>> On Sep 23, 5:02 am, Selva manickaraja <mavle...@gmail.com> wrote:
>> > Yes, I had corrected that all the first time I sent the email. According
>> to
>> > the book tutorial, I should be getting the view. But I am still stuck
>> with
>> > the error message Missing Controller. Could it be environment setup?
>> Please
>> > advice
>> >
>> > Thank you.
>> >
>> > On Wed, Sep 23, 2009 at 1:17 AM, John Andersen <j.andersen...@gmail.com
>> >wrote:
>>  >
>> >
>> >
>> > > Correct also your model class to Item, not Items! Singular in models,
>> > > plural in controllers.
>> > > Enjoy,
>> > >   John
>> > > [snip]
>> > > > 2. Wrote a script called item.php and placed it in app\models
>> directory
>> > > to
>> > > > define a class called Items.
>> > > [/snip]e
>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to