Ron has stated that he's moving from the structure in biblio 6.x-1.x to a new one in 6.x-2.x (http://drupal.org/node/660628) which changes the array/parameter of the biblio fields. If you run the latest version of Apache Solr Biblio against 6.x-2.x, it fails to detect the Biblio fields, and instead errors out with:

php 07/22/2010 - 15:09 Parameter 1 to biblio_xml_nodeapi() expected to ... admin
php 07/22/2010 - 15:09 Parameter 1 to biblio_marc_nodeapi() expected to ... admin
php 07/22/2010 - 15:09 Parameter 1 to biblio_ris_nodeapi() expected to ... admin
php 07/22/2010 - 15:09 Parameter 1 to biblio_tagged_nodeapi() expected ... admin
php 07/22/2010 - 15:09 Parameter 1 to biblio_bibtex_nodeapi() expected ... admin
php 07/22/2010 - 15:09 Parameter 1 to biblio_crossref_nodeapi() ... admin
php 07/22/2010 - 15:09 Parameter 1 to biblio_pm_nodeapi() expected to ... admin
php 07/22/2010 - 15:09 Parameter 1 to biblio_nodeapi() expected to be a ... admin
php 07/22/2010 - 15:09 Parameter 1 to biblio_oai_xc_nodeapi() expected ... admin
php 07/22/2010 - 15:09 Parameter 1 to apachesolr_nodeaccess_nodeapi() ... admin
php 07/22/2010 - 15:09 Parameter 1 to apachesolr_nodeapi() expected to ... admin
php 07/22/2010 - 15:09 Parameter 1 to search_nodeapi() expected to be a ... admin
php 07/22/2010 - 15:09 Parameter 1 to menu_nodeapi() expected to be a ... admin
php 07/22/2010 - 15:09 Parameter 1 to comment_nodeapi() expected to be ... admin

Comments

rjerome’s picture

I don't think this has anything to do with 6.x-2.x of biblio, as there are calls to non-biblio functions listed there. I suspect a PHP issue? Which version of PHP are you using?

phil.cryer’s picture

# php-cgi -v
PHP 5.3.2-1 with Suhosin-Patch (cgi-fcgi) (built: Mar 13 2010 22:07:06)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with Suhosin v0.9.31, Copyright (c) 2007-2010, by SektionEins GmbH

This is still an issue, to get around it I run HEAD, which is working with Drupal 6.19 and Apachesolr 6.x-1.2

rjerome’s picture

Is there some compelling reason that you need php 5.3.x? There are a multitude of issues surrounding the use of 5.3 with drupal (http://drupal.org/search/apachesolr_search/php%205.3)