Welcome Guest, Not a member yet? Register   Sign In
sqlite confusion
#1

[eluser]joeizang[/eluser]
hi guys,

I get this error trying to use sqlite3 following a tutorial on settting it up at :
http://blog.trevorbramble.com/past/2009/...er_sqlite3
and I get this error
A PHP Error was encountered

Severity: Warning

Message: require_once(C:\xampplite\htdocs\officeapps/system/database/drivers/sqlite/sqlite_driver.php) [function.require-once]: failed to open stream: No such file or directory

Filename: database/DB.php

Line Number: 129

Fatal error: require_once() [function.require]: Failed opening required 'C:\xampplite\htdocs\officeapps/system/database/drivers/sqlite/sqlite_driver.php' (include_path='.;C:\xampplite\php\PEAR') in C:\xampplite\htdocs\officeapps\system\database\DB.php on line 129

I included what my database.php looks in the config folder:

Code:
$active_group = "default";
$active_record = TRUE;

$db['default']['hostname'] = "localhost";
$db['default']['username'] = "";
$db['default']['password'] = "";
$db['default']['database'] = "sqlite:".APPPATH."/dbfiles/users.db";
$db['default']['dbdriver'] = "sqlite";
$db['default']['dbprefix'] = "";
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";

my question is why would CI not support sqlite3?! but more importantly what do I do now? any advice on the way forward.




Theme © iAndrew 2016 - Forum software by © MyBB