Page 1 of 1

News module links to detail pages

Posted: Fri Sep 27, 2019 3:36 pm
by bailiwick
CMSMS version 2.2.8

News summary template produces links to detail pages like:

Code: Select all

/news/68/98/my-article-is-cool/d,news-article.html
which result in 404's. If I remove the 'd,' in front of the actual file url (like below), it works and loads my detail page with the article:

Code: Select all

/news/68/98/my-article-is-cool/news-article.html
Things I've tried:

1.) googling/searching forums
2.) updating routes: system maintenance->cache and content->update routes
3.) started poking around in the module files and I easily see where the 'd,' is added to the link, but figured there has to be something else at play here or the 'd,' is there for a reason.

Notes:
I did migrate news articles database table from previous site this one and that site is running a much older CMSMS version (1.11.13).

Any help is greatly appreciated!

Re: News module links to detail pages

Posted: Sat Sep 28, 2019 9:42 am
by velden
It's not an anwser to your question but it's strongly adviced to upgrade your website to the latest versions of CMSMS (2.2.12).

https://newsletter.cmsmadesimple.org/w/ ... J3M3e7tmcg

I'm not aware of any fixes to the News module, so upgrading will probably not fix this issue for you.

Re: News module links to detail pages

Posted: Wed Oct 02, 2019 9:06 pm
by johnboyuk1
Am assuming you must be using pretty URLs? Is it something to do with that? Have you tried turning pretty URLs off and checking it works without first?

I've never seen a 'd,' in my URLs with Pretty URLs running... have you tried setting the 'Default Detail page' in the News module options?

Re: News module links to detail pages

Posted: Wed Oct 02, 2019 10:48 pm
by DIGI3
Does the problem persist for newly created articles, or just the ones you imported?