I’m sure I did everything correctly but I get the following message when I’m trying to access the Solr settings from site configurations: “Fatal error: require_once() [function.require]: Failed opening required 'C:\xampp\htdocs\mysite\sites\default\modules\apachesolr\SolrPhpClient\Apache\Solrapachesolr/SolrPhpClient/Apache/Solr/Document.php' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\mysite\sites\default\modules\apachesolr\SolrPhpClient\Apache\Solr\Service.php on line 41.”

Is this because I put the wrong path in the Service.php file? This is what I currently have:
require_once(dirname(__FILE__) . 'apachesolr/SolrPhpClient/Apache/Solr/Document.php');
require_once(dirname(__FILE__) . 'apachesolr/SolrPhpClient/Apache/Solr/Response.php');

If anyone can help, I’d appreciate it.

CommentFileSizeAuthor
properly configured.jpg164.73 KBazwildcat

Comments

anarchivist’s picture

Yes, it appears to be an issue of incorrect paths. The documentation for apachesolr says nothing about modifying any of the files in the client library - revert your changes back accordingly.

jpmckinney’s picture

Status: Active » Fixed

If you have drush installed, you can run drush solr-phpclient and it will install the SolrPhpClient in the correct directory.

Status: Fixed » Closed (fixed)

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