Re: SQLite

2007-03-08 Thread AzenAlex

apoligies... i'm running fedora core 6 and it would seem that php5 is
installed without sqlite. yes, i feel dumb...

i'm now getting the error:

Warning: sqlite_popen() [function:sqlite-popen]: file is encrypted or
is not a database

any thoughts?


On Mar 8, 3:17 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 3/8/07, AzenAlex <[EMAIL PROTECTED]> wrote:
>
>
>
> Here's my suggestion:
>
> * Go make sure that your installed version of PHP hasSQLitesupport
> * Go and make sureSQLiteis actually installed
>
> If both those things are true, then come back and this problem can be
> escalated to the next level.
> Don't *guess* about the configuration.  Go and find out.
>
> --
> Chris Hartjes
>
> My motto for 2007:  "Just build it, damnit!"
>
> rallyhat.com - digital photo scavenger hunt
> @TheBallpark -http://www.littlehart.net/attheballpark
> @TheKeyboard -http://www.littlehart.net/atthekeyboard


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: SQLite

2007-03-08 Thread AzenAlex

I think the "extension=php_sqlite.dll" line only applies to windows
installations

On Mar 8, 11:23 am, "jmn2k1" <[EMAIL PROTECTED]> wrote:
> You should assure that the "extension=php_sqlite.dll" line in your
> php.ini is uncommented..
>
> On Mar 8, 12:42 pm, "AzenAlex" <[EMAIL PROTECTED]> wrote:
>
> > sorry about the spam... i'm a little new to the groups and i though my
> > post weren't working so i kept re-submitting...
>
> > I'm running php 5.1.6 on linux so i'm guessing sqlite is already
> > there. is there some configuration i can check to make sure it's
> > enabled or something of that nature?
>
> > On Mar 7, 8:02 pm, "nate" <[EMAIL PROTECTED]> wrote:
>
> > > SQLitesupport is only available for PHP5, and you have to make sure
> > > PHP is installed with it.  See here:http://php.net/sqlite
>
> > > On Mar 7, 6:13 pm, "AzenAlex" <[EMAIL PROTECTED]> wrote:
>
> > > > Does cakephp supportSQLite? I'm getting the impression it does
> > > > however i've had no luck using it. my database.php is set up as
> > > > follows:
>
> > > > var $default = array('driver'=>'sqlite',
> > > >  'connect'=>'sqlite_open',
> > > >  'database'=>'test.db');
>
> > > > and i'm getting the following error:
>
> > > > Fatal error: Call to undefinded function sqlite_open() in /srv/test/
> > > > cake/libs/model/dbo/dbo_sqlite.php on line 102
>
> > > > any help would be greatly appreciated...


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: SQLite

2007-03-08 Thread AzenAlex

sorry about the spam... i'm a little new to the groups and i though my
post weren't working so i kept re-submitting...

I'm running php 5.1.6 on linux so i'm guessing sqlite is already
there. is there some configuration i can check to make sure it's
enabled or something of that nature?

On Mar 7, 8:02 pm, "nate" <[EMAIL PROTECTED]> wrote:
> SQLitesupport is only available for PHP5, and you have to make sure
> PHP is installed with it.  See here:http://php.net/sqlite
>
> On Mar 7, 6:13 pm, "AzenAlex" <[EMAIL PROTECTED]> wrote:
>
> > Does cakephp supportSQLite? I'm getting the impression it does
> > however i've had no luck using it. my database.php is set up as
> > follows:
>
> > var $default = array('driver'=>'sqlite',
> >  'connect'=>'sqlite_open',
> >  'database'=>'test.db');
>
> > and i'm getting the following error:
>
> > Fatal error: Call to undefinded function sqlite_open() in /srv/test/
> > cake/libs/model/dbo/dbo_sqlite.php on line 102
>
> > any help would be greatly appreciated...


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



SQLite

2007-03-07 Thread AzenAlex

Does cakephp support SQLite? I'm getting the impression it does
however i've had no luck using it. my database.php is set up as
follows:

var $default = array('driver'=>'sqlite',
 'connect'=>'sqlite_open',
 'database'=>'test.db');

and i'm getting the following error:

Fatal error: Call to undefinded function sqlite_open() in /srv/test/
cake/libs/model/dbo/dbo_sqlite.php on line 102

any help would be greatly appreciated...


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



need help with SQLite

2007-03-07 Thread AzenAlex

Does cakephp support SQLite? I'm getting the impression it does
however i've had no luck using it. my database.php is set up as
follows:

var $default = array('driver'=>'sqlite',
 'connect'=>'sqlite_open',
 'database'=>'test.db');

and i'm getting the following error:

Fatal error: Call to undefinded function sqlite_open() in /srv/test/
cake/libs/model/dbo/dbo_sqlite.php on line 102

any help would be greatly appreciated...


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---