Posted by hobgobbler on June 24, 2009 at 5:51pm
| Project: | Taxonomy Block |
| Version: | master |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
PHP Fatal error: Call to undefined function tt() in /Blah/Blah/Blah/Blah/sites/all/modules/taxonomy_block/taxonomy_block.module on line 87
Also using:
admin_menu
backup_migrate
cck
contemplate
filefield
galleria
gmaplocation
google_analytics
imageapi
imagecache
imagefield
content form jammer
taxonomy_manager
token
ubercart
uc_taxes_floridasurtax
views
views_showcase
Have fun!
Comments
#1
Currently, You need to install i18n module since Taxonomy Block now supports multi-languages feature.
I will add a checking to detect if you use i18n or not, patch will apply to next version.
Thanks for bug report.
#2
6.x-1.0-BETA1: Fixed: check if i18n module available
Now, Taxonomy Block can run with or w/o i18n module, but if you need Taxonomy Block translate its term then you have to install i18n module.
Enjoy!
#3
Fixed.
#4
Fatal error: Call to undefined function tt() in C:\xampp\htdocs\drupal\sites\all\modules\taxonomy_block\taxonomy_block.module on line 99
I have this error with 6.x-1.0-beta 4 version. My case, I have enabled the module and enabled one of block in a region in a page before i18n module. After I installed i18n module, the page can't be loaded and I get this error.
Would somebody help to figure it out? Thanks!
#5
The case was that I had just enabled Internationalization module without enabling String translation moudle within the package of Internationalization module.
After I enabled both two moudles, it works again.
I have just a rough scan of codes for i18n module, I think the checking should check
module_exists("i18nstrings")than checkingmodule_exists("i18n")sincett()function was defined in there. Am I right?#6
Created a patch to check the right module and replace tt with i18nstrings, because tt is obsolete.
regards pebosi
__________
Bug found playing bingo