Exception!
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB 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/www-root/data/www/dombusin.com/app/ASweb/Db/MySQL.php
at line: 43
Trace:
0 -> file -> /var/www/www-root/data/www/dombusin.com/app/Model/Model.php
line -> 196
function -> q
class -> ASweb\Db\MySQL
type -> ->
args -> Array
(
[0] => select * from `dombusin_page` where tstamp < and visible = 1 and `type` = 'article' order by tstamp desc limit 3
)
1 -> file -> /var/www/www-root/data/www/dombusin.com/app/Model/Model.php
line -> 163
function -> q
class -> Model_Model
type -> ->
args -> Array
(
[0] => select * from `dombusin_page` where tstamp < and visible = 1 and `type` = 'article' order by tstamp desc limit 3
)
2 -> file -> /var/www/www-root/data/www/dombusin.com/app/Model/Page.php
line -> 39
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/www-root/data/www/dombusin.com/app/view/scripts/articles/cont.php
line -> 6
function -> getall
class -> Model_Page
type -> ->
args -> Array
(
[0] => Array
(
[where] => tstamp < and visible = 1 and `type` = 'article'
[order] => tstamp desc
[limit] => 3
)
)
4 -> file -> /var/www/www-root/data/www/dombusin.com/Zend/View.php
line -> 108
args -> Array
(
[0] => /var/www/www-root/data/www/dombusin.com/app/view/scripts/articles/cont.php
)
function -> include
5 -> file -> /var/www/www-root/data/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/www-root/data/www/dombusin.com/app/controller/articles.php
line -> 49
function -> render
class -> Zend_View_Abstract
type -> ->
args -> Array
(
[0] =>
)
7 -> file -> /var/www/www-root/data/www/dombusin.com/cms.php
line -> 23
args -> Array
(
[0] => /var/www/www-root/data/www/dombusin.com/app/controller/articles.php
)
function -> include