Hello
Some time ago, I created my webstore and it was working perfectly. But after that I performed some queries (Item Bank and DeleteClan ClanEmblem), after that I am getting several errors in my CP.
For example, when I buy an item from the webstore I get the following error:
Warning: odbc_exec () [function.odbc-exec]: SQL error: [Microsoft] [ODBC SQL Server Driver] [SQL Server] The conversion of a char data type to a datetime data type resulted in a datetime out of range., SQL state 22008 in SQLExecDirect in D:\AppServ\host\shop\set.php on line 202
Item sent to Central Bank!
Note: Line 202:
This consumes my Coins but the item does not go to the bank. Something similar also when I try to create a clan by CP.PHP Code:$itemsres = odbc_exec($con,"INSERT INTO AccountItem (AID, ItemID, RentDate, cnt) VALUES('".$slacc->AID."','$itemid','$date','1')");
I believe that this occurred after the execution of any query I mentioned above, and do not know how to reverse it, and worse, I did not backup =[
Can anyone help me?


Reply With Quote

