Re: cache with CHI DBI driver and SQLite

Jiri Pavlovsky <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On 27.4.2010 20:39, Perrin Harkins wrote:
> 2010/4/27 Jiří Pavlovský<[email protected]>:
>> I want to use CHI with SQLite backend for my app.
>> Tested in cgi environment it worked ok, but under mod_perl
>> it croaks in CHI DBI driver when trying to create the tables with mysterious
>> "no error" error.
>
> Try running a small piece of code that opens a SQLite database and
> writes to it from mod_perl.  If that doesn't work then you may need to
> re-compile DBD::SQLite with the same perl that you compiled mod_perl
> with.


I found the problem: DBD::SQLite comes with bundled sqlite code and 
doesn't use the system sqlite.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.