exception 'Apache_Solr_HttpTransportException' with message ''404'

1,008 views
Skip to first unread message

Sabit H

unread,
May 21, 2011, 1:04:32 PM5/21/11
to PHP Solr Client
Hi all, im new in solr..
I try the example code, and i get error like this:
exception 'Apache_Solr_HttpTransportException' with message ''404'
Status: Not Found' in C:\wamp\www\solr\Apache\Solr\Service.php:338
Stack trace:
#0 C:\wamp\www\solr\Apache\Solr\Service.php(1170): Apache_Solr_Service-
>_sendRawGet('http://localhos...')
#1 C:\wamp\www\solr\index.php(33): Apache_Solr_Service->search('apa',
0, 10)
#2 {main}


Hope somebody can help..
Thank you in advance..

donovan...@gmail.com

unread,
May 22, 2011, 11:47:24 PM5/22/11
to php-sol...@googlegroups.com
you're getting a 404 response from your server, most likely you need to adjust the path to match your solr installation.

Hope this helps,
- Donovan
> --
>
> You received this message because you are subscribed to the Google Groups "PHP Solr Client" group.
>
> To post to this group, send email to php-sol...@googlegroups.com.
>
> To unsubscribe from this group, send email to php-solr-clie...@googlegroups.com.
>
> For more options, visit this group at http://groups.google.com/group/php-solr-client?hl=en.
>
>
>
>

Sofia Yfantidou

unread,
Sep 20, 2016, 12:17:47 PM9/20/16
to PHP Solr Client
Hi Donovan,

Is it possible to elaborate a bit more on your answer? Right now, I have unzipped the PHP Solr Client file in the same directory as the example .php script (https://github.com/PTCInc/solr-php-client/wiki/Example-Usage) as mentioned in the comments. Still, I get the above error as Sabit, Thanks in advance for your time.
Reply all
Reply to author
Forward
0 new messages