• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI error: get_where() on a non-object

#3
Did you autoload the database library



PHP Code:
$autoload['libraries'] = array('database'); 


Your file name is also incorrect should have first letter upper case only

Change

gallery_model.php

To

Gallery_model.php
There's only one rule - please don't tell anyone to go and read the manual.  Sometimes the manual just SUCKS!
Reply


Messages In This Thread
RE: CI error: get_where() on a non-object - by wolfgang1983 - 01-12-2017, 03:50 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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