Seja Bem Vindo!
Efetue seu Login ou Cadastre-se aqui

Olá Visitante !

Encontramos problemas administrativos durante a navegação no site nossa equipe técnica já foi avisada e está tomando as devidas medidas corretivas para a solução do problema, pedimos desculpa pelos transtornos.

array(8) { ["code"]=> int(500) ["type"]=> string(12) "CDbException" ["errorCode"]=> int(42000) ["message"]=> string(254) "CDbCommand falhou ao executar o comando SQL: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1" ["file"]=> string(65) "/home1/brindesredosul/public_html/yii/framework/db/CDbCommand.php" ["line"]=> int(543) ["trace"]=> string(2321) "#0 /home1/brindesredosul/public_html/yii/framework/db/CDbCommand.php(415): CDbCommand->queryInternal('fetch', Array, Array) #1 /home1/brindesredosul/public_html/yii/framework/db/ar/CActiveRecord.php(1351): CDbCommand->queryRow() #2 /home1/brindesredosul/public_html/yii/framework/db/ar/CActiveRecord.php(1456): CActiveRecord->query(Object(CDbCriteria)) #3 /home1/brindesredosul/public_html/protected/views/site/detalhes.php(4): CActiveRecord->find('codigoCategoria...') #4 /home1/brindesredosul/public_html/yii/framework/web/CBaseController.php(126): require('/home1/brindesr...') #5 /home1/brindesredosul/public_html/yii/framework/web/CBaseController.php(95): CBaseController->renderInternal('/home1/brindesr...', Array, true) #6 /home1/brindesredosul/public_html/yii/framework/web/CController.php(869): CBaseController->renderFile('/home1/brindesr...', Array, true) #7 /home1/brindesredosul/public_html/yii/framework/web/CController.php(782): CController->renderPartial('detalhes', Array, true) #8 /home1/brindesredosul/public_html/protected/controllers/SiteController.php(128): CController->render('detalhes', Array) #9 [internal function]: SiteController->actionDetalhes('219', '') #10 /home1/brindesredosul/public_html/yii/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(Object(SiteController), Array) #11 /home1/brindesredosul/public_html/yii/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(Object(SiteController), Object(ReflectionMethod), Array) #12 /home1/brindesredosul/public_html/yii/framework/web/CController.php(308): CInlineAction->runWithParams(Array) #13 /home1/brindesredosul/public_html/yii/framework/web/CController.php(286): CController->runAction(Object(CInlineAction)) #14 /home1/brindesredosul/public_html/yii/framework/web/CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array) #15 /home1/brindesredosul/public_html/yii/framework/web/CWebApplication.php(282): CController->run('detalhes') #16 /home1/brindesredosul/public_html/yii/framework/web/CWebApplication.php(141): CWebApplication->runController('site/detalhes') #17 /home1/brindesredosul/public_html/yii/framework/base/CApplication.php(180): CWebApplication->processRequest() #18 /home1/brindesredosul/public_html/index.php(15): CApplication->run() #19 {main}" ["traces"]=> array(19) { [0]=> array(6) { ["file"]=> string(65) "/home1/brindesredosul/public_html/yii/framework/db/CDbCommand.php" ["line"]=> int(415) ["function"]=> string(13) "queryInternal" ["class"]=> string(10) "CDbCommand" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(5) "fetch" [1]=> array(1) { [0]=> int(2) } [2]=> array(0) { } } } [1]=> array(6) { ["file"]=> string(71) "/home1/brindesredosul/public_html/yii/framework/db/ar/CActiveRecord.php" ["line"]=> int(1351) ["function"]=> string(8) "queryRow" ["class"]=> string(10) "CDbCommand" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [2]=> array(6) { ["file"]=> string(71) "/home1/brindesredosul/public_html/yii/framework/db/ar/CActiveRecord.php" ["line"]=> int(1456) ["function"]=> string(5) "query" ["class"]=> string(13) "CActiveRecord" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> object(CDbCriteria)#247 (17) { ["select"]=> string(1) "*" ["distinct"]=> bool(false) ["condition"]=> string(16) "codigoCategoria=" ["params"]=> array(0) { } ["limit"]=> int(1) ["offset"]=> int(-1) ["order"]=> string(0) "" ["group"]=> string(0) "" ["join"]=> string(0) "" ["having"]=> string(0) "" ["with"]=> NULL ["alias"]=> NULL ["together"]=> NULL ["index"]=> NULL ["scopes"]=> NULL ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } } } [3]=> array(6) { ["file"]=> string(67) "/home1/brindesredosul/public_html/protected/views/site/detalhes.php" ["line"]=> int(4) ["function"]=> string(4) "find" ["class"]=> string(13) "CActiveRecord" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(16) "codigoCategoria=" } } [4]=> array(4) { ["file"]=> string(71) "/home1/brindesredosul/public_html/yii/framework/web/CBaseController.php" ["line"]=> int(126) ["args"]=> array(1) { [0]=> string(67) "/home1/brindesredosul/public_html/protected/views/site/detalhes.php" } ["function"]=> string(7) "require" } [5]=> array(6) { ["file"]=> string(71) "/home1/brindesredosul/public_html/yii/framework/web/CBaseController.php" ["line"]=> int(95) ["function"]=> string(14) "renderInternal" ["class"]=> string(15) "CBaseController" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(67) "/home1/brindesredosul/public_html/protected/views/site/detalhes.php" [1]=> array(2) { ["model"]=> object(Orcamento)#24 (11) { ["_new":"CActiveRecord":private]=> bool(true) ["_attributes":"CActiveRecord":private]=> array(1) { ["observacoesProduto"]=> string(24) "Observações do Produto" } ["_related":"CActiveRecord":private]=> array(0) { } ["_c":"CActiveRecord":private]=> NULL ["_pk":"CActiveRecord":private]=> NULL ["_alias":"CActiveRecord":private]=> string(1) "t" ["_errors":"CModel":private]=> array(0) { } ["_validators":"CModel":private]=> NULL ["_scenario":"CModel":private]=> string(6) "insert" ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["id"]=> string(3) "219" } [2]=> bool(true) } } [6]=> array(6) { ["file"]=> string(67) "/home1/brindesredosul/public_html/yii/framework/web/CController.php" ["line"]=> int(869) ["function"]=> string(10) "renderFile" ["class"]=> string(15) "CBaseController" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(67) "/home1/brindesredosul/public_html/protected/views/site/detalhes.php" [1]=> array(2) { ["model"]=> object(Orcamento)#24 (11) { ["_new":"CActiveRecord":private]=> bool(true) ["_attributes":"CActiveRecord":private]=> array(1) { ["observacoesProduto"]=> string(24) "Observações do Produto" } ["_related":"CActiveRecord":private]=> array(0) { } ["_c":"CActiveRecord":private]=> NULL ["_pk":"CActiveRecord":private]=> NULL ["_alias":"CActiveRecord":private]=> string(1) "t" ["_errors":"CModel":private]=> array(0) { } ["_validators":"CModel":private]=> NULL ["_scenario":"CModel":private]=> string(6) "insert" ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["id"]=> string(3) "219" } [2]=> bool(true) } } [7]=> array(6) { ["file"]=> string(67) "/home1/brindesredosul/public_html/yii/framework/web/CController.php" ["line"]=> int(782) ["function"]=> string(13) "renderPartial" ["class"]=> string(11) "CController" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(8) "detalhes" [1]=> array(2) { ["model"]=> object(Orcamento)#24 (11) { ["_new":"CActiveRecord":private]=> bool(true) ["_attributes":"CActiveRecord":private]=> array(1) { ["observacoesProduto"]=> string(24) "Observações do Produto" } ["_related":"CActiveRecord":private]=> array(0) { } ["_c":"CActiveRecord":private]=> NULL ["_pk":"CActiveRecord":private]=> NULL ["_alias":"CActiveRecord":private]=> string(1) "t" ["_errors":"CModel":private]=> array(0) { } ["_validators":"CModel":private]=> NULL ["_scenario":"CModel":private]=> string(6) "insert" ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["id"]=> string(3) "219" } [2]=> bool(true) } } [8]=> array(6) { ["file"]=> string(74) "/home1/brindesredosul/public_html/protected/controllers/SiteController.php" ["line"]=> int(128) ["function"]=> string(6) "render" ["class"]=> string(11) "CController" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(8) "detalhes" [1]=> array(2) { ["model"]=> object(Orcamento)#24 (11) { ["_new":"CActiveRecord":private]=> bool(true) ["_attributes":"CActiveRecord":private]=> array(1) { ["observacoesProduto"]=> string(24) "Observações do Produto" } ["_related":"CActiveRecord":private]=> array(0) { } ["_c":"CActiveRecord":private]=> NULL ["_pk":"CActiveRecord":private]=> NULL ["_alias":"CActiveRecord":private]=> string(1) "t" ["_errors":"CModel":private]=> array(0) { } ["_validators":"CModel":private]=> NULL ["_scenario":"CModel":private]=> string(6) "insert" ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["id"]=> string(3) "219" } } } [9]=> array(6) { ["function"]=> string(14) "actionDetalhes" ["class"]=> string(14) "SiteController" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(3) "219" [1]=> string(0) "" } ["file"]=> string(7) "unknown" ["line"]=> int(0) } [10]=> array(6) { ["file"]=> string(71) "/home1/brindesredosul/public_html/yii/framework/web/actions/CAction.php" ["line"]=> int(108) ["function"]=> string(10) "invokeArgs" ["class"]=> string(16) "ReflectionMethod" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> object(SiteController)#15 (16) { ["layout"]=> string(11) "sitedefault" ["menu"]=> array(0) { } ["breadcrumbs"]=> array(0) { } ["title"]=> string(14) "Titulo da Tela" ["defaultAction"]=> string(5) "index" ["_id":"CController":private]=> string(4) "site" ["_action":"CController":private]=> object(CInlineAction)#16 (4) { ["_id":"CAction":private]=> string(8) "detalhes" ["_controller":"CAction":private]=> *RECURSION* ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["_pageTitle":"CController":private]=> NULL ["_cachingStack":"CController":private]=> NULL ["_clips":"CController":private]=> NULL ["_dynamicOutput":"CController":private]=> NULL ["_pageStates":"CController":private]=> NULL ["_module":"CController":private]=> NULL ["_widgetStack":"CBaseController":private]=> array(0) { } ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } [1]=> array(2) { [0]=> string(3) "219" [1]=> string(0) "" } } } [11]=> array(6) { ["file"]=> string(77) "/home1/brindesredosul/public_html/yii/framework/web/actions/CInlineAction.php" ["line"]=> int(47) ["function"]=> string(21) "runWithParamsInternal" ["class"]=> string(7) "CAction" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> object(SiteController)#15 (16) { ["layout"]=> string(11) "sitedefault" ["menu"]=> array(0) { } ["breadcrumbs"]=> array(0) { } ["title"]=> string(14) "Titulo da Tela" ["defaultAction"]=> string(5) "index" ["_id":"CController":private]=> string(4) "site" ["_action":"CController":private]=> object(CInlineAction)#16 (4) { ["_id":"CAction":private]=> string(8) "detalhes" ["_controller":"CAction":private]=> *RECURSION* ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["_pageTitle":"CController":private]=> NULL ["_cachingStack":"CController":private]=> NULL ["_clips":"CController":private]=> NULL ["_dynamicOutput":"CController":private]=> NULL ["_pageStates":"CController":private]=> NULL ["_module":"CController":private]=> NULL ["_widgetStack":"CBaseController":private]=> array(0) { } ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } [1]=> object(ReflectionMethod)#17 (2) { ["name"]=> string(14) "actionDetalhes" ["class"]=> string(14) "SiteController" } [2]=> array(2) { ["id"]=> string(3) "219" ["produto"]=> string(24) "RD SG39001 -Guarda Chuva" } } } [12]=> array(6) { ["file"]=> string(67) "/home1/brindesredosul/public_html/yii/framework/web/CController.php" ["line"]=> int(308) ["function"]=> string(13) "runWithParams" ["class"]=> string(13) "CInlineAction" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(2) { ["id"]=> string(3) "219" ["produto"]=> string(24) "RD SG39001 -Guarda Chuva" } } } [13]=> array(6) { ["file"]=> string(67) "/home1/brindesredosul/public_html/yii/framework/web/CController.php" ["line"]=> int(286) ["function"]=> string(9) "runAction" ["class"]=> string(11) "CController" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> object(CInlineAction)#16 (4) { ["_id":"CAction":private]=> string(8) "detalhes" ["_controller":"CAction":private]=> object(SiteController)#15 (16) { ["layout"]=> string(11) "sitedefault" ["menu"]=> array(0) { } ["breadcrumbs"]=> array(0) { } ["title"]=> string(14) "Titulo da Tela" ["defaultAction"]=> string(5) "index" ["_id":"CController":private]=> string(4) "site" ["_action":"CController":private]=> *RECURSION* ["_pageTitle":"CController":private]=> NULL ["_cachingStack":"CController":private]=> NULL ["_clips":"CController":private]=> NULL ["_dynamicOutput":"CController":private]=> NULL ["_pageStates":"CController":private]=> NULL ["_module":"CController":private]=> NULL ["_widgetStack":"CBaseController":private]=> array(0) { } ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } } } [14]=> array(6) { ["file"]=> string(67) "/home1/brindesredosul/public_html/yii/framework/web/CController.php" ["line"]=> int(265) ["function"]=> string(20) "runActionWithFilters" ["class"]=> string(11) "CController" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> object(CInlineAction)#16 (4) { ["_id":"CAction":private]=> string(8) "detalhes" ["_controller":"CAction":private]=> object(SiteController)#15 (16) { ["layout"]=> string(11) "sitedefault" ["menu"]=> array(0) { } ["breadcrumbs"]=> array(0) { } ["title"]=> string(14) "Titulo da Tela" ["defaultAction"]=> string(5) "index" ["_id":"CController":private]=> string(4) "site" ["_action":"CController":private]=> *RECURSION* ["_pageTitle":"CController":private]=> NULL ["_cachingStack":"CController":private]=> NULL ["_clips":"CController":private]=> NULL ["_dynamicOutput":"CController":private]=> NULL ["_pageStates":"CController":private]=> NULL ["_module":"CController":private]=> NULL ["_widgetStack":"CBaseController":private]=> array(0) { } ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } [1]=> array(0) { } } } [15]=> array(6) { ["file"]=> string(71) "/home1/brindesredosul/public_html/yii/framework/web/CWebApplication.php" ["line"]=> int(282) ["function"]=> string(3) "run" ["class"]=> string(11) "CController" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(8) "detalhes" } } [16]=> array(6) { ["file"]=> string(71) "/home1/brindesredosul/public_html/yii/framework/web/CWebApplication.php" ["line"]=> int(141) ["function"]=> string(13) "runController" ["class"]=> string(15) "CWebApplication" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(13) "site/detalhes" } } [17]=> array(6) { ["file"]=> string(69) "/home1/brindesredosul/public_html/yii/framework/base/CApplication.php" ["line"]=> int(180) ["function"]=> string(14) "processRequest" ["class"]=> string(15) "CWebApplication" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [18]=> array(6) { ["file"]=> string(43) "/home1/brindesredosul/public_html/index.php" ["line"]=> int(15) ["function"]=> string(3) "run" ["class"]=> string(12) "CApplication" ["type"]=> string(2) "->" ["args"]=> array(0) { } } } }