Re: [Maypole] User Validation (eventually)

From: Gordon Haverland (ghaverla at materialisations.com)
Date: Wed Jan 12 2005 - 15:35:02 GMT


On Wednesday 12 January 2005 02:40, Peter Speltz wrote:

> That's all i can help you with. One more thing, maypole-test.pl
> that Dave wrote uses Maypole::CLI and works great in VI with
> the perl debugger. Why not use it like that? Also, i had to
> disable my authentication to get it to run thru (just made it
> return OK again) but don't know why.

I've been using it (maypole-test.pl) in emacs/perldb.

I kept getting a use of uninitialised variable from
  print $class->call_url($url);
in Maypole-test.pl. So, I changed it to
  my $ret = $class->call_url( $url ) || "All done\n";
  print $ret;
And at least that warning has gone away (after everything else is
done).

I still can't get the lead page to display, because of:
 [Wed Jan 12 07:34:38 2005] maypole_test.pl: We don't have that
table (frontpage).
 [Wed Jan 12 07:34:38 2005] maypole_test.pl: Available tables are:
book,review,bookTOC,bookReview,bookAuthor,bookEditor,bookTranslator,bookWeb
at /usr/local/share/perl/5.8.4/Maypole.pm line 144.

It would display before I started adding stuff to allow logins to
part of the site (what you guys are calling roles I guess). Oh
well, go fight with it some more. :-)

Gord

_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT