[Templates] (no subject)

Andy Wardley abw at wardley.org
Tue Apr 15 06:56:13 BST 2008


Bruce Boutet wrote:
> I have a DBI template I am running on Windows  that works like a charm 
> except when I attach it to a DB2 database. I still am returned a result 
> for every row but none of the values will display??? This template works 
> like a charm with SQLite, MySql and SQL server locally and on a remote 
> server.

Hi Bruce,

I think that points to a problem with DBI and/or DB2.  If it works OK with
other databases then it's probably something relating to the DB2 DBD driver.
In which case, the DBI users mailing list might be a better place to start:

   http://www.nntp.perl.org/group/perl.dbi.users/

Are you sure you're making a connection to the database and getting data
returned?

It might be a good idea to write a small perl program that does the equivalent
query to see if it's working from Perl.  That would at least tell you if it's
a problem in the DB layer rather than a presentation issue with TT.

Good luck!
A




More information about the templates mailing list