[SOLVED]database error occurred |
[eluser]kikz4life[/eluser]
The scenario is i when i update my CI version to 1.7.2 from 1.6.3, this problem arise. It says Database Error Occurred. Traced the said error from my model.php in this code: Code: function getTypes($datacode) I tried to modify it to Code: function getTypes($datacode) Its working but no data displayed/retrieved from my db. and my firebug said that its now Internal Server Error ![]() Could anyone help me with this. I'm thinking of not upgrading if many problem arise.
[eluser]pistolPete[/eluser]
Try some debugging: Code: function getTypes($datacode) How do you process the query result in your controller / view?
[eluser]marjune[/eluser]
you better try your query first in the mysql console or in php my admin before you apply in the php code!!
[eluser]kikz4life[/eluser]
this is the output that i got when insert this code die('<pre>'.print_r($query,TRUE).'</pre>');: Code: CI_DB_mysql_result Object Controller Code: function index() i'm using the flexigrid jquery for the view. modifying and using the two where clause this is the error the i get(firebug): POST http://localhost/myweb/ar_salesorder/listview 500 Internal Server Error 979ms |
Welcome Guest, Not a member yet? Register Sign In |