Zend_Db_Statement_Exception Object
(
[message:protected] => SQLSTATE[42000]: Syntax error or access violation: 1064 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 'LIMIT 1' at line 1
[string:private] =>
[code:protected] => 0
[file:protected] => /home/litmetal/html/framework/library/Zend/Db/Statement/Pdo.php
[line:protected] => 238
[trace:private] => Array
(
[0] => Array
(
[file] => /home/litmetal/html/framework/library/Zend/Db/Statement.php
[line] => 283
[function] => _execute
[class] => Zend_Db_Statement_Pdo
[type] => ->
[args] => Array
(
[0] =>
)
)
[1] => Array
(
[file] => /home/litmetal/html/framework/library/db/model.php
[line] => 100
[function] => execute
[class] => Zend_Db_Statement
[type] => ->
[args] => Array
(
)
)
[2] => Array
(
[file] => /home/litmetal/html/framework/core/model.php
[line] => 27
[function] => get
[class] => Library_Db_Model
[type] => ->
[args] => Array
(
[0] =>
)
)
[3] => Array
(
[file] => /home/litmetal/html/framework/module/news/controller/controller.php
[line] => 153
[function] => __call
[class] => Core_Model
[type] => ->
[args] => Array
(
[0] => Array
(
[0] => Library_Db_Model Object
(
[pdoAttribute] =>
[table] => mc_news_categories
)
[1] => get
)
[1] => Array
(
[0] =>
)
)
)
[4] => Array
(
[file] => /home/litmetal/html/framework/module/news/controller/controller.php
[line] => 153
[function] => get
[class] => Module_News_Model_Categories
[type] => ->
[args] => Array
(
[0] => get
[1] => Array
(
[0] =>
)
)
)
[5] => Array
(
[file] => /home/litmetal/html/framework/core/processor.php
[line] => 40
[function] => post
[class] => Module_News_Controller
[type] => ->
[args] => Array
(
[0] =>
)
)
[6] => Array
(
[file] => /home/litmetal/html/framework/core/init.php
[line] => 24
[function] => process
[class] => Core_Processor
[type] => ->
[args] => Array
(
)
)
[7] => Array
(
[file] => /home/litmetal/html/index.php
[line] => 42
[args] => Array
(
[0] => /home/litmetal/html/framework/core/init.php
)
[function] => require_once
)
)
)
#0 /home/litmetal/html/framework/library/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(NULL)
#1 /home/litmetal/html/framework/library/db/model.php(100): Zend_Db_Statement->execute()
#2 /home/litmetal/html/framework/core/model.php(27): Library_Db_Model->get(NULL)
#3 /home/litmetal/html/framework/module/news/controller/controller.php(153): Core_Model->__call(Array, Array)
#4 /home/litmetal/html/framework/module/news/controller/controller.php(153): Module_News_Model_Categories->get('get', Array)
#5 /home/litmetal/html/framework/core/processor.php(40): Module_News_Controller->post(NULL)
#6 /home/litmetal/html/framework/core/init.php(24): Core_Processor->process()
#7 /home/litmetal/html/index.php(42): require_once('/home/litmetal/...')
#8 {main}