Welcome Guest, Not a member yet? Register   Sign In
Using SQLite3 with CodeIgniter2.0.2
#1

[eluser]Unknown[/eluser]
Hi all,

I have my CodeIgniter running on my Mac and I have also googled through the forum as well as other websites on the subject-titled.

I have created a sql3 db file using the Mac's built-in sqlite3. So now my question is: where do I place the sql3 file in CodeIgniter and how do I config the path in the database.php?

I have placed my file on the same level as the application and system folders and set $db['default']['database'] = 'sqlite.sql3';

Am I correct?

And with the above settings I got the following:

Quote:A PHP Error was encountered

Severity: Notice

Message: Undefined property: CI_DB_sqlite_utility::$db_debug

Filename: sqlite/sqlite_utility.php

Line Number: 40

A PHP Error was encountered

Severity: Warning

Message: preg_match() expects parameter 2 to be string, array given

Filename: database/DB_driver.php

Line Number: 622

Where have I gone wrong?

Thank you very much for any help rendered.




Theme © iAndrew 2016 - Forum software by © MyBB