⚠ 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

Error Number: 1103 Incorrect table name



Tom Montelione

Tom Montelione
  • profile picture
  • Member

Posted 22 October 2013 - 19: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

 


possibleworlds

possibleworlds
  • profile picture
  • Member

Posted 21 July 2019 - 05:02 AM

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


spurgeonbj

spurgeonbj
  • profile picture
  • Member

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!


hazelmark760

hazelmark760
  • profile picture
  • Member

Posted 15 June 2020 - 05:41 AM

How to correct this error?


stepgr

stepgr
  • profile picture
  • Member

Posted 15 June 2020 - 10:33 AM

The community forum seems abandoned  somehow , no questions are answered .

Perhaps it's a side effect of COVID-19   .

:P