Postponed (maintainer needs more info)
Project:
SQL Search (Trip Search)
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2005 at 18:58 UTC
Updated:
12 Sep 2007 at 09:05 UTC
Jump to comment: Most recent file
Comments
Comment #1
jo1ene commentedI am still haveing this problem after a clean install of everything. The search by category section appears twice on the search page even if I unselect "Categories" in the advanced search settings. Once in the "Find content by category" area and once in the "Filter by date and user" area. http://bride.advancedwebdesign.com/?q=trip_search/advanced BTW, nothing is selected in the advanced search page settings. I also get this error in the Drupal logs.
Type php
Date Tuesday, August 23, 2005 - 9:09pm
User jo1ene
Location /?q=trip_search/advanced
Message Invalid argument supplied for foreach() in /home/bride/www/includes/theme.inc on line 639.
Severity error
Hostname 205.231.148.157
Comment #2
nedjoIssue now fixed.
Comment #3
Stomp Dancer commentedHow is this fixed? I've downloaded and updated with the latest trip search and it is still doing the same thing. What else do I need to do?
Comment #4
Stomp Dancer commentedI changed this to "active".
Comment #5
robert castelo commentedHere's a patch that fixes this issue.
Trip Search is great by the way - many thanks.
Comment #6
Stomp Dancer commentedI added this patch. The "Filter by Date and User" section still shows up on the advanced search page even when it isn't selected in the admin section.
Comment #7
nedjoThanks for the patch Robert. I've tweaked it a bit before applying and I think it should be working now.
(And apologies for the previous setting to fixed--I was confusing this with a different issue.)
Comment #8
Stomp Dancer commentedNow I get a fatal error when I enable this module.
Comment #9
nedjoFor the CVS version, you now need the latest Drupal CVS HEAD. The fatal error presumably arises from not having a current Drupal version, with its new functions.
In other words, this will be fixed for the 4.7 module release. I don't really have time to be actively patching the 4.6 branch for relatively small bug fixes (i.e., doesn't directly affect users), but would welcome anyone wanting to submit or apply a tested 4.6 patch.
Comment #10
Stomp Dancer commentedI'll give someone a dollar if they can help me out on this...please :).
Comment #11
joel_guesclin commentedUsing the latest 4.6.0 download (don't want to use CVS on a live site!), there are two minor changes to the code that may help resolve the problem:
1) To prevent the vocabularies appearing twice on the page, you need to correct the variable name: it's not the same where it is set as where it is used. So in "trip_search_form", you need to change this line:
so that it reads
2) Then, you need to stop the fields for the "all words" or "exact phrase" etc from appearing twice. In "trip_search_form", I changed this:
to look like this:
Hope this helps!
Comment #12
jo1ene commentedThose edits work well for me. Thank you.
Comment #13
amanshakya commentedI am using the latest Drupal version 4.6.3. I applied the patch.
But I get the following messages
Looks like a unified context diff.
Hunk #1 failed at line 384.
Hunk #2 failed at line 406.
Hunk #3 failed at line 427.
3 out of 3 hunks failed: saving rejects to trip_search.module.rej
I also changed the lines of code as mentioned, after that. But I still have the same problem. I wonder why. I would be highly thankful if someone could help.
Comment #14
jo1ene commentedThis is a problem with patch application, not with the module or patch code. There are only two edits, which are listed in message #11. Try copying and pasting them manually.
Comment #15
(not verified) commentedComment #16
ljet commentedI still need to use version 4.6 although it was fixed in version 4.7.
I want to see "Filter by date and user" option in advanced search form.
Where can i fix it?
I would be very thankful if anyone of you could give me helping hand.
Thanks in advance.