httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prakash Premkumar <prakash.p...@gmail.com>
Subject Re: Linking sqlite in to apache module
Date Tue, 14 Jul 2015 07:19:29 GMT
Thanks a lot dirkx.

My current working directory was not writable. It's working now :)
Thanks a lot :)

On Mon, Jul 13, 2015 at 9:51 PM, <dirkx@webweaving.org> wrote:

>
> >    char *zErrMsg;
> >    rc = sqlite3_open("a.db", &db);
> >    if (rc) {
>
> Besides the faulty error trapping in the other mail - it just occurred to
> me that your default/current working directory is also in a place you are
> unlikely to be allowed to write
>
> So I would out the correct path there; or for testing use
>
> >    rc = sqlite3_open(“/tmp/a.db", &db);
>
> in conjunction with not using exit0) & adding error logging.
>
> Dw.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message