Newerton:
samjf,
Posta para nos o resultado do var_dump(), quero ver se está retornando objeto ou array.
$posts = NumSequencial::model()->findBySql[…]
var_dump($posts);
Obs.:Cola o resultando dentro da tag [ code ]
Newerton, segue abaixo o resultado do var_dump da variavel posts. No final ele da um erro ao tentar inserir no textfield através do código:
echo CHtml::textField('valor_maximo', $posts->maximo);
Var_dump $posts:
object(NumSequencial)#59 (12) { ["_md":"CActiveRecord":private]=> object(CActiveRecordMetaData)#46 (5) { ["tableSchema"]=> object(CPgsqlTableSchema)#47 (9) { ["schemaName"]=> string(9) "sch_scspm" ["name"]=> string(17) "tb_num_sequencial" ["rawName"]=> string(31) ""sch_scspm"."tb_num_sequencial"" ["primaryKey"]=> string(17) "id_num_sequencial" ["sequenceName"]=> string(49) "sch_scspm.tb_num_sequencial_id_num_sequencial_seq" ["foreignKeys"]=> array(1) { ["id_tp_num_sequencial"]=> array(2) { [0]=> string(30) "sch_scspm.tb_tp_num_sequencial" [1]=> string(20) "id_tp_num_sequencial" } } ["columns"]=> array(<img src='http://www.yiiframework.com/forum/public/style_emoticons/default/cool.gif' class='bbc_emoticon' alt='8)' /> { ["id_num_sequencial"]=> object(CPgsqlColumnSchema)#51 (14) { ["name"]=> string(17) "id_num_sequencial" ["rawName"]=> string(19) ""id_num_sequencial"" ["allowNull"]=> bool(false) ["dbType"]=> string(7) "integer" ["type"]=> string(7) "integer" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(true) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(true) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["num_sequencial_inicial"]=> object(CPgsqlColumnSchema)#52 (14) { ["name"]=> string(22) "num_sequencial_inicial" ["rawName"]=> string(24) ""num_sequencial_inicial"" ["allowNull"]=> bool(false) ["dbType"]=> string(7) "integer" ["type"]=> string(7) "integer" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["num_sequencial_final"]=> object(CPgsqlColumnSchema)#53 (14) { ["name"]=> string(20) "num_sequencial_final" ["rawName"]=> string(22) ""num_sequencial_final"" ["allowNull"]=> bool(false) ["dbType"]=> string(7) "integer" ["type"]=> string(7) "integer" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["serie_num_sequencial"]=> object(CPgsqlColumnSchema)#54 (14) { ["name"]=> string(20) "serie_num_sequencial" ["rawName"]=> string(22) ""serie_num_sequencial"" ["allowNull"]=> bool(false) ["dbType"]=> string(20) "character varying(5)" ["type"]=> string(6) "string" ["defaultValue"]=> NULL ["size"]=> int(5) ["precision"]=> int(5) ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["num_ultimo_registro"]=> object(CPgsqlColumnSchema)#55 (14) { ["name"]=> string(19) "num_ultimo_registro" ["rawName"]=> string(21) ""num_ultimo_registro"" ["allowNull"]=> bool(true) ["dbType"]=> string(7) "integer" ["type"]=> string(7) "integer" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["dt_num_sequencial"]=> object(CPgsqlColumnSchema)#56 (14) { ["name"]=> string(17) "dt_num_sequencial" ["rawName"]=> string(19) ""dt_num_sequencial"" ["allowNull"]=> bool(false) ["dbType"]=> string(4) "date" ["type"]=> string(6) "string" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["hr_num_sequencial"]=> object(CPgsqlColumnSchema)#57 (14) { ["name"]=> string(17) "hr_num_sequencial" ["rawName"]=> string(19) ""hr_num_sequencial"" ["allowNull"]=> bool(false) ["dbType"]=> string(22) "time without time zone" ["type"]=> string(6) "string" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["id_tp_num_sequencial"]=> object(CPgsqlColumnSchema)#58 (14) { ["name"]=> string(20) "id_tp_num_sequencial" ["rawName"]=> string(22) ""id_tp_num_sequencial"" ["allowNull"]=> bool(false) ["dbType"]=> string(7) "integer" ["type"]=> string(7) "integer" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(true) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } } ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["columns"]=> array(<img src='http://www.yiiframework.com/forum/public/style_emoticons/default/cool.gif' class='bbc_emoticon' alt='8)' /> { ["id_num_sequencial"]=> object(CPgsqlColumnSchema)#51 (14) { ["name"]=> string(17) "id_num_sequencial" ["rawName"]=> string(19) ""id_num_sequencial"" ["allowNull"]=> bool(false) ["dbType"]=> string(7) "integer" ["type"]=> string(7) "integer" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(true) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(true) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["num_sequencial_inicial"]=> object(CPgsqlColumnSchema)#52 (14) { ["name"]=> string(22) "num_sequencial_inicial" ["rawName"]=> string(24) ""num_sequencial_inicial"" ["allowNull"]=> bool(false) ["dbType"]=> string(7) "integer" ["type"]=> string(7) "integer" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["num_sequencial_final"]=> object(CPgsqlColumnSchema)#53 (14) { ["name"]=> string(20) "num_sequencial_final" ["rawName"]=> string(22) ""num_sequencial_final"" ["allowNull"]=> bool(false) ["dbType"]=> string(7) "integer" ["type"]=> string(7) "integer" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["serie_num_sequencial"]=> object(CPgsqlColumnSchema)#54 (14) { ["name"]=> string(20) "serie_num_sequencial" ["rawName"]=> string(22) ""serie_num_sequencial"" ["allowNull"]=> bool(false) ["dbType"]=> string(20) "character varying(5)" ["type"]=> string(6) "string" ["defaultValue"]=> NULL ["size"]=> int(5) ["precision"]=> int(5) ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["num_ultimo_registro"]=> object(CPgsqlColumnSchema)#55 (14) { ["name"]=> string(19) "num_ultimo_registro" ["rawName"]=> string(21) ""num_ultimo_registro"" ["allowNull"]=> bool(true) ["dbType"]=> string(7) "integer" ["type"]=> string(7) "integer" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["dt_num_sequencial"]=> object(CPgsqlColumnSchema)#56 (14) { ["name"]=> string(17) "dt_num_sequencial" ["rawName"]=> string(19) ""dt_num_sequencial"" ["allowNull"]=> bool(false) ["dbType"]=> string(4) "date" ["type"]=> string(6) "string" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["hr_num_sequencial"]=> object(CPgsqlColumnSchema)#57 (14) { ["name"]=> string(17) "hr_num_sequencial" ["rawName"]=> string(19) ""hr_num_sequencial"" ["allowNull"]=> bool(false) ["dbType"]=> string(22) "time without time zone" ["type"]=> string(6) "string" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=>
object(NumSequencial)#59 (12) { ["_md":"CActiveRecord":private]=> object(CActiveRecordMetaData)#46 (5) { ["tableSchema"]=> object(CPgsqlTableSchema)#47 (9) { ["schemaName"]=> string(9) "sch_scspm" ["name"]=> string(17) "tb_num_sequencial" ["rawName"]=> string(31) ""sch_scspm"."tb_num_sequencial"" ["primaryKey"]=> string(17) "id_num_sequencial" ["sequenceName"]=> string(49) "sch_scspm.tb_num_sequencial_id_num_sequencial_seq" ["foreignKeys"]=> array(1) { ["id_tp_num_sequencial"]=> array(2) { [0]=> string(30) "sch_scspm.tb_tp_num_sequencial" [1]=> string(20) "id_tp_num_sequencial" } } ["columns"]=> array(<img src='http://www.yiiframework.com/forum/public/style_emoticons/default/cool.gif' class='bbc_emoticon' alt='8)' /> { ["id_num_sequencial"]=> object(CPgsqlColumnSchema)#51 (14) { ["name"]=> string(17) "id_num_sequencial" ["rawName"]=> string(19) ""id_num_sequencial"" ["allowNull"]=> bool(false) ["dbType"]=> string(7) "integer" ["type"]=> string(7) "integer" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(true) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(true) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["num_sequencial_inicial"]=> object(CPgsqlColumnSchema)#52 (14) { ["name"]=> string(22) "num_sequencial_inicial" ["rawName"]=> string(24) ""num_sequencial_inicial"" ["allowNull"]=> bool(false) ["dbType"]=> string(7) "integer" ["type"]=> string(7) "integer" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["num_sequencial_final"]=> object(CPgsqlColumnSchema)#53 (14) { ["name"]=> string(20) "num_sequencial_final" ["rawName"]=> string(22) ""num_sequencial_final"" ["allowNull"]=> bool(false) ["dbType"]=> string(7) "integer" ["type"]=> string(7) "integer" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["serie_num_sequencial"]=> object(CPgsqlColumnSchema)#54 (14) { ["name"]=> string(20) "serie_num_sequencial" ["rawName"]=> string(22) ""serie_num_sequencial"" ["allowNull"]=> bool(false) ["dbType"]=> string(20) "character varying(5)" ["type"]=> string(6) "string" ["defaultValue"]=> NULL ["size"]=> int(5) ["precision"]=> int(5) ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["num_ultimo_registro"]=> object(CPgsqlColumnSchema)#55 (14) { ["name"]=> string(19) "num_ultimo_registro" ["rawName"]=> string(21) ""num_ultimo_registro"" ["allowNull"]=> bool(true) ["dbType"]=> string(7) "integer" ["type"]=> string(7) "integer" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["dt_num_sequencial"]=> object(CPgsqlColumnSchema)#56 (14) { ["name"]=> string(17) "dt_num_sequencial" ["rawName"]=> string(19) ""dt_num_sequencial"" ["allowNull"]=> bool(false) ["dbType"]=> string(4) "date" ["type"]=> string(6) "string" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["hr_num_sequencial"]=> object(CPgsqlColumnSchema)#57 (14) { ["name"]=> string(17) "hr_num_sequencial" ["rawName"]=> string(19) ""hr_num_sequencial"" ["allowNull"]=> bool(false) ["dbType"]=> string(22) "time without time zone" ["type"]=> string(6) "string" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["id_tp_num_sequencial"]=> object(CPgsqlColumnSchema)#58 (14) { ["name"]=> string(20) "id_tp_num_sequencial" ["rawName"]=> string(22) ""id_tp_num_sequencial"" ["allowNull"]=> bool(false) ["dbType"]=> string(7) "integer" ["type"]=> string(7) "integer" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(true) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } } ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["columns"]=> array(<img src='http://www.yiiframework.com/forum/public/style_emoticons/default/cool.gif' class='bbc_emoticon' alt='8)' /> { ["id_num_sequencial"]=> object(CPgsqlColumnSchema)#51 (14) { ["name"]=> string(17) "id_num_sequencial" ["rawName"]=> string(19) ""id_num_sequencial"" ["allowNull"]=> bool(false) ["dbType"]=> string(7) "integer" ["type"]=> string(7) "integer" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(true) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(true) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["num_sequencial_inicial"]=> object(CPgsqlColumnSchema)#52 (14) { ["name"]=> string(22) "num_sequencial_inicial" ["rawName"]=> string(24) ""num_sequencial_inicial"" ["allowNull"]=> bool(false) ["dbType"]=> string(7) "integer" ["type"]=> string(7) "integer" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["num_sequencial_final"]=> object(CPgsqlColumnSchema)#53 (14) { ["name"]=> string(20) "num_sequencial_final" ["rawName"]=> string(22) ""num_sequencial_final"" ["allowNull"]=> bool(false) ["dbType"]=> string(7) "integer" ["type"]=> string(7) "integer" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["serie_num_sequencial"]=> object(CPgsqlColumnSchema)#54 (14) { ["name"]=> string(20) "serie_num_sequencial" ["rawName"]=> string(22) ""serie_num_sequencial"" ["allowNull"]=> bool(false) ["dbType"]=> string(20) "character varying(5)" ["type"]=> string(6) "string" ["defaultValue"]=> NULL ["size"]=> int(5) ["precision"]=> int(5) ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["num_ultimo_registro"]=> object(CPgsqlColumnSchema)#55 (14) { ["name"]=> string(19) "num_ultimo_registro" ["rawName"]=> string(21) ""num_ultimo_registro"" ["allowNull"]=> bool(true) ["dbType"]=> string(7) "integer" ["type"]=> string(7) "integer" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["dt_num_sequencial"]=> object(CPgsqlColumnSchema)#56 (14) { ["name"]=> string(17) "dt_num_sequencial" ["rawName"]=> string(19) ""dt_num_sequencial"" ["allowNull"]=> bool(false) ["dbType"]=> string(4) "date" ["type"]=> string(6) "string" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=> bool(false) ["autoIncrement"]=> bool(false) ["_e":"CComponent":private]=> NULL ["_m":"CComponent":private]=> NULL } ["hr_num_sequencial"]=> object(CPgsqlColumnSchema)#57 (14) { ["name"]=> string(17) "hr_num_sequencial" ["rawName"]=> string(19) ""hr_num_sequencial"" ["allowNull"]=> bool(false) ["dbType"]=> string(22) "time without time zone" ["type"]=> string(6) "string" ["defaultValue"]=> NULL ["size"]=> NULL ["precision"]=> NULL ["scale"]=> NULL ["isPrimaryKey"]=> bool(false) ["isForeignKey"]=>
CException
A propriedade "NumSequencial.maximo" não está definida. (/var/framework/base/CComponent.php:131)
#0 /var/framework/db/ar/CActiveRecord.php(144): CComponent->__get(‘maximo’)
#1 /var/www/scspm-yii/protected/controllers/NumSequencialController.php(193): CActiveRecord->__get(‘maximo’)
#2 /var/framework/web/actions/CInlineAction.php(50): NumSequencialController->actionbuscaultimo()
#3 /var/framework/web/CController.php(309): CInlineAction->runWithParams(Array)
#4 /var/framework/web/filters/CFilterChain.php(134): CController->runAction(Object(CInlineAction))
#5 /var/framework/web/filters/CFilter.php(41): CFilterChain->run()
#6 /var/framework/web/CController.php(1146): CFilter->filter(Object(CFilterChain))
#7 /var/framework/web/filters/CInlineFilter.php(59): CController->filterAccessControl(Object(CFilterChain))
#8 /var/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))
#9 /var/framework/web/CController.php(292): CFilterChain->run()
#10 /var/framework/web/CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
#11 /var/framework/web/CWebApplication.php(276): CController->run(‘buscaultimo’)
#12 /var/framework/web/CWebApplication.php(135): CWebApplication->runController(‘NumSequencial/b…’)
#13 /var/framework/base/CApplication.php(162): CWebApplication->processRequest()
#14 /var/www/scspm-yii/index.php(13): CApplication->run()
#15 {main}
CException
A propriedade "NumSequencial.maximo" não está definida. (/var/framework/base/CComponent.php:131)
#0 /var/framework/db/ar/CActiveRecord.php(144): CComponent->__get(‘maximo’)
#1 /var/www/scspm-yii/protected/controllers/NumSequencialController.php(193): CActiveRecord->__get(‘maximo’)
#2 /var/framework/web/actions/CInlineAction.php(50): NumSequencialController->actionbuscaultimo()
#3 /var/framework/web/CController.php(309): CInlineAction->runWithParams(Array)
#4 /var/framework/web/filters/CFilterChain.php(134): CController->runAction(Object(CInlineAction))
#5 /var/framework/web/filters/CFilter.php(41): CFilterChain->run()
#6 /var/framework/web/CController.php(1146): CFilter->filter(Object(CFilterChain))
#7 /var/framework/web/filters/CInlineFilter.php(59): CController->filterAccessControl(Object(CFilterChain))
#8 /var/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))
#9 /var/framework/web/CController.php(292): CFilterChain->run()
#10 /var/framework/web/CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
#11 /var/framework/web/CWebApplication.php(276): CController->run(‘buscaultimo’)
#12 /var/framework/web/CWebApplication.php(135): CWebApplication->runController(‘NumSequencial/b…’)
#13 /var/framework/base/CApplication.php(162): CWebApplication->processRequest()
#14 /var/www/scspm-yii/index.php(13): CApplication->run()
#15 {main}