[Cartoweb-users] Filter Error

Alexandre Saunier alexandre.saunier at camptocamp.com
Wed Oct 4 10:34:54 EDT 2006


Try
public function renderForm(Smarty $template) {
instead of
public function renderForm($smarty) {

Adriano Hantequeste Gomes wrote:
> Hi All,
> 
> Very Thanks for atention of all.
> 
> 
> When i try access the project on my web browser retur this error:
> 
> 
> 
> Fatal error: Declaration of ClientFilters::renderForm() must be
> compatible with that of GuiProvider::renderForm() in
> C:\wamp\www\cartoweb3\plugins\filtro\client\ClientFiltro.php on line 3

> 
>    public function renderForm($smarty) {
> 
>         echo '<!-- Inicio do Filtro -->';
>         echo '<div id="Layer1" style="position:absolute; left:358px;
> top:66px; width:511px; height:27px; z-index:1">';
>         echo '  <form action="geo.php" method="post" name="filtra">';
>         echo '  <table border="0" cellspacing="0" cellpadding="0">';
>         echo '    <tr>';


More information about the Cartoweb-users mailing list