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.