Jump to content


Error Number: 1103 Incorrect table name ''

database MySQL 8.0 CI 3.1.11

  • Please log in to reply
No replies to this topic

#1 phurtado1112

phurtado1112

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 23 October 2019 - 02:04 AM

Hello,

 

I need help with this database error,

 

I review the others topics about this error but they are too old, the last one is form 2017.

 

I'm using:

 

Grocery CRUD 1.6.3 with

Codeigniter 3.1.11 and

MySQL 8.0.

 

My app in Codeigniter is running OK without Grocery CRUD, but when I try to use Grocery CRUD sent me this error:

 

Error Number: 1103

Incorrect table name ''

SHOW COLUMNS FROM ``

Filename: models/Grocery_crud_model.php

Line Number: 436

The database.php is using mysqli and is ok configured.

 

This is my controller:

 

class MyControler extends \CI_Controller {
function __construct() {
parent::__construct();
}
 
public function catalog() {
$crud = new \Grocery_CRUD();
$crud ->set_table('myTable');
 
$output = $this->grocery_crud->render();
$this->_example_output($output);
}
 
function _example_output($output = null) {
$this->load->view('MyView',$output);
}
}
 
And this is my view:
 
 
<section>
    <div class="container">
        <div class="row">
            <div class="col-10 offset-1">
                <div style='height:60px;'></div>
                <div style="padding: 10px">
<?php echo $output; ?>
                </div>
            </div>
        </div>
    </div>
</section>

 







Also tagged with one or more of these keywords: database, MySQL 8.0, CI 3.1.11

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users