Welcome, Guest
Username: Password: Remember me

TOPIC: [CLOSED] Search only working in backend ....help

[CLOSED] Search only working in backend ....help 19 May 2012 09:51 #2379

Hi, Has anyone got any suggestions as to how I can get 'search' working on my component?

When I look in the backend (administration) I can search in the 'collection' on my component and it works correctly :)
When I look in the frontend at the 'collection' the search does NOT work. :(

I'm sure it is something to do with the server that the site is on but would very much appreciate if someone could point me in the right direction and make a suggestion?

kind regards,
Terry.
The administrator has disabled public write access.

Re: Search only working in backend ....help 13 Jun 2012 16:10 #2555

  • dares
  • dares's Avatar
  • Offline
  • Junior Member
  • Posts: 37
  • Thank you received: 4
  • Karma: 2
Please check your filters on frontend collection layout.
73,
Miro

Cook saves your time and make your life easier.
The administrator has disabled public write access.

Re: Search only working in backend ....help 13 Jun 2012 16:15 #2557

Hi pa4rm, thanks for your reply. My problem is on the Cook in testing the search works fine, on my MAMP setup locally on my machine, the search works fine.

The problem is when I install the component on my production server .... that's when it's not working correctly.
This tells me it must be something to do with the production server but I'm at a loss as to what it can be.

If anyone can think of anything it could be I'd be very grateful.
thanks,
Terry.
The administrator has disabled public write access.

Re: Search only working in backend ....help 13 Jun 2012 16:29 #2558

  • dares
  • dares's Avatar
  • Offline
  • Junior Member
  • Posts: 37
  • Thank you received: 4
  • Karma: 2
It is indeed very strange. May I assume you use same Joomla version and template on your test machine and production server? Please check your PHP and apache versions on your production server and check if all necessary modules and PHP options are supported.
73,
Miro

Cook saves your time and make your life easier.
The administrator has disabled public write access.

Re: Search only working in backend ....help 13 Jun 2012 16:32 #2559

I'm using the same version of Joomla and template with the test machine and prod server but I'll check out the PHP and apache versions as I haven't done this yet, thanks for your reply. T.
The administrator has disabled public write access.

Re: Search only working in backend ....help 12 Jul 2012 07:57 #2782

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
Do you still have the issue ?

Actually, does the query returning items ?

IF NOT :
It should be a problem on your SQL server with the function 'LIKE'

To be sure of that, put your Joomla in debug mode and try to find the query relative to the items loading. It should include the search filter inside.

Try this query in your phpMyAdmin and see the issue.


EDIT :
It is an old topic, so if anybody has this problem, please feed here.
If not, I close it.
Coding is now a piece of cake
Last Edit: 12 Jul 2012 07:58 by admin.
The administrator has disabled public write access.
Time to create page: 0.096 seconds

Get Started