• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Strange issue whilst trying sqlite

#1
I am building a new platform using ci3 and sqlite3 but it seems that on the first db query I receive an error that I cant trace back to my code. for simplicity I recoded a model to just do a single data request:


PHP Code:
$this->db->get_where('static_pages', array('id'=>'1')); 


running this through the normal foreach loop resulted in the following error:

Fatal error: Call to a member function quote() on boolean in D:\www\system\database\drivers\pdo\pdo_driver.php on line 231

I could be the next noob trying to save noobia but I have a feeling this error should be there.
Who can assist me with this error?
Reply


Messages In This Thread
Strange issue whilst trying sqlite - by meneerphp - 04-03-2016, 12:09 PM
RE: Strange issue whilst trying sqlite - by Narf - 04-03-2016, 01:17 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.