On Thu, Aug 6, 2009 at 1:12 PM, Vincent<[email protected]> wrote:
>
> I got a problem with SQLite3:
> Warning (2): sqlite_query() [function.sqlite-query]: file is encrypted
> or is not a database [CORE/cake/libs/model/datasources/dbo/
> dbo_sqlite.php, line 133]
>
> This is my configuration file:
> class DATABASE_CONFIG {
>
>        var $default = array(
>                'driver' => 'sqlite',
>                'persistent' => false,
>                'database' => '/[myabsolutepathtocake]/app/db.sqlite',
>        );
> }
>
> Any suggestions ?

Cake doesn't support sqlite3 officially  You can check
the #3003 ticket for a partially implemented dbo driver.

https://trac.cakephp.org/ticket/3003

I'm using this driver for a while.  It's well suited for
few cases, but you it's still getting some data lost
and errors that I don't get with Mysql similar database.
So it's not recommended for use in production.

I was trying to rewrite and fix this driver but without
success for now.

Best regards.

--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105

http://mfandrade.wordpress.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to