Page 1 of 1

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

Posted: Sun May 16, 2010 10:05 am
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?

Re: Search results url's to news module broke

Posted: Sun May 16, 2010 1:08 pm
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!

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

Posted: Sun May 16, 2010 1:46 pm
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!

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

Posted: Mon May 17, 2010 7:32 am
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?