Hello guys,
i have a problem where i am trying to execute the following queries in my
controller "consequently!":
$mostWatched = $this->Video->query('CALL SP_getMostViewedVideos(1,3)');
$mostRated     = $this->Video->query('CALL SP_getMostRatedVideos(1,3)');
$resentAdded  = $this->Video->query('CALL SP_getMostRecentVideos(1,3)');
and it results to "*SQL Error: 2014: Commands out of sync; you can't run
this command now in cake/libs/model/datasources/dbo_source.php on line 440*"

i would really appreciate it if any one can tell me why this is happening
and how to solve it!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to