Realize seu login:

Página não encontrada
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 p.ativo = 1
            order by
				
                c.nm_categoria,
  ' at line 36, query was: 
            SELECT 
                distinct
				f1.caminho AS foto1,
				f2.caminho AS foto2,
				p.cd_produto,
				p.nm_produto,
				p.referencia,
				p.estoque,
				p.vl_produto,
				p.ativo,
				c.nm_categoria,
				c.cd_categoria,
				s.cd_subcategoria,
				s.nm_subcategoria,
				s.nm_subcategoria,
				p.descricao,
				m.cd_marca,
				m.ds_titulo
					
			FROM produto p
			LEFT JOIN produto_foto AS f1 ON (
				f1.cd_produto = p.cd_produto
				AND f1.ativo = 1 
				AND f1.ordem = 1
			)
			LEFT JOIN produto_foto AS f2 ON (
				f2.cd_produto = p.cd_produto
				AND f2.ativo = 1 
				AND f2.ordem = 2
			)	
			join marca m on m.cd_marca = p.cd_marca
            left JOIN subcategoria s on p.cd_subcategoria = s.cd_subcategoria
			JOIN categoria c ON c.cd_categoria = p.cd_categoria  
			where 
				c.cd_categoria = 
				and p.ativo = 1
            order by
				
                c.nm_categoria,
                s.nm_subcategoria,
                nm_produto

			 limit 10 
		
