Yesterday I updated this module and this causes several probs. Afterwards I couldn't run cron, check udpates or clear cache afterwards. After disableling this module everything works fine again.

I use Internationalization and Global Redirect etc as well maybe this is largely because of these modules.

Comments

luckystrikerin’s picture

Addition: Mainly I got this message: Notice: Undefined index: vid in Apache_Solr_Document->__get() (line 317 of /var/www/drupal7/sites/all/modules/apachesolr/SolrPhpClient/Apache/Solr/Document.php).

jpmckinney’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

You updated it from which version? Did you check your error log (admin/reports/dblog) to see what errors were logged when attempting to run cron/clear cache? Try deleting and indexing your content.

luckystrikerin’s picture

Version: 7.x-1.x-dev » 7.x-1.0-beta3

I updated from beta2 to beta3.

I tried reindexing my content, but it didn't helped.

The message in the log is: Notice: Undefined index: vid in Apache_Solr_Document->__get() (line 317 of /var/www/drupal7/sites/all/modules/apachesolr/SolrPhpClient/Apache/Solr/Document.php).

Running Cron / Clearing Cache lets to a white page and I'm logged out afterwards.

When I search for something I get this message:
Notice: Undefined index: apachesolr_multilingual_language in apachesolr_search_add_facet_params() (line 478 of /var/www/drupal7/sites/all/modules/apachesolr/apachesolr_search.module)

jpmckinney’s picture

What apachesolr modules are you running besides apachesolr? What happens if you disable them and delete/reindex?

luckystrikerin’s picture

I have Solr autocomplete (7.x-1.1) and Solr Multilingual (7.x-1.x-dev) as well. And it happens when I activate Solr Multilingual. Sorry didn't checked that before. But it worked everything some days ago.

jpmckinney’s picture

Hmm. K. Maybe ping the maintainers of Solr Multilingual for feedback.

jpmckinney’s picture

Project: Apache Solr Search » Apache Solr Multilingual
Version: 7.x-1.0-beta3 » 7.x-1.x-dev
Status: Postponed (maintainer needs more info) » Active

Maybe multilingual has gone out of sync with the latest apachesolr 7.x code?

webmaster-eddie’s picture

I have the same problem: 7.9 core, unable to run cron, rebuild permissions or clear cache after activating apachesolr multilingual, latest dev version as of dec 1, 2011. 7.x-1.x-dev. Additionally I cannot reach the /admin/structure/blocks page at all. And I cannot do automatic translation updates.

I had activated apachesolr autocomplete, faceted navigation for search, also and have dis-activated them - no change.

The only thing bizarre about mysetup is that I had previously installed fuzzysearch and cannot dis-activate or uninsall it. I also therefore cannot dis-activate Search API or uninstall it.

I did wonder about box for Disable Dat Dir setting - I can' t even understand what it means really, but when nothing worked after enabling the multilingual apachesolr I removed the check in the checkbox (i believe it was there by default) and did delete the index, download the two .xml files and the .zip file, extracted and uploaded them to the server, and restarted solr ... but still the same problem

I have put the following as the directory for up to date debian squeeze 64 bit:
${solr.data.dir:./usr/share/apache-solr/example/solr/data}

I am new to this - is there a problem still using Jetty and the /example/ directory - this seems strange.
Solr is up and was working fine before installing multilingual ... however it was not finding or indexing added country and region use fields added as taxonomy terms in separate taxonomy vocabularies.

In the configuation on the multilingual tab, I was unable to check the empty box that is used to index taxonomy, and could not find the module that needed to be downloaded - the link let to the insternationalization module which I already had successfully running with taxonomy translation enabled - thus your module is not understanding that I had already enabld that...

I tried adding and enabling table_translation, but it did nothing - also I have already set up multilingual site and have taxonomy and string translation enabled in modules - buy solr is not seeing that data - the added fields in the user profile data.

Any help would be greatly appreciated - as I will want to use this module a lot and perhaps help once I understand wha is going on here.

Error message as listed in journal is:

L'indexation a échoué sur l'un des nœuds suivants : 6, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 24, 25, 29, 30, 33, 34, 35, 36
"400" Status: [doc=eg9pgk/node/6] missing required field: entity: [doc=eg9pgk/node/6] missing required field: entity

Error 400 [doc=eg9pgk/node/6] missing required field: entity

HTTP ERROR 400
Problem accessing /solr/update. Reason:
[doc=eg9pgk/node/6] missing required field: entityPowered by Jetty://
---------------------------------

I am also getting the ollowing errors now:

Notice : Undefined index: body dans ApacheSolrDocument->__get() (ligne 304 dans /var/www/clients/client1/web17/web/reseau/sites/all/modules/apachesolr/Apache_Solr_Document.php).

and

Notice : Undefined index: title dans ApacheSolrDocument->__get() (ligne 304 dans /var/www/clients/client1/web17/web/reseau/sites/all/modules/apachesolr/Apache_Solr_Document.php).

---------------------------------------------------

Disabling the 3 apachesolr_mulilingual modules removed the problem, but I'd like to use the module once it's working.

mkalkbrenner’s picture

Status: Active » Closed (duplicate)