Apache worked great before.
After I updated from 6.x-1.2 to 6.x-1.3 my search block doesn't work and I get the following error when performing a search from the search page.

warning: require_once(SolrPhpClient/Apache/Solr/Service.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/idove12/sites/all/modules/apachesolr/Drupal_Apache_Solr_Service.php on line 2.

Comments

drtrueblue’s picture

Evidently when the module was upgraded, folders were overwritten. Is there a way to avoid this with a drush update?

pwolanin’s picture

Title: Critical error with 1.3 upgrade. » Drush update removes the SolrPHPClient

People complain about it all the time. see also #792712: Move SolrPHPClient to libraries

Should probably add to the docs at least.

pfrenssen’s picture

I have added this to the online documentation.

pwolanin’s picture

Status: Active » Fixed

ok, thanks. That may be as fixed as it will get for 6.x-1.x

Status: Fixed » Closed (fixed)

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

gthing’s picture

Version: 6.x-1.3 » 6.x-1.6
Status: Closed (fixed) » Needs work

I tried installing in the libraries folder following the documentation, but the module complains:

The Solr PHP library must be present in a sub-directory named SolrPhpClient. (Currently using Apache Solr PHP Client Library Missing. See the instructions in README.txt)

Or it just throws a 500 server error.

I tried uninstalling the module completely and re-installing without luck.

nick_vh’s picture

Version: 6.x-1.6 » 6.x-1.x-dev
quotesbro’s picture

Status: Needs work » Closed (fixed)

@gthing, check permissions on your directory.

alexx90’s picture

I get the same error

The Solr PHP library must be present in a sub-directory named SolrPhpClient. (Currently using Apache Solr PHP Client Library Missing. See the instructions in README.txt)

Is there any one explain to me where to install that folder I'm using filezilla for my web

pfrenssen’s picture

@alexx90, there are detailed instructions in the file called README.txt inside the module folder, under the heading "Installation".

alexx90’s picture

I did read the file but I didn't understand where to paste the file. If I have to put the file in module folder or in library folder or somewhere else.

and thank you for your answer