Bug #30683 always giving error Warning: mysqli_error() expects exactly 1 parameter, 0 given
Submitted: 29 Aug 2007 8:26 Modified: 30 Aug 2007 1:16
Reporter: ronnel anasco Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Enterprise Monitor: Web Severity:S2 (Serious)
Version:5.0.24-max OS:Linux (Fedoracore)
Assigned to: CPU Architecture:Any
Tags: mysqli_error()

[29 Aug 2007 8:26] ronnel anasco
Description:
i have a php script that will update a field named `is_cancelled` that has a field type of enum (0,1) default is 0.
the problem is everytime when i submit html form and updapte the is_cancelled field, mysqli will give me this error "Warning: mysqli_error() expects exactly 1 parameter, 0 given in /var/www/html/groupware/db.class.php on line 48"
but when i checked the record, i found out that the query is successful...

another senario : after the warning error shows, when i refresh the page, the error wont appear anymore...

this is my query string : 

Update tblrequest set `is_cancelled`='2' where req_id=11288

I dont know if i should submit this here, but i badly needed your help...

How to repeat:
this bug can be repeated everytime i run my script...
[30 Aug 2007 1:16] Sveta Smirnova
We're sorry, but the bug system is not the appropriate forum for asking help on using MySQL products. Your problem is not the result of a bug.

Support on using our products is available both free in our forums at http://forums.mysql.com/ and for a reasonable fee direct from our skilled support engineers at http://www.mysql.com/support/

Thank you for your interest in MySQL.

The report contains no information how it correlated with MySQL Network Monitoring and Advisory Service.