[Maypole] Re:/beerdb only shows directory listing

Daniel R. Allen daniel@coder.com
Thu, 5 Aug 2004 06:26:49 -0400 (EDT)


Done.  When I visit beerdb/beer/addnew, the error log now shows:

We don't have that action (addnew) at /usr/local/share/perl/5.6.1/Maypole.pm line 100.
file error - beeraddnew: not found at /usr/local/share/perl/5.6.1/Maypole/View/Base.pm line 68.

--
http://kw.pm.org/ - Kitchener-Waterloo Perl Mongers -         da@kw.pm.org
http://coder.com/ - Prescient Code Solutions - (519) 575-3733 da@coder.com

Simon Cozens said:
> Daniel R. Allen:
> > When I try to visit of the scripts such as /beerdb/beer/addnew
> > I see the text of the script in the browser, and the error log gets:
> > file error - beeraddnew: not found at /usr/local/share/perl/5.6.1/Maypole/View/Base.pm line 68.
>
> This is a good sign, it shows that Maypole is actually being used; I'd next
> look at putting a 'sub debug { 1 }' inside your BeerDB.pm and see where it
> gets you.
>
> --
> Thermodynamics in a nutshell:
> 1st Law:  You can't win.  (Energy is conserved)
> 2nd Law:  You can't break even.  (Entropy)
> 0th Law:  You can't even quit the game.  (Closed systems) -- Taki Kogoma