#0 /home1/iriscos2024/public_html/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home1/iriscos2024/public_html/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 /home1/iriscos2024/public_html/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('\r\n            S...', Array)
#3 /home1/iriscos2024/public_html/library/Zend/Db/Adapter/Abstract.php(737): Zend_Db_Adapter_Pdo_Abstract->query('\r\n            S...', Array)
#4 /home1/iriscos2024/public_html/application/modules/admin/models/Business/Produto.php(348): Zend_Db_Adapter_Abstract->fetchAll('\r\n            S...')
#5 /home1/iriscos2024/public_html/application/views/scripts/produto/index.phtml(410): Admin_Model_Business_Produto->produtosCategoria(NULL, 10)
#6 /home1/iriscos2024/public_html/library/Zend/View.php(157): include('/home1/iriscos2...')
#7 /home1/iriscos2024/public_html/library/Zend/View/Abstract.php(888): Zend_View->_run('/home1/iriscos2...')
#8 /home1/iriscos2024/public_html/library/Zend/Controller/Action/Helper/ViewRenderer.php(912): Zend_View_Abstract->render(NULL)
#9 /home1/iriscos2024/public_html/library/Zend/Controller/Action/Helper/ViewRenderer.php(933): Zend_Controller_Action_Helper_ViewRenderer->renderScript('produto/index.p...', NULL)
#10 /home1/iriscos2024/public_html/library/Zend/Controller/Action/Helper/ViewRenderer.php(972): Zend_Controller_Action_Helper_ViewRenderer->render()
#11 /home1/iriscos2024/public_html/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#12 /home1/iriscos2024/public_html/library/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#13 /home1/iriscos2024/public_html/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
#14 /home1/iriscos2024/public_html/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#15 /home1/iriscos2024/public_html/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#16 /home1/iriscos2024/public_html/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#17 /home1/iriscos2024/public_html/public/index.php(58): Zend_Application->run()
#18 {main}
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 p.ativo = 1
            order by
				
                c.nm_categoria,
  ' at line 36, query was: 
            SELECT 
                distinct
				f1.caminho AS foto1,
				f2.caminho AS foto2,
				p.cd_produto,
				p.nm_produto,
				p.referencia,
				p.estoque,
				p.vl_produto,
				p.ativo,
				c.nm_categoria,
				c.cd_categoria,
				s.cd_subcategoria,
				s.nm_subcategoria,
				s.nm_subcategoria,
				p.descricao,
				m.cd_marca,
				m.ds_titulo
					
			FROM produto p
			LEFT JOIN produto_foto AS f1 ON (
				f1.cd_produto = p.cd_produto
				AND f1.ativo = 1 
				AND f1.ordem = 1
			)
			LEFT JOIN produto_foto AS f2 ON (
				f2.cd_produto = p.cd_produto
				AND f2.ativo = 1 
				AND f2.ordem = 2
			)	
			join marca m on m.cd_marca = p.cd_marca
            left JOIN subcategoria s on p.cd_subcategoria = s.cd_subcategoria
			JOIN categoria c ON c.cd_categoria = p.cd_categoria  
			where 
				c.cd_categoria = 
				and p.ativo = 1
            order by
				
                c.nm_categoria,
                s.nm_subcategoria,
                nm_produto

			 limit 10 
		
                    [string:Exception:private] => 
                    [code:protected] => 42000
                    [file:protected] => /home1/iriscos2024/public_html/library/Zend/Db/Statement/Pdo.php
                    [line:protected] => 235
                    [trace:Exception:private] => Array
                        (
                            [0] => Array
                                (
                                    [file] => /home1/iriscos2024/public_html/library/Zend/Db/Statement.php
                                    [line] => 303
                                    [function] => _execute
                                    [class] => Zend_Db_Statement_Pdo
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => Array
                                                (
                                                )

                                        )

                                )

                            [1] => Array
                                (
                                    [file] => /home1/iriscos2024/public_html/library/Zend/Db/Adapter/Abstract.php
                                    [line] => 480
                                    [function] => execute
                                    [class] => Zend_Db_Statement
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => Array
                                                (
                                                )

                                        )

                                )

                            [2] => Array
                                (
                                    [file] => /home1/iriscos2024/public_html/library/Zend/Db/Adapter/Pdo/Abstract.php
                                    [line] => 238
                                    [function] => query
                                    [class] => Zend_Db_Adapter_Abstract
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => 
            SELECT 
                distinct
				f1.caminho AS foto1,
				f2.caminho AS foto2,
				p.cd_produto,
				p.nm_produto,
				p.referencia,
				p.estoque,
				p.vl_produto,
				p.ativo,
				c.nm_categoria,
				c.cd_categoria,
				s.cd_subcategoria,
				s.nm_subcategoria,
				s.nm_subcategoria,
				p.descricao,
				m.cd_marca,
				m.ds_titulo
					
			FROM produto p
			LEFT JOIN produto_foto AS f1 ON (
				f1.cd_produto = p.cd_produto
				AND f1.ativo = 1 
				AND f1.ordem = 1
			)
			LEFT JOIN produto_foto AS f2 ON (
				f2.cd_produto = p.cd_produto
				AND f2.ativo = 1 
				AND f2.ordem = 2
			)	
			join marca m on m.cd_marca = p.cd_marca
            left JOIN subcategoria s on p.cd_subcategoria = s.cd_subcategoria
			JOIN categoria c ON c.cd_categoria = p.cd_categoria  
			where 
				c.cd_categoria = 
				and p.ativo = 1
            order by
				
                c.nm_categoria,
                s.nm_subcategoria,
                nm_produto

			 limit 10 
		
                                            [1] => Array
                                                (
                                                )

                                        )

                                )

                            [3] => Array
                                (
                                    [file] => /home1/iriscos2024/public_html/library/Zend/Db/Adapter/Abstract.php
                                    [line] => 737
                                    [function] => query
                                    [class] => Zend_Db_Adapter_Pdo_Abstract
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => 
            SELECT 
                distinct
				f1.caminho AS foto1,
				f2.caminho AS foto2,
				p.cd_produto,
				p.nm_produto,
				p.referencia,
				p.estoque,
				p.vl_produto,
				p.ativo,
				c.nm_categoria,
				c.cd_categoria,
				s.cd_subcategoria,
				s.nm_subcategoria,
				s.nm_subcategoria,
				p.descricao,
				m.cd_marca,
				m.ds_titulo
					
			FROM produto p
			LEFT JOIN produto_foto AS f1 ON (
				f1.cd_produto = p.cd_produto
				AND f1.ativo = 1 
				AND f1.ordem = 1
			)
			LEFT JOIN produto_foto AS f2 ON (
				f2.cd_produto = p.cd_produto
				AND f2.ativo = 1 
				AND f2.ordem = 2
			)	
			join marca m on m.cd_marca = p.cd_marca
            left JOIN subcategoria s on p.cd_subcategoria = s.cd_subcategoria
			JOIN categoria c ON c.cd_categoria = p.cd_categoria  
			where 
				c.cd_categoria = 
				and p.ativo = 1
            order by
				
                c.nm_categoria,
                s.nm_subcategoria,
                nm_produto

			 limit 10 
		
                                            [1] => Array
                                                (
                                                )

                                        )

                                )

                            [4] => Array
                                (
                                    [file] => /home1/iriscos2024/public_html/application/modules/admin/models/Business/Produto.php
                                    [line] => 348
                                    [function] => fetchAll
                                    [class] => Zend_Db_Adapter_Abstract
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => 
            SELECT 
                distinct
				f1.caminho AS foto1,
				f2.caminho AS foto2,
				p.cd_produto,
				p.nm_produto,
				p.referencia,
				p.estoque,
				p.vl_produto,
				p.ativo,
				c.nm_categoria,
				c.cd_categoria,
				s.cd_subcategoria,
				s.nm_subcategoria,
				s.nm_subcategoria,
				p.descricao,
				m.cd_marca,
				m.ds_titulo
					
			FROM produto p
			LEFT JOIN produto_foto AS f1 ON (
				f1.cd_produto = p.cd_produto
				AND f1.ativo = 1 
				AND f1.ordem = 1
			)
			LEFT JOIN produto_foto AS f2 ON (
				f2.cd_produto = p.cd_produto
				AND f2.ativo = 1 
				AND f2.ordem = 2
			)	
			join marca m on m.cd_marca = p.cd_marca
            left JOIN subcategoria s on p.cd_subcategoria = s.cd_subcategoria
			JOIN categoria c ON c.cd_categoria = p.cd_categoria  
			where 
				c.cd_categoria = 
				and p.ativo = 1
            order by
				
                c.nm_categoria,
                s.nm_subcategoria,
                nm_produto

			 limit 10 
		
                                        )

                                )

                            [5] => Array
                                (
                                    [file] => /home1/iriscos2024/public_html/application/views/scripts/produto/index.phtml
                                    [line] => 410
                                    [function] => produtosCategoria
                                    [class] => Admin_Model_Business_Produto
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => 
                                            [1] => 10
                                        )

                                )

                            [6] => Array
                                (
                                    [file] => /home1/iriscos2024/public_html/library/Zend/View.php
                                    [line] => 157
                                    [args] => Array
                                        (
                                            [0] => /home1/iriscos2024/public_html/application/views/scripts/produto/index.phtml
                                        )

                                    [function] => include
                                )

                            [7] => Array
                                (
                                    [file] => /home1/iriscos2024/public_html/library/Zend/View/Abstract.php
                                    [line] => 888
                                    [function] => _run
                                    [class] => Zend_View
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => /home1/iriscos2024/public_html/application/views/scripts/produto/index.phtml
                                        )

                                )

                            [8] => Array
                                (
                                    [file] => /home1/iriscos2024/public_html/library/Zend/Controller/Action/Helper/ViewRenderer.php
                                    [line] => 912
                                    [function] => render
                                    [class] => Zend_View_Abstract
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => 
                                        )

                                )

                            [9] => Array
                                (
                                    [file] => /home1/iriscos2024/public_html/library/Zend/Controller/Action/Helper/ViewRenderer.php
                                    [line] => 933
                                    [function] => renderScript
                                    [class] => Zend_Controller_Action_Helper_ViewRenderer
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => produto/index.phtml
                                            [1] => 
                                        )

                                )

                            [10] => Array
                                (
                                    [file] => /home1/iriscos2024/public_html/library/Zend/Controller/Action/Helper/ViewRenderer.php
                                    [line] => 972
                                    [function] => render
                                    [class] => Zend_Controller_Action_Helper_ViewRenderer
                                    [type] => ->
                                    [args] => Array
                                        (
                                        )

                                )

                            [11] => Array
                                (
                                    [file] => /home1/iriscos2024/public_html/library/Zend/Controller/Action/HelperBroker.php
                                    [line] => 277
                                    [function] => postDispatch
                                    [class] => Zend_Controller_Action_Helper_ViewRenderer
                                    [type] => ->
                                    [args] => Array
                                        (
                                        )

                                )

                            [12] => Array
                                (
                                    [file] => /home1/iriscos2024/public_html/library/Zend/Controller/Action.php
                                    [line] => 527
                                    [function] => notifyPostDispatch
                                    [class] => Zend_Controller_Action_HelperBroker
                                    [type] => ->
                                    [args] => Array
                                        (
                                        )

                                )

                            [13] => Array
                                (
                                    [file] => /home1/iriscos2024/public_html/library/Zend/Controller/Dispatcher/Standard.php
                                    [line] => 308
                                    [function] => dispatch
                                    [class] => Zend_Controller_Action
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => indexAction
                                        )

                                )

                            [14] => Array
                                (
                                    [file] => /home1/iriscos2024/public_html/library/Zend/Controller/Front.php
                                    [line] => 954
                                    [function] => dispatch
                                    [class] => Zend_Controller_Dispatcher_Standard
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => Zend_Controller_Request_Http Object
                                                (
                                                    [_dispatched:protected] => 1
                                                    [_module:protected] => default
                                                    [_moduleKey:protected] => module
                                                    [_controller:protected] => error
                                                    [_controllerKey:protected] => controller
                                                    [_action:protected] => error
                                                    [_actionKey:protected] => action
                                                    [_params:protected] => Array
                                                        (
                                                            [controller] => produto
                                                            [action] => index
                                                            [id] => cart.html
                                                            [module] => default
                                                            [error_handler] => ArrayObject Object
 *RECURSION*
                                                        )

                                                    [_paramSources:protected] => Array
                                                        (
                                                            [0] => _GET
                                                            [1] => _POST
                                                        )

                                                    [_requestUri:protected] => /produto/index/id/cart.html
                                                    [_baseUrl:protected] => 
                                                    [_basePath:protected] => 
                                                    [_pathInfo:protected] => /produto/index/id/cart.html
                                                    [_rawBody:protected] => 
                                                    [_aliases:protected] => Array
                                                        (
                                                        )

                                                )

                                            [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
                                                )

                                        )

                                )

                            [15] => Array
                                (
                                    [file] => /home1/iriscos2024/public_html/library/Zend/Application/Bootstrap/Bootstrap.php
                                    [line] => 105
                                    [function] => dispatch
                                    [class] => Zend_Controller_Front
                                    [type] => ->
                                    [args] => Array
                                        (
                                        )

                                )

                            [16] => Array
                                (
                                    [file] => /home1/iriscos2024/public_html/library/Zend/Application.php
                                    [line] => 384
                                    [function] => run
                                    [class] => Zend_Application_Bootstrap_Bootstrap
                                    [type] => ->
                                    [args] => Array
                                        (
                                        )

                                )

                            [17] => Array
                                (
                                    [file] => /home1/iriscos2024/public_html/public/index.php
                                    [line] => 58
                                    [function] => run
                                    [class] => Zend_Application
                                    [type] => ->
                                    [args] => Array
                                        (
                                        )

                                )

                        )

                    [previous:Exception:private] => PDOException 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 p.ativo = 1
            order by
				
                c.nm_categoria,
  ' at line 36
                            [string:Exception:private] => 
                            [code:protected] => 42000
                            [file:protected] => /home1/iriscos2024/public_html/library/Zend/Db/Statement/Pdo.php
                            [line:protected] => 228
                            [trace:Exception:private] => Array
                                (
                                    [0] => Array
                                        (
                                            [file] => /home1/iriscos2024/public_html/library/Zend/Db/Statement/Pdo.php
                                            [line] => 228
                                            [function] => execute
                                            [class] => PDOStatement
                                            [type] => ->
                                            [args] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                        )

                                                )

                                        )

                                    [1] => Array
                                        (
                                            [file] => /home1/iriscos2024/public_html/library/Zend/Db/Statement.php
                                            [line] => 303
                                            [function] => _execute
                                            [class] => Zend_Db_Statement_Pdo
                                            [type] => ->
                                            [args] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                        )

                                                )

                                        )

                                    [2] => Array
                                        (
                                            [file] => /home1/iriscos2024/public_html/library/Zend/Db/Adapter/Abstract.php
                                            [line] => 480
                                            [function] => execute
                                            [class] => Zend_Db_Statement
                                            [type] => ->
                                            [args] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                        )

                                                )

                                        )

                                    [3] => Array
                                        (
                                            [file] => /home1/iriscos2024/public_html/library/Zend/Db/Adapter/Pdo/Abstract.php
                                            [line] => 238
                                            [function] => query
                                            [class] => Zend_Db_Adapter_Abstract
                                            [type] => ->
                                            [args] => Array
                                                (
                                                    [0] => 
            SELECT 
                distinct
				f1.caminho AS foto1,
				f2.caminho AS foto2,
				p.cd_produto,
				p.nm_produto,
				p.referencia,
				p.estoque,
				p.vl_produto,
				p.ativo,
				c.nm_categoria,
				c.cd_categoria,
				s.cd_subcategoria,
				s.nm_subcategoria,
				s.nm_subcategoria,
				p.descricao,
				m.cd_marca,
				m.ds_titulo
					
			FROM produto p
			LEFT JOIN produto_foto AS f1 ON (
				f1.cd_produto = p.cd_produto
				AND f1.ativo = 1 
				AND f1.ordem = 1
			)
			LEFT JOIN produto_foto AS f2 ON (
				f2.cd_produto = p.cd_produto
				AND f2.ativo = 1 
				AND f2.ordem = 2
			)	
			join marca m on m.cd_marca = p.cd_marca
            left JOIN subcategoria s on p.cd_subcategoria = s.cd_subcategoria
			JOIN categoria c ON c.cd_categoria = p.cd_categoria  
			where 
				c.cd_categoria = 
				and p.ativo = 1
            order by
				
                c.nm_categoria,
                s.nm_subcategoria,
                nm_produto

			 limit 10 
		
                                                    [1] => Array
                                                        (
                                                        )

                                                )

                                        )

                                    [4] => Array
                                        (
                                            [file] => /home1/iriscos2024/public_html/library/Zend/Db/Adapter/Abstract.php
                                            [line] => 737
                                            [function] => query
                                            [class] => Zend_Db_Adapter_Pdo_Abstract
                                            [type] => ->
                                            [args] => Array
                                                (
                                                    [0] => 
            SELECT 
                distinct
				f1.caminho AS foto1,
				f2.caminho AS foto2,
				p.cd_produto,
				p.nm_produto,
				p.referencia,
				p.estoque,
				p.vl_produto,
				p.ativo,
				c.nm_categoria,
				c.cd_categoria,
				s.cd_subcategoria,
				s.nm_subcategoria,
				s.nm_subcategoria,
				p.descricao,
				m.cd_marca,
				m.ds_titulo
					
			FROM produto p
			LEFT JOIN produto_foto AS f1 ON (
				f1.cd_produto = p.cd_produto
				AND f1.ativo = 1 
				AND f1.ordem = 1
			)
			LEFT JOIN produto_foto AS f2 ON (
				f2.cd_produto = p.cd_produto
				AND f2.ativo = 1 
				AND f2.ordem = 2
			)	
			join marca m on m.cd_marca = p.cd_marca
            left JOIN subcategoria s on p.cd_subcategoria = s.cd_subcategoria
			JOIN categoria c ON c.cd_categoria = p.cd_categoria  
			where 
				c.cd_categoria = 
				and p.ativo = 1
            order by
				
                c.nm_categoria,
                s.nm_subcategoria,
                nm_produto

			 limit 10 
		
                                                    [1] => Array
                                                        (
                                                        )

                                                )

                                        )

                                    [5] => Array
                                        (
                                            [file] => /home1/iriscos2024/public_html/application/modules/admin/models/Business/Produto.php
                                            [line] => 348
                                            [function] => fetchAll
                                            [class] => Zend_Db_Adapter_Abstract
                                            [type] => ->
                                            [args] => Array
                                                (
                                                    [0] => 
            SELECT 
                distinct
				f1.caminho AS foto1,
				f2.caminho AS foto2,
				p.cd_produto,
				p.nm_produto,
				p.referencia,
				p.estoque,
				p.vl_produto,
				p.ativo,
				c.nm_categoria,
				c.cd_categoria,
				s.cd_subcategoria,
				s.nm_subcategoria,
				s.nm_subcategoria,
				p.descricao,
				m.cd_marca,
				m.ds_titulo
					
			FROM produto p
			LEFT JOIN produto_foto AS f1 ON (
				f1.cd_produto = p.cd_produto
				AND f1.ativo = 1 
				AND f1.ordem = 1
			)
			LEFT JOIN produto_foto AS f2 ON (
				f2.cd_produto = p.cd_produto
				AND f2.ativo = 1 
				AND f2.ordem = 2
			)	
			join marca m on m.cd_marca = p.cd_marca
            left JOIN subcategoria s on p.cd_subcategoria = s.cd_subcategoria
			JOIN categoria c ON c.cd_categoria = p.cd_categoria  
			where 
				c.cd_categoria = 
				and p.ativo = 1
            order by
				
                c.nm_categoria,
                s.nm_subcategoria,
                nm_produto

			 limit 10 
		
                                                )

                                        )

                                    [6] => Array
                                        (
                                            [file] => /home1/iriscos2024/public_html/application/views/scripts/produto/index.phtml
                                            [line] => 410
                                            [function] => produtosCategoria
                                            [class] => Admin_Model_Business_Produto
                                            [type] => ->
                                            [args] => Array
                                                (
                                                    [0] => 
                                                    [1] => 10
                                                )

                                        )

                                    [7] => Array
                                        (
                                            [file] => /home1/iriscos2024/public_html/library/Zend/View.php
                                            [line] => 157
                                            [args] => Array
                                                (
                                                    [0] => /home1/iriscos2024/public_html/application/views/scripts/produto/index.phtml
                                                )

                                            [function] => include
                                        )

                                    [8] => Array
                                        (
                                            [file] => /home1/iriscos2024/public_html/library/Zend/View/Abstract.php
                                            [line] => 888
                                            [function] => _run
                                            [class] => Zend_View
                                            [type] => ->
                                            [args] => Array
                                                (
                                                    [0] => /home1/iriscos2024/public_html/application/views/scripts/produto/index.phtml
                                                )

                                        )

                                    [9] => Array
                                        (
                                            [file] => /home1/iriscos2024/public_html/library/Zend/Controller/Action/Helper/ViewRenderer.php
                                            [line] => 912
                                            [function] => render
                                            [class] => Zend_View_Abstract
                                            [type] => ->
                                            [args] => Array
                                                (
                                                    [0] => 
                                                )

                                        )

                                    [10] => Array
                                        (
                                            [file] => /home1/iriscos2024/public_html/library/Zend/Controller/Action/Helper/ViewRenderer.php
                                            [line] => 933
                                            [function] => renderScript
                                            [class] => Zend_Controller_Action_Helper_ViewRenderer
                                            [type] => ->
                                            [args] => Array
                                                (
                                                    [0] => produto/index.phtml
                                                    [1] => 
                                                )

                                        )

                                    [11] => Array
                                        (
                                            [file] => /home1/iriscos2024/public_html/library/Zend/Controller/Action/Helper/ViewRenderer.php
                                            [line] => 972
                                            [function] => render
                                            [class] => Zend_Controller_Action_Helper_ViewRenderer
                                            [type] => ->
                                            [args] => Array
                                                (
                                                )

                                        )

                                    [12] => Array
                                        (
                                            [file] => /home1/iriscos2024/public_html/library/Zend/Controller/Action/HelperBroker.php
                                            [line] => 277
                                            [function] => postDispatch
                                            [class] => Zend_Controller_Action_Helper_ViewRenderer
                                            [type] => ->
                                            [args] => Array
                                                (
                                                )

                                        )

                                    [13] => Array
                                        (
                                            [file] => /home1/iriscos2024/public_html/library/Zend/Controller/Action.php
                                            [line] => 527
                                            [function] => notifyPostDispatch
                                            [class] => Zend_Controller_Action_HelperBroker
                                            [type] => ->
                                            [args] => Array
                                                (
                                                )

                                        )

                                    [14] => Array
                                        (
                                            [file] => /home1/iriscos2024/public_html/library/Zend/Controller/Dispatcher/Standard.php
                                            [line] => 308
                                            [function] => dispatch
                                            [class] => Zend_Controller_Action
                                            [type] => ->
                                            [args] => Array
                                                (
                                                    [0] => indexAction
                                                )

                                        )

                                    [15] => Array
                                        (
                                            [file] => /home1/iriscos2024/public_html/library/Zend/Controller/Front.php
                                            [line] => 954
                                            [function] => dispatch
                                            [class] => Zend_Controller_Dispatcher_Standard
                                            [type] => ->
                                            [args] => Array
                                                (
                                                    [0] => Zend_Controller_Request_Http Object
                                                        (
                                                            [_dispatched:protected] => 1
                                                            [_module:protected] => default
                                                            [_moduleKey:protected] => module
                                                            [_controller:protected] => error
                                                            [_controllerKey:protected] => controller
                                                            [_action:protected] => error
                                                            [_actionKey:protected] => action
                                                            [_params:protected] => Array
                                                                (
                                                                    [controller] => produto
                                                                    [action] => index
                                                                    [id] => cart.html
                                                                    [module] => default
                                                                    [error_handler] => ArrayObject Object
 *RECURSION*
                                                                )

                                                            [_paramSources:protected] => Array
                                                                (
                                                                    [0] => _GET
                                                                    [1] => _POST
                                                                )

                                                            [_requestUri:protected] => /produto/index/id/cart.html
                                                            [_baseUrl:protected] => 
                                                            [_basePath:protected] => 
                                                            [_pathInfo:protected] => /produto/index/id/cart.html
                                                            [_rawBody:protected] => 
                                                            [_aliases:protected] => Array
                                                                (
                                                                )

                                                        )

                                                    [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
                                                        )

                                                )

                                        )

                                    [16] => Array
                                        (
                                            [file] => /home1/iriscos2024/public_html/library/Zend/Application/Bootstrap/Bootstrap.php
                                            [line] => 105
                                            [function] => dispatch
                                            [class] => Zend_Controller_Front
                                            [type] => ->
                                            [args] => Array
                                                (
                                                )

                                        )

                                    [17] => Array
                                        (
                                            [file] => /home1/iriscos2024/public_html/library/Zend/Application.php
                                            [line] => 384
                                            [function] => run
                                            [class] => Zend_Application_Bootstrap_Bootstrap
                                            [type] => ->
                                            [args] => Array
                                                (
                                                )

                                        )

                                    [18] => Array
                                        (
                                            [file] => /home1/iriscos2024/public_html/public/index.php
                                            [line] => 58
                                            [function] => run
                                            [class] => Zend_Application
                                            [type] => ->
                                            [args] => Array
                                                (
                                                )

                                        )

                                )

                            [previous:Exception:private] => 
                            [errorInfo] => Array
                                (
                                    [0] => 42000
                                    [1] => 1064
                                    [2] => 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 p.ativo = 1
            order by
				
                c.nm_categoria,
  ' at line 36
                                )

                        )

                    [_previous:Zend_Exception:private] => 
                )

            [type] => EXCEPTION_OTHER
            [request] => Zend_Controller_Request_Http Object
                (
                    [_dispatched:protected] => 1
                    [_module:protected] => default
                    [_moduleKey:protected] => module
                    [_controller:protected] => produto
                    [_controllerKey:protected] => controller
                    [_action:protected] => index
                    [_actionKey:protected] => action
                    [_params:protected] => Array
                        (
                            [controller] => produto
                            [action] => index
                            [id] => cart.html
                            [module] => default
                        )

                    [_paramSources:protected] => Array
                        (
                            [0] => _GET
                            [1] => _POST
                        )

                    [_requestUri:protected] => /produto/index/id/cart.html
                    [_baseUrl:protected] => 
                    [_basePath:protected] => 
                    [_pathInfo:protected] => /produto/index/id/cart.html
                    [_rawBody:protected] => 
                    [_aliases:protected] => Array
                        (
                        )

                )

        )

)