Ok, it is difficult to explain but I have contacted Jonathan Neubauer and javier gomez (both having worked on multi-language Joomla 2.5 sites) and they have both experienced similar issues.
The scenario:
Joomla 2.5.7 multi-language sites (2 languages for me English and Greek).
Pure Joomla multi-language handling (no Joomfish) with no menu associations between languages (yet).
Menus have utf8 aliases (configured also the Joomla global configuration for this).
Joomla SEF enabled (with and without htaccess rewrites has been tested).
With SEF on I visit a frontpage article as superadmin.
The article URL looks like:
http://localhost:8888/dxnew/index.php/el/ɡɦɸÉ"ɈɫÉÕ-É-É"¼ÉÕÉ"/ɬɈɊÉ-ɫɸ-É-É"¼ÉÕÉ"/90-ɬɈɊÉ-É«ÉÕ-10-10-2012-ɬÉÃ-ÉˆÉŠÉŠÉøÉ¬Éø-ɬɈ-É'É¦ÉˆÉ«ÉøÉŸÉˆÉ-ÉøÉ«-É ÉÕÉÀÉÕ-É»ÉøÉŠÉø-ÉŠÉÕɡɫɸ
When I click on the edit icon I get the editor opening just fine in frontend and my URL is now:
http://localhost:8888/dxnew/index.php/el/ɡɦɸÉ"ɈɫÉÕ-É-É"¼ÉÕÉ"/ɬɈɊÉ-ɫɸ-É-É"¼ÉÕÉ"?view=form&layout=edit&a_id=90&return=aHR0cDovL2xvY2FsaG9zdDo4ODg4L2R4bmV3L2luZGV4LnBocC9lbC/Os8BzrHPhs61zrnOvy3PhMFz4DOv8FL860zrXOu8EzrnOsS3PhMFz4DOv8FLzkwLc60zrXOu8EzrnOvy0xMC0xMC0yMDEyLc60zr4tzrXOu867zrHOtM6xLc60zrUtz4fPgc61zrnOsc62zrXPhM6xzrktzrzOv869zr8tzrrOsc67zrEtzrvOv86zzrnOsQ=
(doesn't look ok to me but who knows).
When I click on the Cancel button or the Save button I get a browser message (tested with Safari and FF on a mac):
Safari can't open the page
Too many redirects trying to open the page
http://localhost:8888/dxnew/index.php/el/index.php/el/index.php/el/index.php/el/index.php/el/index.php/el/index.php/el/index.php/el/index.php/el/index.php/el/index.php/el/index.php/el/index.php/el/index.php/el/index.php/el/index.php/el/%CE%B3%C0s%ACs%E1%B3%ADs%AEs%AF%CBs%E10%5C%F8%0C%EB%FC%14%BF:%D3:%D7:%EF%04%CE%B9%CE%B1-%CF%84%C1s%E03%AF%F0R%F3%93%02%DC%EBL%EB%5C%EB%BC%13:%E7:%FC%B4%C4%C0%B4%C4%C0%B4%C8%C0%C4%C8%B7:%D3:%F8%B7:%D7:%EF:%EF:%C7:%D3:%C4%B7:%D3:%D4%B7%3E%1F%3E%07:%D7:%E7:%C7:%DB:%D7%3E%13:%C7:%E4%B7:%F3:%FF:%F7:%FC%B7:%EB:%C7:%EF:%C4%B7:%EF:%FF:%CF:%E7:%C4
This might occur if you open a page that is redirected to open a page that is redirected to open the original page.
Without SEF the previous 3 URLs look like:
http://localhost:8888/dxnew/index.php?option=com_content&view=article&id=90:ɬɈɊÉ-É«ÉÕ-10-10-2012-ɬÉÃ-ÉˆÉŠÉŠÉøÉ¬Éø-ɬɈ-É'É¦ÉˆÉ«ÉøÉŸÉˆÉ-ÉøÉ«-É ÉÕÉÀÉÕ-É»ÉøÉŠÉø-ÉŠÉÕɡɫɸ&catid=12&Itemid=228&lang=el
http://localhost:8888/dxnew/index.php?option=com_content&view=form&layout=edit&a_id=90&Itemid=228&return=aHR0cDovL2xvY2FsaG9zdDo4ODg4L2R4bmV3L2luZGV4LnBocD9vcHRpb249Y29tX2NvbnRlbnQmdmlldz1hcnRpY2xlJmlkPTkwOs60zrXOu8EzrnOvy0xMC0xMC0yMDEyLc60zr4tzrXOu867zrHOtM6xLc60zrUtz4fPgc61zrnOsc62zrXPhM6xzrktzrzOv869zr8tzrrOsc67zrEtzrvOv86zzrnOsSZjYXRpZD0xMiZJdGVtaWQ9MjI4Jmxhbmc9ZWw==&lang=el
http://localhost:8888/dxnew/index.php?option=com_content&view=article&id=90:%CE%B4%CE%B5%CE%BB%C13%AEs%AF%CBLL%0BLL%0BL%8C%0CL%8Bs%AD3%AF%8Bs%ADs%AE%F3%AE%F3%ACs%AD3%ACKs%AD3%ADKs%E1%F3%E0s%ADs%AEs%ACs%AD%B3%ADs%E13%ACs%AEKs%AF3%AF%F3%AFs%AF%CBs%AE%B3%ACs%AE%F3%ACKs%AE%F3%AF%F3%AC%F3%AEs%ACI%98%D8]%1AY%0FLL%89%92]%19[ZY%0FL%8C%8E%09%9B%18[%99%CFY[&lang=el
I have also noticed that if I change the menu alias of the menu that the article is viewed in from
ɬɈɊÉ-É«ÉÕ-É-É"¼ÉÕÉ"
to
ɬɈɊÉ-É«ÉÕ-É-É"¼ÉÕÉ"-1 (just added the -1),
then SEF scenario works ok.
I really don't know how to debug this so I am posting here for similar issues perhaps others have encountered.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-cms/-/eEFVFm_HiEgJ.
To post to this group, send an email to joomla-...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-cm...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
--
Please keep the Subject wording in your answers
base64_decode a bit incorrectly works with utf8, it can create none url-safe string with characters / and +
urlencode(in) and urldecode(ing)
strings before and after passing through the function.
This solves my personal issue, but - once again - in my opinion it is not the way to go.
The developer that coded the base64_XXXXX functions (or someone else much more knowledgeable than I), needs to
step up and get involved.
Not wishing to further debate if I am "interested and want to help" - I am interested, you will just have to take my word for this.
So, if someone can help me raise this issue somehow (let me know which dev actually coded the function
or someone that could be commissioned to look deeper into the real cause, then I will personally spend more time
(and even spend real money) to sponsor a proper resolution.
If I cannot achieve a solution using this approach, then I am open to anything anyone has to propose.
Thanks for reading and listening.
Nick
P.S. Elin, please do not take any of the above as an insult or personal attack as it is not my intention.