I have a single site apache solr setup. though the search seems to work, I see a lot of errors as below -
# warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 471: parser error : expected '>' in C:\htdocs\drupal-6.14\sites\all\modules\thirdparty\apachesolr\Drupal_Apache_Solr_Service.php on line 98.
# warning: simplexml_load_string() [function.simplexml-load-string]:
# warning: simplexml_load_string() [function.simplexml-load-string]: ^ in C:\htdocs\drupal-6.14\sites\all\modules\thirdparty\apachesolr\Drupal_Apache_Solr_Service.php on line 98.
# warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 471: parser error : Opening and ending tag mismatch: name line 469 and n in C:\htdocs\drupal-6.14\sites\all\modules\thirdparty\apachesolr\Drupal_Apache_Solr_Service.php on line 98.
# warning: simplexml_load_string() [function.simplexml-load-string]:
# warning: simplexml_load_string() [function.simplexml-load-string]: ^ in C:\htdocs\drupal-6.14\sites\all\modules\thirdparty\apachesolr\Drupal_Apache_Solr_Service.php on line 98.
# warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 471: parser error : Premature end of data in tag entry line 468 in C:\htdocs\drupal-6.14\sites\all\modules\thirdparty\apachesolr\Drupal_Apache_Solr_Service.php on line 98.
# warning: simplexml_load_string() [function.simplexml-load-string]:
# warning: simplexml_load_string() [function.simplexml-load-string]: ^ in C:\htdocs\drupal-6.14\sites\all\modules\thirdparty\apachesolr\Drupal_Apache_Solr_Service.php on line 98.
# warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 471: parser error : Premature end of data in tag QUERYHANDLER line 184 in C:\htdocs\drupal-6.14\sites\all\modules\thirdparty\apachesolr\Drupal_Apache_Solr_Service.php on line 98.
# warning: simplexml_load_string() [function.simplexml-load-string]:
# warning: simplexml_load_string() [function.simplexml-load-string]: ^ in C:\htdocs\drupal-6.14\sites\all\modules\thirdparty\apachesolr\Drupal_Apache_Solr_Service.php on line 98.
Comments
Comment #1
manasiv commentedComment #2
robertdouglass commentedCan you share your environment data with us?
(PHP version, Windows... etc.)
Comment #3
manasiv commentedHi Robert,
I am on PHP 5.2.11, Windows XP professional, Apache 2.2.13,
Apache Solr Version 1.4-dev
Apache Solr integration 6.x-1.0-RC2
By the way, I like your module and it searches very well.
Thanks
Comment #4
timatlee commentedHi
Coming up with the same errors here (after installing with Solr 1.4 etc)
Trying to install as multi-site, per http://wiki.apache.org/solr/SolrTomcat
Apache Tomcat 5.5
Solr integration 6.x-rc3
Server 2003, IIS
PHP 5.2.11
edit:
The same errors exist when I install per the README.TXT directions, including running the example Solr server shipped with Apache Solr.
Comment #5
timatlee commentedJust a bit more information for this..
I have installed Tomcat 6 and Apache Solr 1.4 (nightly build from Nov 11 I believe) on a Linux host and am still encountering the same issue.
I'm still using PHP under IIS.
Any suggestions? The module version 6.x-2-dev has the same issues.
Thanks
Comment #6
robertdouglass commentedCan someone do some dsm() or print_r() debugging and see what data is making it barf? Premature end of data in tag name line 473 in D:\websites\drupal6\sites\all\modules\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
Comment #7
mburak commentedSame issue here. Using last Solr 1.4 dowloaded today..
warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 470: parser error : Premature end of data in tag QUERYHANDLER line 188 in C:\wamp\www\sites\all\modules\contrib\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
warning: simplexml_load_string() [function.simplexml-load-string]: in C:\wamp\www\sites\all\modules\contrib\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
warning: simplexml_load_string() [function.simplexml-load-string]: ^ in C:\wamp\www\sites\all\modules\contrib\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 470: parser error : Premature end of data in tag solr-info line 29 in C:\wamp\www\sites\all\modules\contrib\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
warning: simplexml_load_string() [function.simplexml-load-string]: in C:\wamp\www\sites\all\modules\contrib\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
warning: simplexml_load_string() [function.simplexml-load-string]: ^ in C:\wamp\www\sites\all\modules\contrib\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 470: parser error : Premature end of data in tag solr line 21 in C:\wamp\www\sites\all\modules\contrib\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
warning: simplexml_load_string() [function.simplexml-load-string]: in C:\wamp\www\sites\all\modules\contrib\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
warning: simplexml_load_string() [function.simplexml-load-string]: ^ in C:\wamp\www\sites\all\modules\contrib\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
Comment #8
pwolanin commentedThere is an open core issue for possible truncation of data from the server
Comment #9
pwolanin commentedsee: http://drupal.org/node/617126
and try the patches there to see if they help. See also: http://drupal.org/node/609836 where it seems essentially the same error message was reported.
Comment #10
timatlee commentedThe patch listed at http://drupal.org/node/617126#comment-2205248 seems to addressed the issue.
Thanks!
Comment #11
mburak commentedsubscribe
Comment #12
jpmckinney commentedMarked #609836: Searches fail for most terms in the index duplicate.
Comment #13
jpmckinney commentedAnyone still experiencing this error?
Comment #14
timatlee commentedI do when I forget that I've made changes to common.inc, and overwrite it when I upgrade drupal.
But, only on a Server 2003 IIS 5 environment. My personal workstation (running Windows 7 and WAMPServ) doesn't experience this error, neither do any of my linux hosts.
Since I hate making any changes to core (then trying to remember them), I've been working on getting Tomcat and Solr on a linux VM instead of on Windows.
Comment #15
pwolanin commentedWhat is the change to common.inc?
Comment #16
timatlee commentedIn Comment 10, there is a link to an issue with drupal_http_request
Comment #17
karthikmurs commentedHello guys.
I tried the fix that worked as per comment 10. It didn't work for me.
I am running Drupal 6.19 (updated today) and I tried installing apache solr module.. But the search index page gives the same set of warnings.
However, I have another site, running on Drupal 6.16 and there are so issues.
All I did was, go to common.inc and make the changes. That's it. Am I supposed to do something else (I guess not). This is how my code looks now.
Can someone help me out with this? This issue is killing me.
Comment #18
hitfactory commentedAlso seeing this with latest 6.x-2.x-dev.
Have tried patch #19 in this thread http://drupal.org/node/617126, but to no luck.
Comment #19
jpmckinney commentedNot an apachesolr bug, per say. Switching to support request.
Comment #20
pwolanin commentedComment #21
dpalmer commentedGetting this issue on D7...