Sunday, January 2, 2011

Help with odd controller issue when trying to add new action

I've been working on a 1.2 CakePHP app and everything seemed to be
going well until today when I hit an oddity that I was hoping someone
could offer some advice on.

I'm working on a local development environment using XAMPP and a
production environment. Currently, I have a working app with 11
different actions on a single controller that's working great in both
environments.

Today, I needed to add a new action. So, I added the normal new
function within the controller class and the new view template.
However, when I try to access the new action on my dev environment, I
receive a 404 error. The odd thing is that when I move the files to
Production, the new action works great. All existing actions work
perfectly on my dev environment...it's just when I try to add a new
action that I'm running into issues.

Any ideas?

Russell

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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

No comments: