MukurtuCMS / mukurtucms

GNU General Public License v2.0
81 stars 36 forks source link

Export DHI's error based on category(?) #121

Closed HeleneJulienne closed 5 years ago

HeleneJulienne commented 5 years ago

I am getting the following error message when trying to export one of my Mukurtu categories for a roundtrip edit:

Error message An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /batch?id=476&op=do StatusText: error ResponseText: An error occurred while processing views_bulk_operations_active_queue_process with arguments: views_bulk_operations_active_queue_process

I tested and it seems to only be occurring with this particular category and I'm still able to export individual DHI's within this category. I'm managing content for this Mukurtu project but have zero programming experience. Can someone help?

taylor-steve commented 5 years ago

Could you test the failing scenario again, then check the logs at "Reports -> Recent Log Messages". Then filter by severity "error" and share any errors that correspond to your testing time? The AJAX error you posted above is more of a generic catch all, I'm hoping there is more detailed information in the system logs. Thanks!

HeleneJulienne commented 5 years ago

Screen Shot 2019-07-26 at 1 48 13 PM

HeleneJulienne commented 5 years ago

Thanks! this is the message. Screenshot attached above:

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '768-1-733' for key 'PRIMARY': INSERT INTO {community_tags} (tid, nid, uid, date) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3); Array ( [:db_insert_placeholder_0] => 768 [:db_insert_placeholder_1] => 733 [:db_insert_placeholder_2] => 1 [:db_insert_placeholder_3] => 1564173984 ) in _community_tags_add_tag() (line 1033 of /home/nuuchahn/public_html/sites/all/modules/contrib/community_tags/community_tags.module).

taylor-steve commented 5 years ago

Interesting! If you are on Mukurtu 2.1 or higher, I'd recommend turning off the community tags module and trying again. You'd do that by:

Then I'd try the export operation again. Thanks.

HeleneJulienne commented 5 years ago

Great, the export worked after turning off Community Tags. I had recently done a "clean up" of our keywords and deleted several of them so perhaps it is related.

taylor-steve commented 5 years ago

Great, I'm glad it is working now.