Товар добавлен
в корзину
Товар добавлен
в список желаний
Категории товаров

DBException!
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 'and visible = 1 and `type` = 'article' order by tstamp desc limit 3' at line 1
in file: /var/www/dombusin.com/app/lib/db.php
at line: 36
Trace:
0 -> file -> /var/www/dombusin.com/app/Model/Model.php
line -> 109
function -> q
class -> MySQL
type -> ->
args -> Array ( [0] => select * from `dombusin2_page` where tstamp < and visible = 1 and `type` = 'article' order by tstamp desc limit 3 )

1 -> file -> /var/www/dombusin.com/app/Model/Model.php
line -> 82
function -> q
class -> Model_Model
type -> ->
args -> Array ( [0] => select * from `dombusin2_page` where tstamp < and visible = 1 and `type` = 'article' order by tstamp desc limit 3 )

2 -> file -> /var/www/dombusin.com/app/Model/Page.php
line -> 25
function -> getall
class -> Model_Model
type -> ->
args -> Array ( [0] => Array ( [where] => tstamp < and visible = 1 and `type` = 'article' [order] => tstamp desc [limit] => 3 ) )

3 -> file -> /var/www/dombusin.com/app/view/scripts/articles/cont.php
line -> 4
function -> getall
class -> Model_Page
type -> ->
args -> Array ( [0] => Array ( [where] => tstamp < and visible = 1 [order] => tstamp desc [limit] => 3 ) )

4 -> file -> /var/www/dombusin.com/Zend/View.php
line -> 108
args -> Array ( [0] => /var/www/dombusin.com/app/view/scripts/articles/cont.php )
function -> include

5 -> file -> /var/www/dombusin.com/Zend/View/Abstract.php
line -> 831
function -> _run
class -> Zend_View
type -> ->
args -> Array ( [0] => app/view/scripts/articles/cont.php )

6 -> file -> /var/www/dombusin.com/app/controller/articles.php
line -> 51
function -> render
class -> Zend_View_Abstract
type -> ->
args -> Array ( [0] => articles/cont.php )

7 -> file -> /var/www/dombusin.com/cms.php
line -> 49
args -> Array ( [0] => /var/www/dombusin.com/app/controller/articles.php )
function -> include