Problema con los Filtros

Bug #417474 reported by mauroxan
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KumbiaPHP Framework
Status tracked in 1.0
1.0
Fix Committed
Undecided
Unassigned

Bug Description

Al momento de incorporar un filtro en el controller de esta forma - $menu = new Usuarios($this->post('usuarios', 'htmlspecialchars')); - y segun indica la documentación en: http://wiki.kumbiaphp.com/KumbiaPHP_Framework_Versi%C3%B3n_1.0_Spirit#Filtrando_datos_enviados_en_el_Request - me sale el siguiente error: Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Filter::get_array' was given in C:\AppServ\www\kumbiaphp\core\kumbia\controller.php on line 180

Related branches

Revision history for this message
Micky (micky-chattagena) wrote :

Esto no es un bug, eso seguramente te sucede porque no cargaste la libreria de los filtros, lo puedes hacer desde el boot.ini o dinamicamente con el Load::lib("filter");

PD. Pruebalo y me avisas.

Revision history for this message
mauroxan (mauroxan) wrote : Re: [Bug 417474] Re: Problema con los Filtros

Muchas gracias Micky y a todos por su ayuda, ciertamente me faltó activar
los filtros en el boot.ini, ya está resuelto.

El 23 de agosto de 2009 19:56, Micky <email address hidden> escribió:

> Esto no es un bug, eso seguramente te sucede porque no cargaste la
> libreria de los filtros, lo puedes hacer desde el boot.ini o
> dinamicamente con el Load::lib("filter");
>
> PD. Pruebalo y me avisas.
>
> --
> Problema con los Filtros
> https://bugs.launchpad.net/bugs/417474
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in KumbiaPHP Framework: Fix Committed
> Status in KumbiaPHP Framework 1.0 series: Fix Committed
>
> Bug description:
> Al momento de incorporar un filtro en el controller de esta forma - $menu
> = new Usuarios($this->post('usuarios', 'htmlspecialchars')); - y segun
> indica la documentación en:
> http://wiki.kumbiaphp.com/KumbiaPHP_Framework_Versi%C3%B3n_1.0_Spirit#Filtrando_datos_enviados_en_el_Request - me sale el siguiente error: Warning: call_user_func_array()
> [function.call-user-func-array]: First argument is expected to be a valid
> callback, 'Filter::get_array' was given in
> C:\AppServ\www\kumbiaphp\core\kumbia\controller.php on line 180
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.