Hi,
I downloaded the 1.1.2.23.2.46 (9/10/2009) version of l10n_server and i use the l10n_community module.
After submiting a translation or a suggestion i receive the following error msg:
warning: rawurlencode() expects parameter 1 to be string, object given in documentroot/includes/common.inc on line 2474.
The stack trace:
#0 drupal_urlencode(stdClass Object ([pid] => 231,[uri] => cck_gallery,[title] => cck_gallery,[home_link] => http://drupal.org/project/cck_gallery,[last_parsed] => 0,[connector_module] => l10n_localpacks,[status] => 1)) called at [docroot/includes/common.inc:232]
#1 drupal_query_string_encode(Array ([project] => stdClass Object ([pid] => 231,[uri] => cck_gallery,[title] => cck_gallery,[home_link] => http://drupal.org/project/cck_gallery,[last_parsed] => 0,[connector_module] => l10n_localpacks,[status] => 1),[status] => 0,[release] => all,[search] => ,[author] => ,[context] => all,[limit] => 10,[page] => 2)) called at [docroot/includes/common.inc:1403]
#2 url(translate/languages/hu/edit, Array ([query] => Array ([project] => stdClass Object ([pid] => 231,[uri] => cck_gallery,[title] => cck_gallery,[home_link] => http://drupal.org/project/cck_gallery,[last_parsed] => 0,[connector_module] => l10n_localpacks,[status] => 1),[status] => 0,[release] => all,[search] => ,[author] => ,[context] => all,[limit] => 10,[page] => 2),[fragment] => ,[absolute] => 1)) called at [docroot/includes/common.inc:314]
#3 drupal_goto(translate/languages/hu/edit, Array ([project] => stdClass Object ([pid] => 231,[uri] => cck_gallery,[title] => cck_gallery,[home_link] => http://drupal.org/project/cck_gallery,[last_parsed] => 0,[connector_module] => l10n_localpacks,[status] => 1),[status] => 0,[release] => all,[search] => ,[author] => ,[context] => all,[limit] => 10,[page] => 2)) called at [(null):0]
#4 call_user_func_array(drupal_goto, Array ([0] => translate/languages/hu/edit,[1] => Array ([project] => stdClass Object ([pid] => 231,[uri] => cck_gallery,[title] => cck_gallery,[home_link] => http://drupal.org/project/cck_gallery,[last_parsed] => 0,[connector_module] => l10n_localpacks,[status] => 1),[status] => 0,[release] => all,[search] => ,[author] => ,[context] => all,[limit] => 10,[page] => 2))) called at [docroot/includes/form.inc:628]
#5 drupal_redirect_form(Array ([#tree] => 1,[#redirect] => Array ([0] => translate/languages/hu/edit,[1] => Array ([project] => stdClass Object ([pid] => 231,[uri] => cck_gallery,[title] => cck_gallery,[home_link] => http://drupal.org/project/cck_gallery,[last_parsed] => 0,[connector_module] => l10n_localpacks,[status] => 1),[status] => 0,[release] => all,[search] => ,[author] => ,[context] => all,[limit] => 10,[page] => 2)),[pager_top] => Array ([#weight] => -10,[#value] => <div class="item-list"><ul class="pager"><li class="pager-first first"><a href="/translate/languages/hu/edit?project=cck_gallery&status=0&release=all&search=&author=&context=all&limit=10&29006[translation][value]=&29007[translation][value]=&29008[translation][value]=&29009[translation][value]=&29010[translation][value]=ImageCache-be%C3%A1ll%C3%ADt%C3%A1sok&29011[translation][value]=&29012[translation][value]=&29013[translation][value]=&29014[translation][value]=&29015[translation][value]=&form_build_id=form-664b714726965e160c31a88103b57c1f&form_token=87d03c1e24f09e0915c7f4db953e73b4&form_id=l10n_community_translate_form" title="Ugrás az első oldalra" class="active">« első</a></li>
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | project-convert.patch | 869 bytes | gábor hojtsy |
Comments
Comment #1
gábor hojtsy@lor also submitted this at #573666: Warning message, which I've just marked as duplicate:
The issue was that the project and author objects were not converted to strings on the translation form. The attached patch should fix that, committed. Now going to deploy to localize.drupal.org.