×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: ctransifex not Joomla 3.5.1 compatible?

ctransifex not Joomla 3.5.1 compatible? 8 years 5 months ago #34364

  • Joerg
  • Joerg's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 1
Hi,
I tried to install ctransifex on Joomla 3.5.1 and afterwards also tried with Joomla 3.4.8. Installation works, but after installation and configuration I'm unable to pull the language packs from Transifex. The popup window holding the 'Get data' buttons remains empty/ does not open. I did ask somebody else to test that and he encountered the same issue. Don't see any error messages in Joomla Debug and in the browser. No errors in the log files either.

ctransifex not Joomla 3.5.1 compatible? 8 years 5 months ago #34390

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I just tested it on our site and it works.

Is the window opening or not opening? Can I see a screenshot. Also try to set error reporting in global config to none. It's possible that you have a warning that kills the ajax request.

Regards,
Daniel

ctransifex not Joomla 3.5.1 compatible? 8 years 5 months ago #34394

  • Joerg
  • Joerg's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 1

Daniel Dimitrov wrote: I just tested it on our site and it works.

Hi again,
Setting error reporting to 'None' didn't make a difference. I might have two different issues when trying to use ctransifex with Joomla 3.5.1. If I change from the Isis template to the Hathor template, I can at least see the modal window.
Below are some screenshots.

With Joomla 2.5.28 I don't have these problems.

Regards
Joerg
Attachments:

ctransifex not Joomla 3.5.1 compatible? 7 years 9 months ago #35696

  • Kaya Zeren
  • Kaya Zeren's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
I experienced exact same issue on a fresh Joomla! 3.6.5 installation with CTransifex 1.5.
Setting error reporting to 'none' doesn't help.
I can provide site admin access if you prefer to look at it.

ctransifex not Joomla 3.5.1 compatible? 7 years 9 months ago #35726

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I'll have to look at what we are distributing as a download package, but I just tested CTransifex on our site and it works as expected. The modal opens, the ajax requests are working and they are generating the packages. So I'm not really sure why are you running in all those issues, but it's possible that I've fixed something for us in the past and have fogotten to release a new package.

Regards,
Daniel

ctransifex not Joomla 3.5.1 compatible? 7 years 8 months ago #35761

  • Tiago Cardoso
  • Tiago Cardoso's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Hi Daniel,

I can confirm that in a fresh new Joomla 3.6 installation I only get data if I have harbor template on, with Isis I get a translucent page and nothing.

Thanks

ctransifex not Joomla 3.5.1 compatible? 7 years 7 months ago #35872

  • Paulo Pereira
  • Paulo Pereira's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 27
  • Thank you received: 1

Daniel Dimitrov wrote: but it's possible that I've fixed something for us in the past and have fogotten to release a new package.


maybe its this fix the solution?
github.com/JoomliC/ctransifex/commit/c34...a94b29d507d98#diff-0

Update: it worked for me: Joomla 3.7 / Isis template / Chrome
(Firefox is not fixed yet)

ctransifex not Joomla 3.5.1 compatible? 7 years 7 months ago #35931

  • Kaya Zeren
  • Kaya Zeren's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hi Paulo nice to hear you again.

Yess. I can confirm fix is working on Joomla! 3.6.5 with both Chrome and Firefox (after clearing browser's cache). No problem after upgrading Joomla! 3.7.0 also.

Get data dialog opens and process completed
(But there was no zip file created. I use same server and CTransifex configuration with Joomla! 2.5.28 version which is working good. Anyway it's another issue and I will check later).

Thanks
Kaya

Update1: I used to latest CTransifex package with fresh Joomla! installation but it seems like github files are different from release package (at least css files). Maybe you need to look at it and pull the latest release again.

Update2: I found that zip file creation problem reincarnation of 'JFile class not found in package.php' issue in this topic .

That topic has some information but Paulo's previous - jimport('joomla.filesystem.file'); - suggestion is not in files as Daniel mentioned.
I tried same fix without success and found another fix, seems like working:
- Open administrator/components/com_ctransifex/helpers/package.php file
- Find defined('_JEXEC') or die('Restricted access');
- Add these code after

/* Joomla doesn't autoload JFile and JFolder */
JLoader::register('JFile', JPATH_LIBRARIES . '/joomla/filesystem/file.php');
JLoader::register('JFolder', JPATH_LIBRARIES . '/joomla/filesystem/folder.php');

Update 3: Project delete button not working.
On Joomla! 3.7.0 Project delete button shows a dialog "project.delete, OK Cancel" and when I hit the button nothing happens.

I found some suggestion on similar problem that I need to add 'message text' to JToolBarHelper function. First I added 'Are you sure?' message without success.
After I read this document and changed 'project' as 'projects' it started to work miraculously.

So in administrator/components/com_ctransifex/views/projects/view.html.php
changed this line: JToolBarHelper::deleteList('project.delete');
into this: JToolBarHelper::deleteList('Are you sure?','projects.delete');

I didn't touch project.add and project.edit buttons because they are both functioning normally.

CTransifex seems like suffering with Joomla! 3.x versions and needs some overhaul.
  • Page:
  • 1
Time to create page: 0.177 seconds