I'm trying to add documents using the SolrPhpClient (if there's a
specific mailinglist for it, please let me know and I'll ask there
instead).
I've searched the net for "missing content stream", but found
nothing that makes sense.
I have now (finally) found the solution!
If I change the following line in Service.php/_sendRawPost():
stream_context_set_option($this->_postContext, 'http', 'header',
'Content-Type: ' . $contentType. "\r\n");
to
stream_context_set_option($this->_postContext, 'http', 'header', array
('Content-Type: ' . $contentType));
It all works fine.
I'm far from sure why this is, but it seems like I'm quite alone in
running into this problem. Maybe it's something to do with the fact
that I'm running this on a PPC mac (endian-things)?
Donovan, thanks for looking into my problem, and thank you for
SolrPhpClient :)
/ d