Lets switch to EN so that everybody can understand
I'm facing an issue, whenever there is an error in the SQL query (either when searching or trying to add a record where i'm violating a unique index) then no error message appears in Grocery.
I get the error in Firebug, but not in the interface.
The following response is from the /insert function
<body>
<div id="container">
<h1>A Database Error Occurred</h1>
<p>Error Number: 1062</p><p>Duplicate entry '001' for key 'order_name'</p><p>INSERT INTO `orders` (`order_name`, `order_date`, `supplier_id`, `order_price`, `order_tva`, `order_attachment`) VALUES ('001', '2011-11-16 00:00:00', '1', '100', '100', '')</p><p>Filename: C:\wamp\www\erp_ci\system\database\DB_driver.php</p><p>Line Number: 330</p> </div>
</body>
In the search (from the grid) I get the same behaviour
Any idea how to treat this and show the error message to the users, instead of an endless loading?