Jump to content


Error Number: 1103 Incorrect table name

Error

  • Please log in to reply
2 replies to this topic

#1 Tom Montelione

Tom Montelione

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 22 October 2013 - 07:16 PM

This error is driving me nuts.

 

I have used grocerycrud on two previous occasions (version 1.31) without a hitch.  However I can't seem to hook up with a table in my database in a new installation I'm doing (version 1.41).

 

The following code doesn't work:

 

$crud = new grocery_CRUD();
$crud->set_table('main_pages');

 

I get an 1103 error, incorrect table name '' (it's blank).

 

If however I use:

 

$crud = new grocery_CRUD();
$this->grocery_crud->set_table('main_pages');

 

it works, and I get the usual flexigrid theme to display.  

 

The $crud construct doesn't seem to work for me whereas it always has in the past.  I've looked at my code at the older installations and for the life of me I can't see any differences.  I've checked all my config files and everything looks spot on.

 

If anyone has any suggestions I'm all ears.  I much rather use $crud then $this->grocery_crud if I can.

 

Tom

 



#2 possibleworlds

possibleworlds

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 21 July 2019 - 05:02 AM

This exact thing is happening to me with a new grocery crud install. :-\



#3 spurgeonbj

spurgeonbj

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 21 January 2020 - 10:59 AM

Hi, I am also facing the same issue - with CI 3.1.11 / GC latest. 

 

Can some one please point me to a solution to this?

 

Thanks!







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users