Hi,
when I try to update translation after upgrade to drupoal 7.16 I cant ( even i increase the max_execution_time = 3000
and memory_limit = 2048M )
I get

HTTP Post Required
Error importing translations

Its seemes nothing happend....
Iget the message
An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /batch?id=596&op=do StatusText: error ResponseText: 500 Internal Server Error
how can I get all the translate files?
whats wrong?
Tanks.

Comments

sutharsan’s picture

Status: Active » Postponed (maintainer needs more info)

error ResponseText: 500 Internal Server Error

This can be any thing. See the server log for more information.

ntigh52’s picture

Hi,
thanks for your reply.
in the apache log I get
[28-Oct-2012 07:54:35 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 86 bytes) in /...../public_html/mysitefolder/includes/menu.inc on line 3713
in drupal log report i get:

Successfully downloaded http://ftp.drupal.org/files/translations/7.x/colorbox/colorbox-7.x-1.4.he.po to /var/tmp/translation-ywaCLP
warning: Disallowed HTML detected. String not imported

but nothing else.
maybe its related to this issue...
I am very grateful to you for your help.
thanks.

sutharsan’s picture

Not likely. With a memory limit of 2G, the is something wrong in code that it eats this amount of memory. Or you have a slow connection/webserver and it is a duplicate to #569004: Add support for seek based batch import of .po files.

ntigh52’s picture

The thing is that it does not even begin the process
He got stuck in the beginning.....

ntigh52’s picture

edit:
in my localmachine I tried to do that with drush and I succeed!

10 projects updated: colorbox, commerce, commerce_features, drupal, flag, l10n_install, subpathauto, token, webform, wysiwyg.                                [status]
Hebrew translation strings added: 80, updated: 7134, deleted: 0.
9 translation strings were skipped because they contain disallowed HTML. See הודעות יומן אחרונות for details.                               [warning]

So what is the problem?!
Thanks/

sutharsan’s picture

I don't know what your problem is. I can only fix a problem that I can reproduce or I can debug. If you can't debug, supply more information or have someone else do this for you, I can not help.

sutharsan’s picture

A newly developed 7.x-2.x branch is available which is a backport of the Drupal 8 code. This will handle large translations and multiple languages much better. Therefore I encourage you to tryout this new version: https://drupal.org/node/2167107

sutharsan’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (won't fix)

No response. Closing the issue.