SQLite Configuration on Windows 7 |
[eluser]Unknown[/eluser]
Coeigniter version 2.0.2 Platform Windows 7 sp1 I have just started codeigniter development and would like to know how to configure Codeigniter for SQLite access. I have read a number of posts on the web, but they seem to target version 1.72 of codeigniter. Any help to get me started would be useful. Thx
[eluser]brucebat[/eluser]
For the basic stuff check out these vids on Youtube http://www.youtube.com/watch?v=2fEkcht8TCo Im not too sure but maybe there hasnt been any change to syntax from 1.72 to 2.02 for SQLLite implementation so maybe try those examples. I used some 1.7.2 tutorials and the only thing that was different was extending classes which instead of e.g. "Controller" it is now "CI_Controller" or "CI_Helper" etc. Im quite new here so that is all I can advise, also check out the nettus videos by Jeffrey Way they are great too. Also post as many questions as you can this is a really nice and helpful community. Im using PHP 5.0.5 on XAMPP incase that is any help to you and I have had not problems with that and CodeIgniter.
[eluser]Unknown[/eluser]
Thank you for responding. I did tryout the examples but they did not work. Below is my modified database.php file: Code: $active_group = 'SQLite'; Notice that I am not referencing the pdo_sqlite driver, but the codeigniter sqlite driver, is this a mistake? Also, I have used the full path to the sqlite database file, should I have added the actual database I want to access. The tutorials I've seen ony state the PATH to the DB file. Feedback welcomed. Thx
[eluser]brucebat[/eluser]
I think for "database" you should put the name of your database Also try "root" for username and password. Heres my one for MySQL Code: $active_group = 'default'; Sorry I cant be more of a help, good luck |
Welcome Guest, Not a member yet? Register Sign In |