Wel, not exactly.
I have Cake in Ubunto 9.04, and it works well. I have some questions:
Make shure the web server You are using does have access to all your
application, cake and vendors tree.
- You can ensure this with the following commands:
- sudo find <your_cake_path> -type d -exec chmod 755 {} + ;
- sudo find <your_cake_path> -type f -exec chmod 644 {} + ;
- sudo find <your_app_path> -type d -exec chmod 755 {} + ;
- sudo find <your_app_path> -type f -exec 644 {} + ;
- sudo find <your_app_path>/tmp -type d -exec chmod 777 {} + ;
- sudo find <your_app_path>/tmp -type f -exec chmod 666 {} + ;
Also make shure all file names are lowercase, including the extension.
Regards.
2009/7/14 GravyFace <[email protected]>
>
> Also check your permissions; www-data needs at least read permissions
> on your files/directories, but check the Linux installation guide for
> CakePHP (you'll need to grant rw to the tmp directory, etc.).
>
> On Tue, Jul 14, 2009 at 11:08 AM, MrMeikel<[email protected]> wrote:
> >
> > Not very experienced with Linux. But my first guess would be that
> > Linux uses case-sensitive file names - check all your views to make
> > sure they are correctly cased (I do not know what the correct casing
> > is in this situtation).
> >
> > On Jul 14, 8:24 am, Prabu <[email protected]> wrote:
> >> Hi,
> >>
> >> I just moved my cake app folder from windows to ubuntu and getting
> >> this error : missing view (could not find .ctp)
> >>
> >> In my controller I have two methods like this:
> >>
> >> function foo1($viewtype = null) {
> >> // loads data here...
> >> $this->render($viewtype, 'ajax');
> >> }
> >>
> >> function foo2() {
> >> $this->Session->write('abcd', "\\");
> >> $this->foo1();
> >> }
> >>
> >> when I call gohome it throws the MissingView error.
> >>
> >> It was working correctly in windows.
> >>
> >> Anyone faced such problem?
> > >
> >
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---