Closed (fixed)
Project:
Open Atrium
Version:
7.x-2.13
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Nov 2013 at 12:20 UTC
Updated:
6 Feb 2014 at 20:18 UTC
Jump to comment: Most recent
Comments
Comment #1
j_cimb_barker commentedI have also updated $base_url in settings.php.
Comment #2
mpotter commentedConfirmed the problem. I'll need to look into this. Last time I installed locally with a subdirectory I thought Search worked fine. We actually get the search functionality from Panopoly and don't do anything unusual with it in OA, so not sure without more investigation what might be wrong.
Comment #3
j_cimb_barker commentedI have found this issue in the Panopoly Issue tracker : https://drupal.org/node/2050491 . It seems similar...?
Comment #4
j_cimb_barker commentedFurther analysis shows that the issue only occurs when using https rather than http. When I search my Atrium2 using http search works correctly. If use https then I have the problem.
Comment #5
j_cimb_barker commentedI have fixed the issue for me by changing the following in profiles/openatrium/modules/contrib/oa_core/modules/oa_search/js/oa_search.js :
to
Not sure if this is considered the way to go... :)
Comment #6
mpotter commentedYep, that's the correct fix. Committed to 0b39b4c of oa_core.
Comment #7
lukio commentedHi,
That fix is still wrong. The real fix should be:
Cheers!
Comment #8
lukio commentedComment #9
cgove commentedThe fix works for me, thanks.
Comment #10
pjbarry21 commented#7 worked for me.
I'm using OA 2.12 and #5 was what was in that release (at least in my file). Updated that line to #7 and the search works (was seeing the issue that's in the child ticket: https://drupal.org/node/2152257).
Comment #11
mpotter commentedConfirmed #7 here. Committed to 6d11a68 in oa_core.
Comment #13
dijup tuladhar commentedI have update my version to OA 2.13 but still I am facing issue with the update. When i try to search using the user option for the top toolbar.
I get Fatal error: Call to undefined method SearchApiViewsQuery::add_field() in \profiles\openatrium\modules\contrib\views\plugins\views_plugin_row.inc on line 116
I have used the virtual hosting and my app is installed in the root path.
Comment #14
dijup tuladhar commentedComment #15
dijup tuladhar commentedComment #16
mpotter commentedYou probably need to revert the oa_search feature after you updated. There are instructions here https://drupal.org/node/2169701 on how to properly apply an update. Be sure you are running the update script and reverting features. Otherwise you won't get the new user index or views for user searching.
Also, since this is a different error than the original post, you should really have created a NEW issue rather than re-opening this old issue.
Comment #17
cgove commentedI was getting:
Fatal error: Call to a member function range() on a non-object in .../profiles/openatrium/modules/contrib/search_api/contrib/search_api_views/includes/query.inc on line 246Turns out the issue was my user index was disabled.
Comment #18
mpotter commentedOK, this issue has gotten confused. Please open a new issue if you still have trouble with the steps needed to reproduce it in the latest version.