Hi,
I had some error message of this kind as well when I re-activated this module again. I used it but deactivated as there was some trouble with Content Access. Then I decided not to use Content Access and installed the current version of this module (before I had an older version) and run update.php. This is just a little information in case that it might have something to do with that.
This is currently the error message which appears with every cron:
Duplicate key name 'similar_field_status_value' query: ALTER TABLE content_type_uprofile ADD FULLTEXT `similar_field_status_value` (`field_status_value`) in /var/www/vhosts/mysite.com/httpdocs/sites/all/modules/similar/similar.module in Zeile 97.
Best,
Tobias
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 1542900-fix_similar_add_index_function.patch | 863 bytes | andyceo |
Comments
Comment #1
droprocker commentedI do have the same issue!!! Ist there any solution yet?
This is the line 97 in the similar.module file we are talking about:
db_query("ALTER TABLE {". $table ."} ADD FULLTEXT `$index` (`%s`)", $column);What's wrong here?
Comment #2
liland commentedhave some problem. this error message and similar entries doesnt show any similar nodes anymore.
Comment #3
tobiberlinAnother error message appearing as well during cron is the following:
This appears as well with some other CCK fields.
Comment #4
costinius commentedI guess the _similar_add_index function in the beta4 release is totally messed up (maybe due to a wrongly applied patch or something). I've tried to fix it and it seems to work fine now. Here is the corrected version:
Comment #5
dichevad commented@Constantine
Thank you so much! Your corrected version worked for me - much appreciated!
Comment #6
droprocker commentedThanx so much for the patch. It got much better, but I'm still getting the following error-message:
any solution for this?
Comment #7
andyceo commentedCreate a patch from #4.
Comment #8
jenlamptonIssue queue triage, closing all 6.x issues. If this one is still a problem for Drupal 7, please re-open.