[Solar-talk] SQLite Adapter

Michael Caplan mcaplan at labnet.net
Mon Sep 25 12:42:11 PDT 2006


Hey there,
 
I'm wondering if this is a bug, but I cannot get a valid DSN built for sqlite.  Using the Bookmarks app example, I have the following config entry:
 
$config['Solar_Sql'] = array(
 'adapter' => 'Solar_Sql_Adapter_Sqlite',
 'config'  => array(
     'file'   => LABNET_DB,
     'mode'   => '0666',
 )
);
 
where LABNET_DB is a constant holding the absolute path to the db.
 
The resulting dsn is:
 
sqlite:
 
which of course is not valid.  Am I missing something here?
 
Thanks!
 
Michael





E-Mail messages may contain viruses, worms, or other malicious code. By reading the message and opening any attachments, the recipient accepts full responsibility for taking protective action against such code. Sender is not liable for any loss or damage arising from this message.

The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee(s). Access to this e-mail by anyone else is unauthorized.



More information about the solar-talk mailing list