Error.txt not found

Error exception


Message: 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 'AND beheer_categorie.taal = 'nl'' at line 4 at line 238 in /home/gtmprofe/web/test.gtmprofessional.com/public_html/lib/Zend/Db/Statement/Pdo.php


SELECT beheer_categorie.*
FROM beheer_categorie
WHERE beheer_categorie.primary_key =
AND beheer_categorie.taal = 'nl'


Details from debug array:

ArrayObject Object
(
    [storage:ArrayObject:private] => Array
        (
            [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 'AND				beheer_categorie.taal = 'nl'' at line 4
                    [string:Exception:private] => 
                    [code:protected] => 0
                    [file:protected] => /home/gtmprofe/web/test.gtmprofessional.com/public_html/lib/Zend/Db/Statement/Pdo.php
                    [line:protected] => 238
                    [trace:Exception:private] => Array
                        (
                            [0] => Array
                                (
                                    [file] => /home/gtmprofe/web/test.gtmprofessional.com/public_html/lib/Zend/Db/Statement.php
                                    [line] => 283
                                    [function] => _execute
                                    [class] => Zend_Db_Statement_Pdo
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => Array
                                                (
                                                )

                                        )

                                )

                            [1] => Array
                                (
                                    [file] => /home/gtmprofe/web/test.gtmprofessional.com/public_html/lib/Zend/Db/Adapter/Abstract.php
                                    [line] => 430
                                    [function] => execute
                                    [class] => Zend_Db_Statement
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => Array
                                                (
                                                )

                                        )

                                )

                            [2] => Array
                                (
                                    [file] => /home/gtmprofe/web/test.gtmprofessional.com/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php
                                    [line] => 220
                                    [function] => query
                                    [class] => Zend_Db_Adapter_Abstract
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => 
																SELECT 			beheer_categorie.*
																FROM 			beheer_categorie
																WHERE			beheer_categorie.primary_key = 
																AND				beheer_categorie.taal = 'nl'
													
                                            [1] => Array
                                                (
                                                )

                                        )

                                )

                            [3] => Array
                                (
                                    [file] => /home/gtmprofe/web/test.gtmprofessional.com/public_html/lib/Zend/Db/Adapter/Abstract.php
                                    [line] => 660
                                    [function] => query
                                    [class] => Zend_Db_Adapter_Pdo_Abstract
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => 
																SELECT 			beheer_categorie.*
																FROM 			beheer_categorie
																WHERE			beheer_categorie.primary_key = 
																AND				beheer_categorie.taal = 'nl'
													
                                            [1] => Array
                                                (
                                                )

                                        )

                                )

                            [4] => Array
                                (
                                    [file] => /home/gtmprofe/web/test.gtmprofessional.com/public_html/app/index/models/ApplicationModel.php
                                    [line] => 865
                                    [function] => fetchRow
                                    [class] => Zend_Db_Adapter_Abstract
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => 
																SELECT 			beheer_categorie.*
																FROM 			beheer_categorie
																WHERE			beheer_categorie.primary_key = 
																AND				beheer_categorie.taal = 'nl'
													
                                        )

                                )

                            [5] => Array
                                (
                                    [file] => /home/gtmprofe/web/test.gtmprofessional.com/public_html/app/index/controllers/WebshopController.php
                                    [line] => 272
                                    [function] => getGtm
                                    [class] => ApplicationModel
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => heggenscharen-benzine
                                        )

                                )

                            [6] => Array
                                (
                                    [file] => /home/gtmprofe/web/test.gtmprofessional.com/public_html/lib/Zend/Controller/Action.php
                                    [line] => 513
                                    [function] => showAction
                                    [class] => WebshopController
                                    [type] => ->
                                    [args] => Array
                                        (
                                        )

                                )

                            [7] => Array
                                (
                                    [file] => /home/gtmprofe/web/test.gtmprofessional.com/public_html/lib/Zend/Controller/Dispatcher/Standard.php
                                    [line] => 289
                                    [function] => dispatch
                                    [class] => Zend_Controller_Action
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => showAction
                                        )

                                )

                            [8] => Array
                                (
                                    [file] => /home/gtmprofe/web/test.gtmprofessional.com/public_html/lib/Zend/Controller/Front.php
                                    [line] => 960
                                    [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] => /webshop/tuin-_-park/snoeiwerk/heggenscharen-benzine
                                                    [_baseUrl:protected] => 
                                                    [_basePath:protected] => 
                                                    [_pathInfo:protected] => /webshop/tuin-_-park/snoeiwerk/heggenscharen-benzine
                                                    [_params:protected] => Array
                                                        (
                                                            [pageid] => tuin-_-park
                                                            [subid] => snoeiwerk
                                                            [subsubid] => heggenscharen-benzine
                                                            [controller] => webshop
                                                            [action] => show
                                                            [page] => 
                                                            [product] => 
                                                            [error_handler] => ArrayObject Object
 *RECURSION*
                                                        )

                                                    [_rawBody:protected] => 
                                                    [_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
                                                )

                                        )

                                )

                            [9] => Array
                                (
                                    [file] => /home/gtmprofe/web/test.gtmprofessional.com/public_html/public/index.php
                                    [line] => 640
                                    [function] => dispatch
                                    [class] => Zend_Controller_Front
                                    [type] => ->
                                    [args] => Array
                                        (
                                        )

                                )

                        )

                    [previous:Exception:private] => 
                )

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

                    [_requestUri:protected] => /webshop/tuin-_-park/snoeiwerk/heggenscharen-benzine
                    [_baseUrl:protected] => 
                    [_basePath:protected] => 
                    [_pathInfo:protected] => /webshop/tuin-_-park/snoeiwerk/heggenscharen-benzine
                    [_params:protected] => Array
                        (
                            [pageid] => tuin-_-park
                            [subid] => snoeiwerk
                            [subsubid] => heggenscharen-benzine
                            [controller] => webshop
                            [action] => show
                            [page] => 
                            [product] => 
                        )

                    [_rawBody:protected] => 
                    [_aliases:protected] => Array
                        (
                        )

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

        )

)