I was adding "German" to my Site: /admin/config/regional/language

This error occored:

Error importing interface translations
Please continue to the error page

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: /revival/batch?id=2&op=do StatusText: OK ResponseText: Fatal error: Maximum execution time of 60 seconds exceeded in D:\PortableLokal\Xampp\htdocs\revival\includes\database\database.inc on line 1970

This is a PHP-Timeout Error I guess.

But it does install and activate the new language for me anyway. But i guess some translations are missing now.

The language German has been created and can now be used. More information is available on the help screen.

Greets,
Simon

Comments

plach’s picture

Component: translation.module » locale.module

This is a locale issue.

quazardous’s picture

same here with french translation

the ajax stuff freeze, but the translation seams to be imported...

gnappoman’s picture

Version: 7.0-beta3 » 7.0
Assigned: Unassigned » gnappoman
Priority: Normal » Critical

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /cms/drupal7/batch?id=8&op=do StatusText: Internal Server Error ResponseText: 500 Internal Server Error Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/2 Server at Port 80

This happend with many hosting providers when trying to update the language file, which is just partially installed.

Please help either give instructions on how complete the language file manually (by another script) or give information about making the language installation to be done on a local server and then to update the remote server via mysql or ftp.

droplet’s picture

Version: 7.0 » 7.x-dev
Assigned: gnappoman » Unassigned
Priority: Critical » Major

It's timeout & hosting conf problem only, non-critical issue

catch’s picture

Status: Active » Closed (duplicate)
estepix’s picture

Version: 7.x-dev » 7.9
Priority: Major » Minor

Hi, not sure whether this is the best place to add this info. But I would like to add that I was getting this error while trying to add a new language (Spanish) via Configuration > Language > Add language:

An AJAX HTTP error occurred. HTTP Result Code: 403 Debugging information follows. Path: /batch?id=6&op=do StatusText: error ResponseText: Access denied | Site-Install @import url("http://example.com/modules/system/system.base.css?luevuz");

Which was actually misleading, the problem is not a 403 Permission denied error, after checking my Apache error log I realised it's a timeout error:
[Fri Nov 11 17:52:18 2011] [warn] [client 127.0.0.1] mod_fcgid: read data timeout in 360 seconds, referer: http://example.com/batch?op=start&id=9&render=overlay
[Fri Nov 11 17:52:18 2011] [error] [client 127.0.0.1] Premature end of script headers: index.php, referer: http://example.com/batch?op=start&id=9&render=overlay

I am using Apache + FCGI so, for me, the fix to this error was to include the following directive in my vhost (or change it if it's already in there):

IPCCommTimeout 3600

After that, all the .po language files got imported successfully. By the way the problem seemed to happen while importing drupal-7.9.es.po which I guess is one of the largest files.

mudasirweb’s picture

Is there any other way to import this .po file, Actually I have the same issue in importing ar.po file. I tried to increase the session timeout of my wamp server, but unfortunately after waiting a long time nothing happens.

mudasirweb’s picture

I find an approach but it looks promising, manually download .po file and then copy that into your translation folder, default its here

sites/all/translations.

You can download the .po files here http://ftp.drupal.org/files/translations/7.x/drupal/

Make sure you choose the appropriate .po file of your drupal version.

So that the .po file should be named as drupal-{version}.{language}.po

Like for Arabic with drupal-7.23, this file is named as drupal-7.23.ar.po

Please comment if you find this working.But I must say this worked for me.

Magic Science’s picture

Issue summary: View changes

Try switching off firewall...
For me it helped :)

son_of_flynn’s picture

@logichacker Didn't work for me, not sure exactly of your complete method.

The answer can be found here in the forums

Basically my issue was my decrepit Toshiba Satellite L450d couldn't do all the processing in time. The solution therefore is to increase the time out limit in the file l10n_update.locale which can be found at drupal/sites/all/modules/l10n_update/

Look for the line drupal_set_time_limit(240);

And increase the number, I set it to 7200 which is probably too high but my laptop is ancient and it worked.