Warning: Smarty error: unable to read resource: "error/error.tpl" in /var/www/mashiko/application/lib/Smarty/Smarty.class.php on line 1092
ArrayObject Object
(
    [exception] => 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 ')' at line 1
            [string:private] => 
            [code:protected] => 0
            [file:protected] => /var/www/mashiko/application/lib/Zend/Db/Statement/Pdo.php
            [line:protected] => 238
            [trace:private] => Array
                (
                    [0] => Array
                        (
                            [file] => /var/www/mashiko/application/lib/Zend/Db/Statement.php
                            [line] => 283
                            [function] => _execute
                            [class] => Zend_Db_Statement_Pdo
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                        )

                                )

                        )

                    [1] => Array
                        (
                            [file] => /var/www/mashiko/application/lib/Zend/Db/Adapter/Abstract.php
                            [line] => 430
                            [function] => execute
                            [class] => Zend_Db_Statement
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                        )

                                )

                        )

                    [2] => Array
                        (
                            [file] => /var/www/mashiko/application/lib/Zend/Db/Adapter/Pdo/Abstract.php
                            [line] => 220
                            [function] => query
                            [class] => Zend_Db_Adapter_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Zend_Db_Select Object
                                        (
                                            [_adapter:protected] => Zend_Db_Adapter_Pdo_Mysql Object
                                                (
                                                    [_pdoType:protected] => mysql
                                                    [_numericDataTypes:protected] => Array
                                                        (
                                                            [0] => 0
                                                            [1] => 1
                                                            [2] => 2
                                                            [INT] => 0
                                                            [INTEGER] => 0
                                                            [MEDIUMINT] => 0
                                                            [SMALLINT] => 0
                                                            [TINYINT] => 0
                                                            [BIGINT] => 1
                                                            [SERIAL] => 1
                                                            [DEC] => 2
                                                            [DECIMAL] => 2
                                                            [DOUBLE] => 2
                                                            [DOUBLE PRECISION] => 2
                                                            [FIXED] => 2
                                                            [FLOAT] => 2
                                                        )

                                                    [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo
                                                    [_config:protected] => Array
                                                        (
                                                            [host] => localhost
                                                            [username] => mashiko
                                                            [password] => M3DnHJAI
                                                            [dbname] => mashikodb
                                                            [options] => Array
                                                                (
                                                                    [caseFolding] => 0
                                                                    [autoQuoteIdentifiers] => 1
                                                                )

                                                            [driver_options] => Array
                                                                (
                                                                )

                                                        )

                                                    [_fetchMode:protected] => 2
                                                    [_profiler:protected] => Zend_Db_Profiler Object
                                                        (
                                                            [_queryProfiles:protected] => Array
                                                                (
                                                                )

                                                            [_enabled:protected] => 
                                                            [_filterElapsedSecs:protected] => 
                                                            [_filterTypes:protected] => 
                                                        )

                                                    [_defaultProfilerClass:protected] => Zend_Db_Profiler
                                                    [_connection:protected] => PDO Object
                                                        (
                                                        )

                                                    [_caseFolding:protected] => 0
                                                    [_autoQuoteIdentifiers:protected] => 1
                                                )

                                            [_parts:protected] => Array
                                                (
                                                    [distinct] => 
                                                    [columns] => Array
                                                        (
                                                            [0] => Array
                                                                (
                                                                    [0] => bukken
                                                                    [1] => Zend_Db_Expr Object
                                                                        (
                                                                            [_expression:protected] => COUNT(*) AS zend_paginator_row_count
                                                                        )

                                                                    [2] => 
                                                                )

                                                        )

                                                    [union] => Array
                                                        (
                                                        )

                                                    [from] => Array
                                                        (
                                                            [bukken] => Array
                                                                (
                                                                    [joinType] => inner join
                                                                    [schema] => 
                                                                    [tableName] => bukken
                                                                    [joinCondition] => 
                                                                )

                                                        )

                                                    [where] => Array
                                                        (
                                                            [0] => ()
                                                        )

                                                    [group] => Array
                                                        (
                                                        )

                                                    [having] => Array
                                                        (
                                                        )

                                                    [order] => Array
                                                        (
                                                        )

                                                    [limitcount] => 
                                                    [limitoffset] => 
                                                    [forupdate] => 
                                                )

                                            [_tableCols:protected] => Array
                                                (
                                                )

                                        )

                                    [1] => Array
                                        (
                                        )

                                )

                        )

                    [3] => Array
                        (
                            [file] => /var/www/mashiko/application/lib/Zend/Db/Select.php
                            [line] => 639
                            [function] => query
                            [class] => Zend_Db_Adapter_Pdo_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Zend_Db_Select Object
                                        (
                                            [_adapter:protected] => Zend_Db_Adapter_Pdo_Mysql Object
                                                (
                                                    [_pdoType:protected] => mysql
                                                    [_numericDataTypes:protected] => Array
                                                        (
                                                            [0] => 0
                                                            [1] => 1
                                                            [2] => 2
                                                            [INT] => 0
                                                            [INTEGER] => 0
                                                            [MEDIUMINT] => 0
                                                            [SMALLINT] => 0
                                                            [TINYINT] => 0
                                                            [BIGINT] => 1
                                                            [SERIAL] => 1
                                                            [DEC] => 2
                                                            [DECIMAL] => 2
                                                            [DOUBLE] => 2
                                                            [DOUBLE PRECISION] => 2
                                                            [FIXED] => 2
                                                            [FLOAT] => 2
                                                        )

                                                    [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo
                                                    [_config:protected] => Array
                                                        (
                                                            [host] => localhost
                                                            [username] => mashiko
                                                            [password] => M3DnHJAI
                                                            [dbname] => mashikodb
                                                            [options] => Array
                                                                (
                                                                    [caseFolding] => 0
                                                                    [autoQuoteIdentifiers] => 1
                                                                )

                                                            [driver_options] => Array
                                                                (
                                                                )

                                                        )

                                                    [_fetchMode:protected] => 2
                                                    [_profiler:protected] => Zend_Db_Profiler Object
                                                        (
                                                            [_queryProfiles:protected] => Array
                                                                (
                                                                )

                                                            [_enabled:protected] => 
                                                            [_filterElapsedSecs:protected] => 
                                                            [_filterTypes:protected] => 
                                                        )

                                                    [_defaultProfilerClass:protected] => Zend_Db_Profiler
                                                    [_connection:protected] => PDO Object
                                                        (
                                                        )

                                                    [_caseFolding:protected] => 0
                                                    [_autoQuoteIdentifiers:protected] => 1
                                                )

                                            [_parts:protected] => Array
                                                (
                                                    [distinct] => 
                                                    [columns] => Array
                                                        (
                                                            [0] => Array
                                                                (
                                                                    [0] => bukken
                                                                    [1] => Zend_Db_Expr Object
                                                                        (
                                                                            [_expression:protected] => COUNT(*) AS zend_paginator_row_count
                                                                        )

                                                                    [2] => 
                                                                )

                                                        )

                                                    [union] => Array
                                                        (
                                                        )

                                                    [from] => Array
                                                        (
                                                            [bukken] => Array
                                                                (
                                                                    [joinType] => inner join
                                                                    [schema] => 
                                                                    [tableName] => bukken
                                                                    [joinCondition] => 
                                                                )

                                                        )

                                                    [where] => Array
                                                        (
                                                            [0] => ()
                                                        )

                                                    [group] => Array
                                                        (
                                                        )

                                                    [having] => Array
                                                        (
                                                        )

                                                    [order] => Array
                                                        (
                                                        )

                                                    [limitcount] => 
                                                    [limitoffset] => 
                                                    [forupdate] => 
                                                )

                                            [_tableCols:protected] => Array
                                                (
                                                )

                                        )

                                )

                        )

                    [4] => Array
                        (
                            [file] => /var/www/mashiko/application/lib/Zend/Paginator/Adapter/DbSelect.php
                            [line] => 105
                            [function] => query
                            [class] => Zend_Db_Select
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => 2
                                )

                        )

                    [5] => Array
                        (
                            [file] => /var/www/mashiko/application/lib/Zend/Paginator/Adapter/DbSelect.php
                            [line] => 175
                            [function] => setRowCount
                            [class] => Zend_Paginator_Adapter_DbSelect
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Zend_Db_Select Object
                                        (
                                            [_adapter:protected] => Zend_Db_Adapter_Pdo_Mysql Object
                                                (
                                                    [_pdoType:protected] => mysql
                                                    [_numericDataTypes:protected] => Array
                                                        (
                                                            [0] => 0
                                                            [1] => 1
                                                            [2] => 2
                                                            [INT] => 0
                                                            [INTEGER] => 0
                                                            [MEDIUMINT] => 0
                                                            [SMALLINT] => 0
                                                            [TINYINT] => 0
                                                            [BIGINT] => 1
                                                            [SERIAL] => 1
                                                            [DEC] => 2
                                                            [DECIMAL] => 2
                                                            [DOUBLE] => 2
                                                            [DOUBLE PRECISION] => 2
                                                            [FIXED] => 2
                                                            [FLOAT] => 2
                                                        )

                                                    [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo
                                                    [_config:protected] => Array
                                                        (
                                                            [host] => localhost
                                                            [username] => mashiko
                                                            [password] => M3DnHJAI
                                                            [dbname] => mashikodb
                                                            [options] => Array
                                                                (
                                                                    [caseFolding] => 0
                                                                    [autoQuoteIdentifiers] => 1
                                                                )

                                                            [driver_options] => Array
                                                                (
                                                                )

                                                        )

                                                    [_fetchMode:protected] => 2
                                                    [_profiler:protected] => Zend_Db_Profiler Object
                                                        (
                                                            [_queryProfiles:protected] => Array
                                                                (
                                                                )

                                                            [_enabled:protected] => 
                                                            [_filterElapsedSecs:protected] => 
                                                            [_filterTypes:protected] => 
                                                        )

                                                    [_defaultProfilerClass:protected] => Zend_Db_Profiler
                                                    [_connection:protected] => PDO Object
                                                        (
                                                        )

                                                    [_caseFolding:protected] => 0
                                                    [_autoQuoteIdentifiers:protected] => 1
                                                )

                                            [_parts:protected] => Array
                                                (
                                                    [distinct] => 
                                                    [columns] => Array
                                                        (
                                                            [0] => Array
                                                                (
                                                                    [0] => bukken
                                                                    [1] => Zend_Db_Expr Object
                                                                        (
                                                                            [_expression:protected] => COUNT(*) AS zend_paginator_row_count
                                                                        )

                                                                    [2] => 
                                                                )

                                                        )

                                                    [union] => Array
                                                        (
                                                        )

                                                    [from] => Array
                                                        (
                                                            [bukken] => Array
                                                                (
                                                                    [joinType] => inner join
                                                                    [schema] => 
                                                                    [tableName] => bukken
                                                                    [joinCondition] => 
                                                                )

                                                        )

                                                    [where] => Array
                                                        (
                                                            [0] => ()
                                                        )

                                                    [group] => Array
                                                        (
                                                        )

                                                    [having] => Array
                                                        (
                                                        )

                                                    [order] => Array
                                                        (
                                                        )

                                                    [limitcount] => 
                                                    [limitoffset] => 
                                                    [forupdate] => 
                                                )

                                            [_tableCols:protected] => Array
                                                (
                                                )

                                        )

                                )

                        )

                    [6] => Array
                        (
                            [file] => /var/www/mashiko/application/lib/Zend/Paginator.php
                            [line] => 701
                            [function] => count
                            [class] => Zend_Paginator_Adapter_DbSelect
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [7] => Array
                        (
                            [file] => /var/www/mashiko/application/lib/Zend/Paginator.php
                            [line] => 475
                            [function] => _calculatePageCount
                            [class] => Zend_Paginator
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [8] => Array
                        (
                            [file] => /var/www/mashiko/application/controllers/SearchController.php
                            [line] => 98
                            [function] => setItemCountPerPage
                            [class] => Zend_Paginator
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => 10
                                )

                        )

                    [9] => Array
                        (
                            [file] => /var/www/mashiko/application/lib/Zend/Controller/Action.php
                            [line] => 502
                            [function] => resultAction
                            [class] => SearchController
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [10] => Array
                        (
                            [file] => /var/www/mashiko/application/lib/Zend/Controller/Dispatcher/Standard.php
                            [line] => 293
                            [function] => dispatch
                            [class] => Zend_Controller_Action
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => resultAction
                                )

                        )

                    [11] => Array
                        (
                            [file] => /var/www/mashiko/application/lib/Zend/Controller/Front.php
                            [line] => 946
                            [function] => dispatch
                            [class] => Zend_Controller_Dispatcher_Standard
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Zend_Controller_Request_Http Object
                                        (
                                            [_paramSources:protected] => Array
                                                (
                                                    [0] => _GET
                                                    [1] => _POST
                                                )

                                            [_requestUri:protected] => /search/result/p/5/
                                            [_baseUrl:protected] => 
                                            [_basePath:protected] => 
                                            [_pathInfo:protected] => /search/result/p/5/
                                            [_params:protected] => Array
                                                (
                                                    [controller] => search
                                                    [action] => result
                                                    [p] => 5
                                                    [module] => default
                                                    [error_handler] => ArrayObject Object
 *RECURSION*
                                                )

                                            [_aliases:protected] => Array
                                                (
                                                )

                                            [_dispatched:protected] => 1
                                            [_module:protected] => default
                                            [_moduleKey:protected] => module
                                            [_controller:protected] => error
                                            [_controllerKey:protected] => controller
                                            [_action:protected] => error
                                            [_actionKey:protected] => action
                                        )

                                    [1] => Zend_Controller_Response_Http Object
                                        (
                                            [_body:protected] => Array
                                                (
                                                )

                                            [_exceptions:protected] => Array
                                                (
                                                    [0] => Zend_Db_Statement_Exception Object
 *RECURSION*
                                                )

                                            [_headers:protected] => Array
                                                (
                                                )

                                            [_headersRaw:protected] => Array
                                                (
                                                )

                                            [_httpResponseCode:protected] => 200
                                            [_isRedirect:protected] => 
                                            [_renderExceptions:protected] => 
                                            [headersSentThrowsException] => 1
                                        )

                                )

                        )

                    [12] => Array
                        (
                            [file] => /var/www/mashiko/application/lib/Zend/Controller/Front.php
                            [line] => 226
                            [function] => dispatch
                            [class] => Zend_Controller_Front
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [13] => Array
                        (
                            [file] => /var/www/mashiko/html/index.php
                            [line] => 85
                            [function] => run
                            [class] => Zend_Controller_Front
                            [type] => ::
                            [args] => Array
                                (
                                    [0] => ../application/controllers
                                )

                        )

                )

        )

    [type] => EXCEPTION_OTHER
    [request] => Zend_Controller_Request_Http Object
        (
            [_paramSources:protected] => Array
                (
                    [0] => _GET
                    [1] => _POST
                )

            [_requestUri:protected] => /search/result/p/5/
            [_baseUrl:protected] => 
            [_basePath:protected] => 
            [_pathInfo:protected] => /search/result/p/5/
            [_params:protected] => Array
                (
                    [controller] => search
                    [action] => result
                    [p] => 5
                    [module] => default
                )

            [_aliases:protected] => Array
                (
                )

            [_dispatched:protected] => 1
            [_module:protected] => default
            [_moduleKey:protected] => module
            [_controller:protected] => search
            [_controllerKey:protected] => controller
            [_action:protected] => result
            [_actionKey:protected] => action
        )

)


Notice: in /var/www/mashiko/application/controllers/ErrorController.php on line 100