Can not change article language - page not found error
- Status
- Closed
- Subject
- Can not change article language - page not found error
- Version
- 4.x
5.x - Category
- Error
- Feature
- Article
i18n (Multilingual, l10n, Babelfish) - Submitted by
- neuron
- Volunteered to solve
- Philippe Cloutier
- Lastmod by
- Philippe Cloutier
- Rating
- Description
- As admin I view _article_, then click on the "Multilingual globe". This brings the translation page. At the bottom I select new language and press "Change language" button. All I receive is "Page not found" error.
- Solution
There are two issues.
a) tiki-edit_translation.php thinks that we were changing wiki page and not article
b) while translating article, tiki-edit_translation.php requires to pass article id and not page name as it happens now.I fixed it locally in tiki-edit_translation.tpl, on line 134. I replaced this:
<input type="hidden" name="page" value="{$name|escape}"/>
by this:
<input type="hidden" name="id" value="{$id|escape}"/>
<input type="hidden" name="type" value="{$type|escape}"/>
I'm sorry, I can't post patch, as I'm on windows and I don't know how to diff two files 😊This was fixed in r30850, which will be released in 6.1. Thank you.
- Importance
- 5
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 2925
- Created
- Saturday 12 December, 2009 21:51:26 UTC
by neuron - LastModif
- Tuesday 23 November, 2010 02:20:00 UTC