Search results url's to news module broke (News 2.10.5)

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
User avatar
webform
Power Poster
Power Poster
Posts: 507
Joined: Sat Nov 25, 2006 3:39 pm

Search results url's to news module broke (News 2.10.5)

Post by webform »

I've moved a site to a new server and upgraded to latest version of CMSMS and now search result url's to news module is broke:

Search result before with article id:

Code: Select all

http://www.myolddomain.dk/index.php?mact=News,cntnt01,detail,0&cntnt01articleid=130&cntnt01returnid=77
Search result after - Now without article id:

Code: Select all

http://www.mynewdomain.dk/index.php?mact=News,cntnt01,detail,0&cntnt01returnid=77
Old site:
CMS Version
1.6.7
News
2.10.4
Search
1.6.1

New site:
CMS Version
1.7.1
News
2.10.5
Search
1.6.3

I've tried to clear cashe, delete templates_c, reset search index and reinstall Search Module but to no avail. I could also reinstall News Module but i have a ton of articles i dont want to lose.

Any suggestions what could be wrong?
Last edited by webform on Sun May 16, 2010 1:24 pm, edited 1 time in total.
User avatar
webform
Power Poster
Power Poster
Posts: 507
Joined: Sat Nov 25, 2006 3:39 pm

Re: Search results url's to news module broke

Post by webform »

Now i've tried to uninstall/reinstall both the News and Search Module without any change - Could it be a bug in News 2.10.5 or Search 1.6.3?

EDIT:
Yep it looks like a bug in News 2.10.5 - I've just tried replacing News 2.10.5 with News 2.10.4 and now the search result is correct!
Last edited by webform on Sun May 16, 2010 1:15 pm, edited 1 time in total.
User avatar
webform
Power Poster
Power Poster
Posts: 507
Joined: Sat Nov 25, 2006 3:39 pm

Re: Search results url's to news module broke (News 2.10.5)

Post by webform »

UPDATE:

I've discovered if i comment out "function SearchResultWithParams" in News.module.php  (News 2.10.5) the search result url is then correct!

I haven't seen any problems yet with commenting out the function!
klenkes
Power Poster
Power Poster
Posts: 307
Joined: Mon Sep 08, 2008 9:43 am

Re: Search results url's to news module broke (News 2.10.5)

Post by klenkes »

I noticed this too.

If you switch url_rewriting to "internal" or "mod_rewrite" in config.php it works. But set to "none" it doesn't.

Bug or feature?
Post Reply

Return to “CMSMS Core”