Closed (fixed)
Project:
Search API Solr
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2010 at 11:35 UTC
Updated:
4 Feb 2011 at 18:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
drunken monkeyDid you correctly follow the instructions in the INSTALL.txt file and download the SolrPhpClient?
I just yesterday made some changes, but those shouldn't have touched that file. I take it from your description that this hasn't worked for you before (i.e., it failed when you first tried it)?
Comment #2
gagarine commentedI got the same error because I forget to copy the SolrPhpClient. After reading the INSTALL.TXT and follow the instructions this error disappear.
hook_requirements should display a message error in the administration but I don't remind to see one (perhaps is because I first install a version without the hook).
"Fatal error" is not very pretty so perhaps making a test before calling the class?
Comment #3
drunken monkeyThis case should now display a more helpful exception message, instead of a fatal error. Since this is called in several different cases, there really is no better option.
It's a bit unclear to me, though, how you managed to look at the requirements or create a Solr server in the first place. Both actions triggered a fatal error for me.
Anyways, @ mageonyme: Please set status to "fixed" unless the error perseveres after following all instruction in INSTALL.txt.
Comment #4
mikejoconnor commentedI think the root problem is a bug in hook_requirements. The severity is being set to title. See the attached patch.
Comment #5
drunken monkeyOh, how could I miss that one?
Committed your patch, thanks a bunch!