Some links won't work first time after clearing the cache

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
urheat
Forum Members
Forum Members
Posts: 243
Joined: Sat Oct 17, 2009 6:50 am

Some links won't work first time after clearing the cache

Post by urheat »

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?
urheat
Forum Members
Forum Members
Posts: 243
Joined: Sat Oct 17, 2009 6:50 am

Re: Some links won't work first time after clearing the cach

Post by urheat »

Some more info and one possible solution. The issue occurred after clearing the cache but the bigger problem was that it occurred every time after you came back to the site. Like once in a day.

I had babel installed but I didn't use it - at least in my template. I uninstalled babel (don't know why I tried this in a frist place ;D) and now everything seems working fine.
Post Reply

Return to “CMSMS Core”