Re: 404 Not found on existing controller and action

2008-01-20 Thread Saymons

I think you may have your DEBUG var (/app/config/core.php) set to 0
(production mode), which means that your cache isn't refreshed when
you create new pages etc.
So you should modify it to 1 or higher (development).

Good luck!

On 6 jan, 16:09, Robby Anderson <[EMAIL PROTECTED]> wrote:
> I've put "clearing the cache" on the top of my list of things to do
> before I go into "oh crap" mode. :) Seems to solve all kinds of
> problems. I keep meaning to create a small script to do it and then
> call the script from my server start script, among other places.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



Re: 404 Not found on existing controller and action

2008-01-06 Thread Robby Anderson


I've put "clearing the cache" on the top of my list of things to do
before I go into "oh crap" mode. :) Seems to solve all kinds of
problems. I keep meaning to create a small script to do it and then
call the script from my server start script, among other places.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



Re: 404 Not found on existing controller and action

2008-01-06 Thread Andreas

Not my own server, it's a webhotel so i can't restart it if that was
what you meant.

Tried clearing out my cache and that worked perfectly! Thanks for the
help!

I do have some custom routes but nothing with regexp and it shouldn't
interfere with this.

Everything works now, clearing the cache fixed it.

Andreas

On Jan 6, 2:04 am, Robby Anderson <[EMAIL PROTECTED]> wrote:
> If you have other working controllers, you might consider bouncing
> your web server, or at least clearing out your /cache directory,
> specifically the /cache/persistent directory.
>
> On Jan 5, 12:36 pm, Andreas <[EMAIL PROTECTED]> wrote:
>
> > Hi
>
> > Created a model/controller/views names Type(s) with bake and uploaded
> > them to my server but when i try to access them I'm getting '404 Not
> > Found'. There's no info in the errors logs at all.
>
> > Another thing I've noticed as a bit odd is this (there's usually
> > something between the '.
> > Error:  The requested address '' was not found on this server.
>
> > Here's how ti usually looks (the markers controller exists but not the
> > asda action).
> > Error:  The requested address '/markers/asda' was not found on this
> > server.
>
> > Also tried to create another controller with another name but i get
> > the same error with that one.
>
> > Is there any cache I need to clean or some config thing I'm missing?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



Re: 404 Not found on existing controller and action

2008-01-05 Thread b logica
Oh, I thought you meant that no controllers at all were running. Do you have
any custom routes? If you have regexp set for this controller it might be
that it's not matching properly. This can cause cake to disregard your
controller. This happened to me at first.

brian

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



Re: 404 Not found on existing controller and action

2008-01-05 Thread Robby Anderson


If you have other working controllers, you might consider bouncing
your web server, or at least clearing out your /cache directory,
specifically the /cache/persistent directory.

On Jan 5, 12:36 pm, Andreas <[EMAIL PROTECTED]> wrote:
> Hi
>
> Created a model/controller/views names Type(s) with bake and uploaded
> them to my server but when i try to access them I'm getting '404 Not
> Found'. There's no info in the errors logs at all.
>
> Another thing I've noticed as a bit odd is this (there's usually
> something between the '.
> Error:  The requested address '' was not found on this server.
>
> Here's how ti usually looks (the markers controller exists but not the
> asda action).
> Error:  The requested address '/markers/asda' was not found on this
> server.
>
> Also tried to create another controller with another name but i get
> the same error with that one.
>
> Is there any cache I need to clean or some config thing I'm missing?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



Re: 404 Not found on existing controller and action

2008-01-05 Thread Andreas

I have a wordpress .htaccess file at the server root that have messed
with cake a bit before but It's not the standard server message, it's
the cake error message. Besides all of my old controllers work it's
just the new ones I try to add that mess with me.

On Jan 5, 10:23 pm, "b logica" <[EMAIL PROTECTED]> wrote:
> Is the webserver respecting your .htaccess files? Try putting a simple text
> file at the server's (not Cake's) web root and try to view it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



Re: 404 Not found on existing controller and action

2008-01-05 Thread b logica
Is the webserver respecting your .htaccess files? Try putting a simple text
file at the server's (not Cake's) web root and try to view it.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---