Lot of errors on Search Index page

manasiv - September 27, 2009 - 23:27
Project:Apache Solr Search Integration
Version:6.x-1.0-rc3
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

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]:

#1

manasiv - September 28, 2009 - 01:52
Priority:normal» critical

#2

robertDouglass - September 28, 2009 - 09:51

Can you share your environment data with us?

(PHP version, Windows... etc.)

#3

manasiv - September 28, 2009 - 20:08

Hi 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

#4

timatlee - November 12, 2009 - 19:01
Version:6.x-1.0-rc2» 6.x-1.0-rc3

Hi

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

    * warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 474: parser error : 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.
    * warning: simplexml_load_string() [function.simplexml-load-string]: in D:\websites\drupal6\sites\all\modules\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
    * warning: simplexml_load_string() [function.simplexml-load-string]: ^ in D:\websites\drupal6\sites\all\modules\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
    * warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 474: parser error : Premature end of data in tag entry line 472 in D:\websites\drupal6\sites\all\modules\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
    * warning: simplexml_load_string() [function.simplexml-load-string]: in D:\websites\drupal6\sites\all\modules\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
    * warning: simplexml_load_string() [function.simplexml-load-string]: ^ in D:\websites\drupal6\sites\all\modules\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
    * warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 474: parser error : Premature end of data in tag QUERYHANDLER line 188 in D:\websites\drupal6\sites\all\modules\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
    * warning: simplexml_load_string() [function.simplexml-load-string]: in D:\websites\drupal6\sites\all\modules\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
    * warning: simplexml_load_string() [function.simplexml-load-string]: ^ in D:\websites\drupal6\sites\all\modules\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
    * warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 474: parser error : Premature end of data in tag solr-info line 29 in D:\websites\drupal6\sites\all\modules\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
    * warning: simplexml_load_string() [function.simplexml-load-string]: in D:\websites\drupal6\sites\all\modules\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
    * warning: simplexml_load_string() [function.simplexml-load-string]: ^ in D:\websites\drupal6\sites\all\modules\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
    * warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 474: parser error : Premature end of data in tag solr line 21 in D:\websites\drupal6\sites\all\modules\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
    * warning: simplexml_load_string() [function.simplexml-load-string]: in D:\websites\drupal6\sites\all\modules\apachesolr\Drupal_Apache_Solr_Service.php on line 97.
    * warning: simplexml_load_string() [function.simplexml-load-string]: ^ in D:\websites\drupal6\sites\all\modules\apachesolr\Drupal_Apache_Solr_Service.php on line 97.

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.

#5

timatlee - November 27, 2009 - 19:45

Just 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

#6

robertDouglass - November 27, 2009 - 22:48

Can 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.

 
 

Drupal is a registered trademark of Dries Buytaert.