I do not think ':url' is recognized, if :url is an id use :id, if it's an action use :action .. hth
On Oct 12, 5:31 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I get that error when I load the pagehttp://example.com/news/first-post > > I have this in my routes.php: > Router::connect('/news/:url', array('controller' => 'news','action' => > 'view'), array('pass' => array('url'))); > > I hope someone can help me... --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---