CodeIgniter Forums
Error Number: 2014 Commands out of sync in codeigniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Error Number: 2014 Commands out of sync in codeigniter (/showthread.php?tid=49138)



Error Number: 2014 Commands out of sync in codeigniter - El Forum - 02-09-2012

[eluser]Unknown[/eluser]
I try to execute 2 store procedures one after other, I get following error:

A Database Error Occurred

Error Number: 2014

Commands out of sync; you can't run this command now

CALL usp_login_details('admin')

Filename: I:\*******\www\system\database\DB_driver.php

Line Number: 330

i tried lot of solution but is not working.. PLS HELP Anyone the solution..!!!!!!



Error Number: 2014 Commands out of sync in codeigniter - El Forum - 12-08-2012

[eluser]westonhapp[/eluser]
Try changing the dbdriver in the config file to "mysqli":

$db['default']['dbdriver'] = "mysqli";


Error Number: 2014 Commands out of sync in codeigniter - El Forum - 08-01-2013

[eluser]vahidsamimi[/eluser]
hi
i using CI last version and i change dbdriver to "mysqli".but yet not working and this error show in page :

Error Number: 2014

Commands out of sync; you can't run this command now

SELECT *

Filename: C:\xampp\htdocs\f\system\database\DB_driver.php

Line Number: 330

how can i fix this error?