11 Aug 2015 | 1 min. (77 words)

Cakephp 2.6.7  rawQuery bug

      return $this->execute($sql, $params);    

   

           This was accepting two parameters instead of three and due to this was mistaking the $params value for the options value thus query was not run .query was being run as public function rawQuery($sql, $params = array()) {

   

   

   

           

      $this->took = $this->numRows = false;

   

   

           

   

           

      return $this->execute($sql, $params);    

   

           

      }Instead of public function rawQuery($sql, $params = array()) {

   

   

   

           

      $this->took = $this->numRows = false;

   

   

            

   

          

      return $this->execute($sql, array(), $params);    

   

          

      }It has subsequently been fixed .Issue is at this link .

php cakephp
Twitter Facebook Google+

Pagination using backbone.js and underscore template

…

Theme Bleak by zutrinken Published with Hugo
Menu