TRANSLATIONS_FETCH_REQUEST_FAILED

mbornand

Joined: 2010-08-12
Posts: 15
Posted: Tue, 2010-08-17 15:59

Hello there. I've installed the a new clean version of Gallery 3 and tried to update translations. Unfortunately, I got the message displayed in the subject. It was working perfectly well with another installation a few days ago. Any idea ?
Thanks

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2010-08-18 02:26

Try again?
Could have been a network issue.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
mbornand

Joined: 2010-08-12
Posts: 15
Posted: Wed, 2010-08-18 05:48

Sorry but I tried several times. Same problem.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2010-08-18 05:53

Hrm. How many languages are you loading? Can you paste the entire stack trace for us? Can you sniff the network traffic and see if there's an error coming back from our server?
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
mbornand

Joined: 2010-08-12
Posts: 15
Posted: Wed, 2010-08-18 06:37

I'm trying to load only French and English(US). Here is the stack :
Task Update translations started (task id 62)
exception 'Exception' with message '@todo TRANSLATIONS_FETCH_REQUEST_FAILED ' in /home/www/13c090f875a312550865f71f8a7dd8b2/web/gallery/modules/gallery/helpers/l10n_client.php:128
Stack trace:
#0 /home/www/13c090f875a312550865f71f8a7dd8b2/web/gallery/modules/gallery/helpers/gallery_task.php(217): l10n_client_Core::fetch_updates(1832)
#1 /home/www/13c090f875a312550865f71f8a7dd8b2/web/gallery/modules/gallery/helpers/task.php(90): gallery_task_Core::update_l10n(Object(Task_Model))
#2 /home/www/13c090f875a312550865f71f8a7dd8b2/web/gallery/modules/gallery/controllers/admin_maintenance.php(187): task_Core::run('gallery_task::u...', Array)
#3 /home/www/13c090f875a312550865f71f8a7dd8b2/web/gallery/modules/gallery/controllers/admin.php(62): Admin_Maintenance_Controller->run('62')
#4 [internal function]: Admin_Controller->__call('62')
#5 /home/www/13c090f875a312550865f71f8a7dd8b2/web/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Array, Array)
#6 /home/www/13c090f875a312550865f71f8a7dd8b2/web/gallery/system/core/Event.php(208): Kohana_Core::instance('maintenance', Array)
#7 /home/www/13c090f875a312550865f71f8a7dd8b2/web/gallery/application/Bootstrap.php(67): Event_Core::run(Object(Admin_Controller), Array)
#8 /home/www/13c090f875a312550865f71f8a7dd8b2/web/gallery/index.php(94): require('/home/www/13c09...')
#9 {main}
@todo TRANSLATIONS_FETCH_REQUEST_FAILED
Unfortunately, I cannot sniff the network but for your information, I tried from my office and from home and it's the same problem.
Cheers

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2010-08-19 04:40

Unclear what's going wrong. It is probably a problem on your server side, it's unable to make an outbound HTTP request. Talk to your sysadmin and see if they can shed some light on what's going on here.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
OrinocoDelta
OrinocoDelta's picture

Joined: 2010-09-29
Posts: 3
Posted: Wed, 2010-09-29 10:31

Hello everybody...

I'm trying to load German language and to set German as Default. A Failure Message is presented:

@todo TRANSLATIONS_FETCH_REQUEST_FAILED

Here is my log from gallery3/var/logs:

2010-09-29 03:17:20 -07:00 --- error: exception 'Exception' with message '@todo TRANSLATIONS_FETCH_REQUEST_FAILED ' in /srv/www/vhosts/domain.tld/subdomains/holidays/httpdocs/gallery3/modules/gallery/helpers/l10n_client.php:128
Stack trace:
#0 /srv/www/vhosts/domain.tld/subdomains/holidays/httpdocs/gallery3/modules/gallery/helpers/gallery_task.php(218): l10n_client_Core::fetch_updates(1000)
#1 [internal function]: gallery_task_Core::update_l10n(Object(Task_Model))
#2 /srv/www/vhosts/domain.tld/subdomains/holidays/httpdocs/gallery3/modules/gallery/helpers/task.php(90): call_user_func_array('gallery_task::u...', Array)
#3 /srv/www/vhosts/domain.tld/subdomains/holidays/httpdocs/gallery3/modules/gallery/controllers/admin_maintenance.php(194): task_Core::run('14')
#4 [internal function]: Admin_Maintenance_Controller->run('14')
#5 /srv/www/vhosts/domain.tld/subdomains/holidays/httpdocs/gallery3/modules/gallery/controllers/admin.php(62): call_user_func_array(Array, Array)
#6 [internal function]: Admin_Controller->__call('maintenance', Array)
#7 /srv/www/vhosts/domain.tld/subdomains/holidays/httpdocs/gallery3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Admin_Controller), Array)
#8 [internal function]: Kohana_Core::instance(NULL)
#9 /srv/www/vhosts/domain.tld/subdomains/holidays/httpdocs/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#10 /srv/www/vhosts/domain.tld/subdomains/holidays/httpdocs/gallery3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#11 /srv/www/vhosts/domain.tld/subdomains/holidays/httpdocs/gallery3/index.php(97): require('/srv/www/vhosts...')
#12 {main}

I have my own servers & i tried it on 3 of them. But always the same problem ;-( i have also checked if i use the latest version if you can see below.
So what can i do, i have ssh access and can do everything on my server - so please can anybody help me!

shamu:/srv/www/vhosts/domain.tld/subdomains/holidays/httpdocs/gallery3 # git pull
Already up-to-date.

Everything else is working like a charm ;-) Thx for the great new Version ;-)

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2010-09-30 03:57

My guess is that your server is not allowing direct requests to gallery.menalto.com using fsockopen. Ask your admin and see if they can help out here.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
OrinocoDelta
OrinocoDelta's picture

Joined: 2010-09-29
Posts: 3
Posted: Mon, 2010-10-04 08:48

Hmh, Fopen wrappers normally are allowed by default, but you need one more thing for gallery3 ;-)

Quote:
;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;

; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
allow_url_fopen = On

; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
allow_url_include = On

With allow_url_fopen = On it don't works, but if also allow the second thing in php.ini everything works now ;-) thank you!

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2010-10-04 09:30

That doesn't make any sense to me. We're not calling fopen() or include() on urls. I don't understand how that would fix it...
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
OrinocoDelta
OrinocoDelta's picture

Joined: 2010-09-29
Posts: 3
Posted: Mon, 2010-10-04 09:49

Hmh but it really fix it if i change this in php.ini and restart apache... so curious but it work now... i tell you the true...
if you want i can give you access to my php.ini