Following ujpdate to 6.x.1.8, cron fails with

Fatal error: require_once() [function.require]: Failed opening required 'SolrPhpClient/Apache/Solr/Service.php' (include_path='.:/usr/share/pear:/usr/share/php:/var/www/drupal_files/include') in /var/www/vhosts/breadboard.greatharvest.com/httpdocs/sites/all/modules/apachesolr/Drupal_Apache_Solr_Service.php on line 2

Comments

sterndata’s picture

ping

nick_vh’s picture

Status: Active » Closed (won't fix)

This is not an apachesolr problem. Please verify if you have downloaded the library and that you can access it.

sterndata’s picture

Which library? It was working, then I updated *this* module and it stopped working.

sterndata’s picture

Status: Closed (won't fix) » Active

Sorry, you don't get to say "not my problem" and close with a Won't Fix when all I did was update this module. If I'm missing a library required by the update, then fine, tell me.

sterndata’s picture

Status: Active » Fixed

OK, I figured it out. I had to get the library from the Google code repository and put it *within* the module's directory, not in sites/all/libraries.

sterndata’s picture

Status: Fixed » Active

but now, attempts to search fail with Fatal error: Call to a member function getStatusCode() on a non-object in /var/www/vhosts/breadboard.greatharvest.com/httpdocs/sites/all/modules/apachesolr/SolrPhpClient/Apache/Solr/Response.php on line 111

sterndata’s picture

Status: Active » Fixed

Solved today. I updated by extracting the tar.gz file over the existing directory rather than updating via Drush. I' m not sure what got preserved this way, but at least I'm up to date again.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

bburg’s picture

I run into this every time I update apachesolr...

Just read the README.txt that comes with the module for instructions on installing the SolrPhpClient library.