I tried implementing Class::Phrasebook::SQL on a site I'm working on which
was already using HTML::Template.  Once I started using the Phrasebook, my
Templates stopped working and gave the following error:

HTML::Template->new() : Unknown or unmatched TMPL construct at
templates/account.tmpl : line 1. at
/usr/lib/perl5/site_perl/5.8.0/HTML/Template.pm line 2230.

I had only used the Phrasebook to replace one statement so I rolled back
my changes line by line until I narrowed it down to:

this works...
my $statement = $sql->get("SELECT_SESSION_DETAILS", {};

this doesn't...
my $statement = $sql->get("SELECT_SESSION_DETAILS", { session_id => "XXXX" };

I saw a couple solutions posted regarding changing a line of code in the
HTML::Template code, but this will be going up onto a webhost in which I
don't really have the option to do that.

Any ideas to work around this problem but still use both modules?

Thanks,
Andy





-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to