[cgi-wiki-dev] SQLite Backend

Naved, Masroor cgi-wiki-dev@earth.li
Wed, 5 Nov 2003 08:41:42 -0500


Hello,

I am having some problems get a basic CGI::Wiki up and running. I have one
script which only opens a SQLite database, a DB_File_SplitHash for an index,
and one write_node command. The problem is that there are no tables in the
SQLite database so the write fails (it seems to fail silently) and the
subsequent display_node function call throws an error "table does not
exist", I had assumed that CGI::Wiki::Store::Database would create the
needed tables, but that doesn't seem to be the case. I looked through the
documentation and code comments in CGI::Wiki::Store::Database,
CGI::Wiki::Store::SQLite, CGI::Wiki to see if I missed something about
creating backend tables, but I can't find anything that describes the data
model.

This might be related to my newbie status in Perl and CPAN packages, but I
can't figure out where to go from here.

Thanks,
Masroor Naved