The problem is that the MovieCommentsController cannot be more simpler
thant that !
(And there are no funny stuff in the app_controller)

Does your application also invoque parameters in the parseExtension ?
Because in my case there are

class MovieCommentsController extends AppController {

        var $name = 'MovieComments';
        var $helpers = array('Html', 'Form');

        var $paginate = array(
                'order' => 'MovieComment.created DESC'
        );

        function beforeFilter() {
                parent::beforeFilter();
                $this->Auth->allowedActions = array('feed');
        }

        function feed($id = null) {

                //Configure::write('debug', 0);

                $params = array(
                        'contain' => array(
                                'MovieComment' => array(
                                        'fields' => 
array('MovieComment.comment',
'MovieComment.created'),
                                        'order' => array('MovieComment.created' 
=> 'desc'),
                                        'limit' => 30,
                                        'User' => array(
                                                'fields' => 
array('User.firstname', 'User.lastname')
                                        ),
                                        'Movie' => array(
                                                'fields' => array('Movie.slug')
                                        )
                                )
                        ),
                        'conditions' => array('Movie.id' => $id, 'Movie.avail' 
=> 1),
                        'fields' => array('Movie.title', 'Movie.description',
'Movie.created', 'Movie.slug'),
                        );

                $comments = $this->MovieComment->Movie->find('first', $params);

                $channel = array('title' => 'sph3re.tv : latest comments on ' .
$comments['Movie']['title'] ,
                                'link' => array('controller' => 
'movie_comments', 'action' =>
'feed', 'ext' => 'rss', $id),
                                'description' => 'Recent comments posted on 
sph3re.tv',
                                'language' => 'en-us'
                                );

                //debug($comments); exit();
                $this->set(compact('channel', 'comments'));

        }

I do not think it can be more basic...

And what is really strange is that both :

http://beta.sph3re.tv/movies/mainfeed.rss and
http://beta.sph3re.tv/xmlconfig/400.xml are both OK

And everything is OK in RC3.

Can you please help on how to track the view path ?

Thank you !

Jérôme

On 25 déc, 12:14, Adam Royle <[email protected]> wrote:
> Hmm... that's unusual. I did a quick test with one of my apps that
> uses parseExtensions, upgraded it from RC3 to RC4 and it worked as
> expected.
>
> Maybe there is something else in your application which is overwriting
> the view path after it is set by the RequestHandler component? Try
> following through the code to see why the "rss" folder is not being
> set in the view path and you should find your answer.
>
> Cheers,
> Adam
>
> On Dec 25, 8:12 pm, Jne <[email protected]> wrote:
>
> > Hi Adam,
>
> >http://beta.sph3re.tv/movie_comments/feed/151.rssisplugged to RC4
> > with Debug = 2 (and cache disabled) and it's complaining about view
> > not found but it's looking for the wrong one since the feed.ctp is in
> > the views/movie_comments/rss/ dir as it is supposed to be.
>
> > Thanks !
>
> > Jérôme
>
> > On 25 déc, 09:48, Adam Royle <[email protected]> wrote:
>
> > > Have you tried turning debug to 2 and seeing what the error is?
>
> > > Cheers,
> > > Adam
>
> > > On Dec 25, 3:40 am, Jne <[email protected]> wrote:
>
> > > > Hi,
>
> > > > on my website I have a 'movie_comments' controller and a feed($id)
> > > > action.
>
> > > > With RC3 
> > > > :http://sph3re.tv/movie_comments/feed/151.rssisoutputtingtheproper
> > > > RSS feedhttp://sph3re.tv/movies/mainfeed.rssalso
>
> > > > With RC4 (caching 
> > > > disabled)http://sph3re.tv/movie_comments/feed/151.rssisthrowinga404 
> > > > error
> > > > buthttp://sph3re.tv/movies/mainfeed.rssstillworks
>
> > > > On my routes.php I have the following line :    Router::parseExtensions
> > > > ('rss', 'xml');
>
> > > > Any idea why this has changed between the two releases ?
>
> > > > Thanks !
>
> > > > Jérôme
--~--~---------~--~----~------------~-------~--~----~
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