⚠ 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

500 Internal server error in CRUD with Firebird



meghapaul

meghapaul
  • profile picture
  • Member

Posted 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.

 

 


Amit Shah

Amit Shah
  • profile picture
  • Member

Posted 12 December 2014 - 05:56 AM

Error 500 is a very wide term to tell what have gone wrong. You need to turn error reporting on .. or if its on.. in php.ini .. then u need to check in the error.log under xampp/apache/logs ...there u will be able to see what and where the error stands in.

 

it might be quite possible that if u tried to work around with .htaccess and if it was misconfigured - it too will throw Error 500