Jump to content


meghapaul

Member Since 11 Dec 2014
Offline Last Active Dec 31 2014 12:10 PM
-----

Topics I've Started

500 Internal server error in CRUD with Firebird

11 December 2014 - 11:09 AM

I have installed CRUD application in my CI.I am using Firebird database.The connection is fine while i am testing :

 

$res= $this->db->query('SELECT * FROM ADMIN_USER');
var_dump($res->row());
this is returning result.
 
but while i an using crud function:
public function admin()
{
try{
$crud = new grocery_CRUD();
            
$crud->set_theme('datatables');
$crud->set_table('ADMIN_USER');
            $crud->columns('USERNAME','PASSWORD');
var_dump($crud);
$output = $crud->render();
           
$this->_example_output($output);
 
}catch(Exception $e){
show_error($e->getMessage().' --- '.$e->getTraceAsString());
}
}
 
no result is coming..and "500Internal Server Error" is showing..
 
I am new in CI, grocery CRUD and Firebird..Cant solve this error.Please help me.

 

 


500 Internal server error in CRUD with Firebird

11 December 2014 - 11:09 AM

I have installed CRUD application in my CI.I am using Firebird database.The connection is fine while i am testing :

 

$res= $this->db->query('SELECT * FROM ADMIN_USER');
var_dump($res->row());
this is returning result.
 
but while i an using crud function:
public function admin()
{
try{
$crud = new grocery_CRUD();
            
$crud->set_theme('datatables');
$crud->set_table('ADMIN_USER');
            $crud->columns('USERNAME','PASSWORD');
var_dump($crud);
$output = $crud->render();
           
$this->_example_output($output);
 
}catch(Exception $e){
show_error($e->getMessage().' --- '.$e->getTraceAsString());
}
}
 
no result is coming..and "500Internal Server Error" is showing..
 
I am new in CI, grocery CRUD and Firebird..Cant solve this error.Please help me.