Hey everyone,
 I've got this app that I started by coding the backend so afterwards
when I was going to add the website funcionality I noticed I'm not
able to access some non-admin models' at all. All the admin models
work fine. But if  I try to access some of these non admin models I
get a 404 error and a new entry at my apache's error log. The weird
thing is that this doesn't happen with all the models. I've got models
with the same functions, views and code that load just fine. The
views, controllers and model exist and have the same permissions. It
seems like apache2 is having trouble matching the url since it doesn't
look like cakephp's core code even run at all.

Apache is giving me a 404 page and:
[error] [client 127.0.0.1] Negotiation: discovered file(s) matching
request: /var/www/myapp/mymodel (None could be negotiated)

Has anyone seen this before?
I could post code if requested but it seems like its between apache
and my routes.

routes.php
-----------
        Router::connect('/', array('controller' => 'pages', 'action' =>
'display', 'home'));
        Router::connect('/pages/*', array('controller' => 'pages', 'action'
=> 'display'));
        Router::connect('/wvadmin/pages/*', array('controller' => 'pages',
'action' => 'display', 'wvadmin' => true));
Router::connect('/wvadmin', array('controller' => 'pages', 'action' =>
'display', 'wvadmin' => true, 'home'));

        Router::connect('/contact', array('controller' => 'pages', 'action'
=> 'display', 'contact'));


Thanks for all of your help. Hope someone can point me out to the
right direction here

--~--~---------~--~----~------------~-------~--~----~
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