Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Multi-culture page problem View modes: 
User avatar
Member
Member
markcoatsworth - 10/3/2013 4:35:01 PM
   
Multi-culture page problem
Hi,

We're running an older Kentico 5.5 R2 website at http://foodbankscanada.ca. At some point yesterday, the French culture version of our Home page stopped working. It's still there -- I can view it in CMS Desk. When I look in the database, it's clearly there with all the correct attributes. But when I try to access it (http://foodbankscanada.ca/Home.aspx?lang=fr-CA), I get redirected to the English Home page.

All the other French pages in our site work correctly. For some reason it's just the Home page. If I browse to another page on the site, switch the language to French, then return to the Home page, I still get redirected to the English version. Even my CMSPreferredCulture cookie is changed to en-ca.

I tried running a curl command to Home.aspx?lang=fr-CA, and to another page which works correctly (About-Us.aspx?lang=fr-CA). I get the following output:

[~]# curl -I http://foodbankscanada.ca/Home.aspx?lang=fr-CA
HTTP/1.1 200 OK
Cache-Control: private, no-store, must-revalidate
Content-Length: 34906
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/8.0
Set-Cookie: CMSPreferredCulture=en-CA; expires=Fri, 03-Oct-2014 20:40:38 GMT; path=/
Set-Cookie: ASP.NET_SessionId=5aaa3otle40aezmlh3fi0zkc; path=/; HttpOnly
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Thu, 03 Oct 2013 20:40:39 GMT

[~]# curl -I http://foodbankscanada.ca/About-Us.aspx?lang=fr-CA
HTTP/1.1 200 OK
Cache-Control: private, no-store, must-revalidate
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/8.0
Set-Cookie: CMSPreferredCulture=fr-CA; expires=Fri, 03-Oct-2014 20:41:09 GMT; path=/
Set-Cookie: ASP.NET_SessionId=4ndbegkpai5ulwx3xrbeip12; path=/; HttpOnly
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Thu, 03 Oct 2013 20:41:10 GMT


I know this is a really open ended problem and it's very hard to debug on a forum. What I'm wondering is if this sounds like it might be a bug in Kentico. We haven't applied any hotfixes to this environment. Does that sound like a solution? Has anybody else run into this problem?

Thanks,

Mark

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 10/11/2013 8:33:03 AM
   
RE:Multi-culture page problem
Hello Mark,

Has something changed in your environment/setup? Do you see any error in the Event log (CMSSiteManager -> Administration -> Event log)?

And yes, for sure I would recommend you to install the latest hotfix for your version. Maybe think also about the upgrade... version 5.5R2 is already pretty old.

Best regards,
Martin Danko

User avatar
Member
Member
markcoatsworth - 10/11/2013 9:06:21 AM
   
RE:Multi-culture page problem
Thanks Martin. There were no errors or events in the Event Log that indicated any problem.

We tried restoring the site from an old backup. For maybe 30 minutes or so the multi-culture page worked fine... but then it broke again. We didn't change anything.

I applied the latest Kentico 5.5 hotfix, this didn't fix it.

We're definitely thinking about the upgrade. I'm going to upgrade the site to Kentico 7 in a test environment to see if that fixes it, I'll post an update later.

Mark