1. Dmitry Rekun
  2. CTransifex
  3. Sunday, 28 June 2015
  4.  Subscribe via email
Hello ;)

Finally I've setup my first project and got all data from the Transifex, created project menu item. But when I want to download the package and click on "Download now", I am being redirected to index.php?option=com_ctransifex&task=download.download&language=7 with the message "Something went wrong "... :(

I checked media folder and packages are there :side:
Responses (4)
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
look at components\com_ctransifex\controllers\download.php - it seems that we can't fetch the zip from the database. Dump the query and look at the db.

Regards,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. CTransifex
  3. # 1
Accepted Answer Pending Moderation
So the problem is that component's language var is being changed with Joomla's language var. Here is the dump of data var of IInput:

[code type=php][data:protected] => Array
(
[option] => com_ctransifex
[task] => download
[language] => ru-RU
[Itemid] => 1178
[lang] => ru
)[/code]

Funny! The only workaround I found is to get language var directly from get. So I've changed
[code type=php]$input = JFactory::getApplication()->input;[/code]
to
[code type=php]$input = JFactory::getApplication()->input->get;[/code]

And now it is working :woohoo:

Interesting that on another website everything is working fine without this change...
  1. more than a month ago
  2. CTransifex
  3. # 2
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
hm, can you try it with the dev. release? I have already fixed this long time ago. We use ctlang instead of lang because of this.

Regards,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. CTransifex
  3. # 3
Accepted Answer Pending Moderation
Yeah on dev release there is no such problem.
  1. more than a month ago
  2. CTransifex
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Last questions

problem with Joomla 4.2.9
matukio events seems not to work with the latest Joomla 4.2.9 there was no booki...
0 Replies
Posted on Thursday, 30 March 2023
  • New
  • What to do to make google page copy show comments
    Hello. I have comments on the page of a particular article. The google search...
    0 Replies
    Posted on Wednesday, 29 March 2023
  • New
    • #Google cache copy
    Various javascript errors in backend hotspot edit
    Hi, When you open a hotspot in the backend you get a couple of javascript err...
    0 Replies
    Posted on Wednesday, 29 March 2023
  • New
  • Matukio Form Error
    Hallo Seit neuem gehen die Buchungsformulare nicht mehr, siehe hier: https://...
    8 Replies
    Posted on Monday, 27 March 2023
  • Resolved
  • New
    • #Matukio
    Einstellungen im Standard Buchungsformular lassen
    Hallo Zusammen Ich habe das Problem, dass ich die Einstellungen/Optionen bei de...
    0 Replies
    Posted on Tuesday, 28 March 2023
  • New