[Solar-talk] SQLite Adapter

Michael Caplan mcaplan at labnet.net
Tue Sep 26 07:37:52 PDT 2006


My Solar pear install came with a sample Solar.config.php file (which I assume is the one that should be used for the bundled apps).  It's DB config is listed as such:
 
/**
* Default database connection.
*/
$config['Solar_Sql']  'adapter' => 'Solar_Sql_adapter_Sqlite',
 'config'  => array(
     'file'   => "$docroot/solar.sqlite",
     'mode'   => '0666',
 )
);
 
Also, besides "file" needing to be changed to "name", the adapter defined is not right.  It should be 'Solar_Sql_Adapter_Sqlite'  (capital Adapter).
 
Thanks!
 
Michael

________________________________

From: solar-talk-bounces at lists.solarphp.com on behalf of Paul M Jones
Sent: Tue 9/26/2006 7:44 AM
To: solar-talk at lists.solarphp.com
Subject: Re: [Solar-talk] SQLite Adapter



On Sep 26, 2006, at 8:37 AM, Michael Caplan wrote:

> Yes, swapping out file for name does the trick.  I opened a ticket 
> in track with regard to this.

Excellent!  Yeah, saw the bug -- I'll close it using "not a bug" (or 
similar) and the text of the previous email.


> i guess the bookmark app should be changed to reflect this.

I'm sorry, I don't understand -- which parts of the bookmark app need 
to adjusted?


--

Paul M. Jones  <http://paul-m-jones.com>

Solar: Simple Object Library and Application Repository
for PHP5.   <http://solarphp.com>

Savant: The simple, elegant, and powerful solution for
templates in PHP.   <http://phpsavant.com>


_______________________________________________
solar-talk mailing list
solar-talk at lists.solarphp.com
http://mail.killersoft.com/mailman/listinfo/solar-talk







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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 5388 bytes
Desc: not available
Url : http://mail.killersoft.com/pipermail/solar-talk/attachments/20060926/28e090c1/attachment.bin 


More information about the solar-talk mailing list