Freaking i18n is screwing up my queries
drewish - June 3, 2008 - 21:02
| Project: | Active Translation |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
Even after turning off the i18n query rewriting it's still getting up in my queries. I'm just going to say screw it and disable their query re-writing by calling i18n_selection_mode('off');.
It's heavy handed but if they ignore the setting there's not much I can do, I've got a hook_requirements warning that the two don't play nice so users have some notice.
| Attachment | Size |
|---|---|
| active_translation_i18n_rewrite.patch | 903 bytes |

#1
committed to HEAD.
#2
Hi!
I installed the updated version today and that stopped my testsite working with
PHP Fatal error: Call to undefined function i18n_selection_mode() in /usr/share/drupal-6.2/sites/all/modules/active_translation/active_translation.module on line 299.I didn't have i18n installed, so the
i18n_selection_mode('off');line needs to have a check if i18n is installed./BoK
#3
ah, good call... totally a dumb error. mind testing out this fix?
#4
went ahead and committed this to HEAD.
#5
Automatically closed -- issue fixed for two weeks with no activity.