DBException

Database error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?' at line 1

3
			
#0 | #1 | #3 | #4 | #5

File: [STICTH]1.0/libraries/dbmodel/DBModel.php

1772: if ( $this->_whereAppend ) {
1773: $this->_where .= ' AND '.@implode(' AND ', $this->_whereAppend).' ';
1774: }
1775: $cq .= $this->_where;
1776: $cq .= $this->_group;
1777: $cq .= $this->_having;
1778: foreach ( $this->_params as $p ) {
1779: $cq = preg_replace('/\?/', $p, $cq, 1);
1780: }
1781: if ($cr = $this->conn->query($cq)) {
1782: $vals = $cr->fetch_assoc();
1783: $this->_total_count = $vals['c'];
1784: $this->_current_page = $page;
1785: } else {
1786: echo mysql_error();
1787: }
1788:
1789: // perform the real query with the limit
1790: $q = '';
1791: $q .= $this->_select;

This error is brought to you by Stitch-1.0

Shell to DOS...Come in DOS, do you copy? Shell to DOS...