SqliteDBOpen /usr/local/etc/wview/wview-conf.sdb failed: could not find driver

514 views
Skip to first unread message

John

unread,
Apr 11, 2009, 6:48:58 PM4/11/09
to wview
Project - get my spare slug running on Debian Lenny and latest wview.

When invoking http://192.168.1.104/weather/login.php

SqliteDBOpen /usr/local/etc/wview/wview-conf.sdb failed: could not
find driver -

Okay - this is a new one on me.

I installed:

libsqlite3-0
libsqlite3-dev
sqlite3

Is this a problem with my compile of wview or something hosed up with
sqlite?

TIA - John

Mark S. Teel

unread,
Apr 11, 2009, 7:03:48 PM4/11/09
to wv...@googlegroups.com
User Manual:

23.2 Setup

Note: Replace $prefix, $distro and $documentRoot with the appropriate
paths
for your server.

1) Configure wview with HTTP_DOC_ROOT defined (see the build and
install section).

2) Use the make install-env build target:
> make install-env

3) Be sure PHP support is included with the http server:
For apache2, I have /etc/apache2/mods-enabled/php5.conf and
/etc/apache2/mods-enabled/php5.load.

>>>> 4) Be sure the SQLite3 module for php is installed (php5-sqlite
or similar).

5) If you want start/stop control of wview from the Management Web Site
(and you are comfortable giving the http server user account sudo
privileges),

a) Add the http user to the sudo group:
> sudo adduser www-data sudo

b) Make sure the sudo group has no password required privileges in
/etc/sudoers:
> sudo visudo
(Make sure the line [%sudo ALL=NOPASSWD: ALL] is at the bottom
of the
/etc/sudoers file)

6) Point your browser to:
http://[wview_URL_or_IP_address]/wviewmgmt/login.php

John Canfield

unread,
Apr 11, 2009, 7:29:26 PM4/11/09
to wview
Oops - egg on my face - missing php5-sqlite package (he said with an
embarrassing glance toward wview developer...)

John

[I'm making a list of needed packages for Debian Lenny on a slug and
will post same when it works.]
> > When invokinghttp://192.168.1.104/weather/login.php
Reply all
Reply to author
Forward
0 new messages