×

Notice

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

TOPIC: a method to refresh all project

a method to refresh all project 11 years 2 months ago #23111

  • micker
  • micker's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
hello how to refresh all project package ??
thanks for your work !! it's fantastic

a method to refresh all project 11 years 2 months ago #23149

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
It's currently not possible, but I'll add an option for this in the next release.

a method to refresh all project 11 years 2 months ago #23155

  • micker
  • micker's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
great news !!!

a method to refresh all project 11 years 1 week ago #23927

  • micker
  • micker's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
hello
hook system isn't good ... nothing works ...
how to do a cron task ?
thanks for your help

a method to refresh all project 11 years 1 week ago #23939

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
The hook system isn't good, cause transifex changed it. It is on the todo list to create a cronjob task, but I haven't gotten to implementing it.
Regards,
DAniel

a method to refresh all project 10 years 11 months ago #24453

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Okay, I decided not to make a "refresh all" button in the backend, because in the latest dev. release we have a cronjob. The cronjob goes through all published projects and creates new languages or update the languages that need updating.
Install the latest dev. release, then setup the cronjob. The file with the cronjob is in /cli/ctransifex.php

Cheers,
Daniel

a method to refresh all project 10 years 11 months ago #24454

  • micker
  • micker's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
great new !!!
we will test it !

a method to refresh all project 10 years 10 months ago #25134

  • micker
  • micker's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
hello
actualy i didn't found how to use ctransifex and cron (i use ctransifex for free extension flexicontent)
on joomla 2.5 and lastest build => com_ctransifex-git_0d590f0-core_2014-02-09.zip
SEF kill download lik and cron say
Warning: require_once(/libraries/import.legacy.php): failed to open stream: No such file or directory in /cli/ctransifex.php on line 26
 
Fatal error: require_once(): Failed opening required '/libraries/import.legacy.php' (include_path='.:/opt/php54/lib/php') in /cli/ctransifex.php on line 26
do you have any idea ?
thanks for your work

a method to refresh all project 10 years 6 months ago #26388

  • Joomill
  • Joomill's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hi Daniel,

Any news about the new release?
I tried the dev.release with the cronjobs, but can't get it working for me either.
Any documentation would be helpfull

Kind regards,
Jeroen

a method to refresh all project 10 years 6 months ago #26397

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Why can't you get the cronjob running? What is the error message or you have no idea where to start?

a method to refresh all project 10 years 6 months ago #26400

  • Joomill
  • Joomill's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hi Daniel,

I'm not a Cron-expert. :)

I have added the link to the file: ** and set up the timeinterval

The email returned to me: /bin/sh: ** : No such file or directory

Kind regards,
Jeroen

a method to refresh all project 10 years 6 months ago #26428

  • Ophelia
  • Ophelia's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
A simpler cron job solution, you might consider webcron services like eascron which will load a specific URL at a given time.

a method to refresh all project 10 years 6 months ago #26429

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Ophelia,
Your easycron won't do it this time, as the we are dealing with a cli script and not a php file that can be accessed through the browser.

@Joomil.

First find the path to the executable php - ask your hosting support for this. For example on siteground servers it is:
/usr/local/php53/bin/php-cli

After that you need to enter the path to the ctransifex.php file as you see it with your ftp program. For example:
/home/userA/public_html/cli/ctransifex.php

So at the end the cronjob would look like this:
/usr/local/php53/bin/php-cli /home/userA/public_html/cli/ctransifex.php

That's it.

Regards,
Daniel

a method to refresh all project 10 years 6 months ago #26440

  • Joomill
  • Joomill's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Thank you very much Daniel,

It seems to work fine now.

It returns:
Project: Opening Hours module. We've generated 8 packs.
Cron job complete
  • Page:
  • 1
Time to create page: 0.120 seconds