⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Call to a member function table_exists()



Гэрэлт-Од Гоцбаяр
  • profile picture
  • Member

Posted 25 February 2013 - 14:06 PM

Hello everyone.

 

I just started using Grocery CRUD. But after I followed http://www.grocerycrud.com/documentation/create-crud-codeigniter-tutorial tutorial, its not working from Step 6. I searched from Google, but there isn't any useful information. But I found similar problem from here: /topic/1130-unable-to-install-grocerycrud/. But there topic starter says he somehow managed, didn't wrote his solution. I'm new Codeigniter, its my first time CI project. I'm using latest CI and latest Grocery CRUD atm.

 

Screenshot attached.

 


victor
  • profile picture
  • Member

Posted 25 February 2013 - 16:01 PM

Hi! Welcome to the forum!
So, send me your project. I'll test it and then we will be solve your problem.
Sorry for my English )

Гэрэлт-Од Гоцбаяр
  • profile picture
  • Member

Posted 25 February 2013 - 16:14 PM

Full project?!? Well if you don't care about your time, its 2.73mb project :) Please offer me your favorite file sharing service.


Гэрэлт-Од Гоцбаяр
  • profile picture
  • Member

Posted 25 February 2013 - 19:16 PM

I just found out its may not GroceryCRUD problem. I created model file as CI tutorial, but my code isn't working. Error is:

Call to a member function database() on a non-object in C:\wamp\www\shohtg\application\models\we_model.php on line 8

 

Of course my autoload.php has $autoload['libraries'] = array('database', 'session', 'form_validation'); I don't now how to solve it.


Гэрэлт-Од Гоцбаяр
  • profile picture
  • Member

Posted 25 February 2013 - 20:10 PM

I created question on StackOverflow. Can you review it?

 

http://stackoverflow.com/questions/15075097/codeigniter-call-to-a-member-function-database-on-a-non-object-in


victor
  • profile picture
  • Member

Posted 25 February 2013 - 23:26 PM

I take a look at your code tomorrow. I think you have wrong code

Гэрэлт-Од Гоцбаяр
  • profile picture
  • Member

Posted 26 February 2013 - 06:58 AM

Okey, I'll waiting you.