On Fri, 11 Jul 2014, Stefan Adams wrote:

> I get that a lot too.

I think it's a bug - nobody should get that. The helpful 404 page should 
be, well, helpful.

> Could it be that the redirect_activate method
> couldn't be reached?

That's a "Name" in the table. I don't have the code accessible, but as I 
recall it's:

post "/register" => sub {
...
} => "redirect_activate";

So I don't really understand your comment. Is "redirect_activate" a 
method? What would "could not be reached" mean? Are "Names" used in route 
lookup?

Anyway, somethings wrong. In my code, no doubt, but I think also in Mojo, 
which should be able to provide a more useful diagnostic.

> On Jul 11, 2014 4:42 PM, "Charlie Brady" <[email protected]>
> wrote:
> 
> >
> > I hesitate to ask this, since I'm using apache/CGI, but I'm stumped, so
> > need some help.
> >
> > I'm getting a 404 page on form submission. But the route I'm using appears
> > in the list shown in the default 404 page. Does anyone have a suggestion
> > how I investigate this?
> >
> > ....
> >
> > Page not found... yet!
> >
> > None of these routes could generate a response for your POST request for
> > /register, maybe you need to add a new one?
> >
> > Pattern         Methods         Name
> >
> > /               GET
> > /               POST
> > /uploadLicense  POST            uploadLicense
> > /register       POST            "redirect_activate"
> > /activate       GET             activate
> > /sync           POST            sync
> > ...
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Mojolicious" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to [email protected].
> > To post to this group, send email to [email protected].
> > Visit this group at http://groups.google.com/group/mojolicious.
> > For more options, visit https://groups.google.com/d/optout.
> >
> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to