Some links won't work first time after clearing the cache
Posted: Mon Jul 11, 2011 5:34 am
I have a strange problem. I tried to search for a answer, but I couldn't find anything.
Everything works fine with development enviroment (Win7 & wamp), but with ISP I have one annoying issue. CMSMS is 1.9.4.2
I have three languages: finnish, swedish and english. The page hiearchy is something like this:
1. finnish
1.1. welcome-fin (default page)
1.2. contact-fin
2. swedish
2.1. welcome-swe
2.2. contact-swe
3. english
3.1. welcome-eng
3.2. contact-eng
Now, first time when entering the site or if cache is deleted I try to click to swedish (2.1) or to english site (3.1.), I get the default page (finnish site 1.1.) . If I click the same link again, it works and works fine until I clear the cache.
The link is hard coded 'cause babel-module has this url encode bug. Link is just www.site.com/index.php?page=welcome-eng
Every other link works as expected, like if I'm in finnish site and click from page 1.1 to 1.2.
This issue only happens with ISP and with links from 1.1 -> 2.1 or 1.1 -> 3.1.
Any clues?
Everything works fine with development enviroment (Win7 & wamp), but with ISP I have one annoying issue. CMSMS is 1.9.4.2
I have three languages: finnish, swedish and english. The page hiearchy is something like this:
1. finnish
1.1. welcome-fin (default page)
1.2. contact-fin
2. swedish
2.1. welcome-swe
2.2. contact-swe
3. english
3.1. welcome-eng
3.2. contact-eng
Now, first time when entering the site or if cache is deleted I try to click to swedish (2.1) or to english site (3.1.), I get the default page (finnish site 1.1.) . If I click the same link again, it works and works fine until I clear the cache.
The link is hard coded 'cause babel-module has this url encode bug. Link is just www.site.com/index.php?page=welcome-eng
Every other link works as expected, like if I'm in finnish site and click from page 1.1 to 1.2.
This issue only happens with ISP and with links from 1.1 -> 2.1 or 1.1 -> 3.1.
Any clues?