I've been using translation management for a few months and have had no issues until installing on another site with many modules, civicrm, custom theme afterburner_rt_d6, etc... No issues with installation- I disabled the custom theme before enabling i18n and translation management modules and extensions (same procedure followed on 3 other sites). Everything works fine until I add a new language, any language other than the default (english), then the manage translators page is no longer available, blank page, no error. I can translate using the translation management dashboard's google translate feature, and can view translations in the added languages, but can not add or manage translators. I've searched all the open issues on drupal.org, bugs, patches, forums- everywhere. If anybody knows what's causing this or how to fix it, please help! Thanks
Comments
Comment #1
sitiveni commentedWe're having a similar problem. Not only Manage Translators (admin/content/translation-management/manage-translator) shows a blank page but also the Dashboard (admin/content/translation-management/dashboard) does.
Weird though is that when viewing a specific node in the dashboard (e.g. admin/content/translation-management/dashboard?nid=666), the dashboard page gets displayed properly. When using link Show all documents (points to admin/content/translation-management/dashboard) the white screen appears again.
Comment #2
sitiveni commentedWell, I figured that one's running out of memory at building permission (user_access) while displaying page Manage Translators (admin/content/translation-management/manage-translator):
This is basically caused by function _icl_translate_get_non_translators() where all active users are fetched and loaded (user_load) and thus user_access is executed:
Quick fix might be increasing the memory (use ini_set in settings.php - see below) but I dare say this can't be the final solution:
Comment #3
handlnbizz@gmail.com commentedThanks for your reply- I waited so long for a response, I had given up checking for replies!
Here's an update to my issue with the add/manage translators page not loading- Although I have yet to find a permanent fix for this issue, I have managed to successfully navigate to admin/content/translation-management/manage-translator and add local translators, assign translate jobs, etc...
After adding languages, I had to completely disable the civicrm module to reach the add/manage translators page. It does take a while to load, but no more PHP "allowed memory exhausted" errors. I believe there is a conflict between translation management and civicrm after languages are added- but I have no idea what that conflict is... i18n module? FYI- I have updated all modules, drupal core, etc.. and the issue remains.
Hope this helps someone having the same issue. Any thoughts as to what is causing this, or how to fix it would be much appreciated.
Comment #4
brucepearson commentedI've modified this so that it doesn't load all the user's information into memory, it only loads the information it needs.
Comment #5
handlnbizz@gmail.com commentedI am very happy to report that the issue I was having with the manage/add translators page has been fixed in the most recent release of translation management, 6.x-1.23. Way to go! And, thank you very much... I no longer have to disable civicrm to add and/or manage translators.
Comment #6
brucepearson commented