I clicked on the logs and realised the error is in this line:
execute : SELECT COUNT(*) AS num_results FROM myTable m WHERE
m.user_id = ? - ()

displayed error is:
SQLSTATE[HY093]: Invalid parameter number: parameter was not defined

any suggestion?
I want to show an edit box instead of drop-down menu in a backend
module's filter.


On Jun 26, 1:11 pm, Martin Henits <martin.hen...@gmail.com> wrote:
> Thanks, I changed the filter according to your suggestion and as it
> was desired I can see an edit box instead of a drop-down menu. But
> whenever I want to search for something (i.e. whenever I click on the
> filter button), even with an empty form for search, I see this error:
> "SQLSTATE[HY093]: Invalid parameter number: parameter was not defined"
>
> On Jun 23, 7:30 am, slau <susan....@gmx.de> wrote:
>
> > Hi,
>
> > for 1) 
> > seehttp://www.symfony-project.org/jobeet/1_4/Doctrine/en/12#chapter_12_t...
>
> > you can copy out of your cache folder
> > /cache/APP/ENV/modules/MODULENAME/templates/_list_actions.php
> > to your module template folder and then remove the link
>
> > for 2) then just change the filter in the corresponding class by
> > replacing the widget
> > $this->widgetSchema['user_id'] = new
> > sfWidgetFormFilterInput(array('with_empty' => false))
>
> > Hope that helps
> > Susan

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to