Page 1 of 1

[solved] bug: pretty_url and search

Posted: Wed Aug 15, 2012 7:27 pm
by sirber
if I activate pretty_url, search doesn't work (finds no result), if I disable pretty_url, search works.

config.php:

Code: Select all

$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
$config['query_var'] = 'page';
.htaccess:
using the one from doc/htaccess.txt

using CMS Made Simpleā„¢ 1.11.1 "Baltra"
the {search} tag is in my main template used by all content pages.

[edit]

from the front page, URL is the same whit and whitout pretty_url:

Code: Select all

http://dev.lacitemedicale.com/?mact=Search%2Ccntnt01%2Cdosearch%2C0&cntnt01returnid=15&cntnt01searchinput=voyage&submit=Envoyer

Re: bug: pretty_url and search

Posted: Wed Aug 15, 2012 7:29 pm
by calguy1000
Works fine here.

Re: bug: pretty_url and search

Posted: Wed Aug 15, 2012 8:19 pm
by sirber
can be fixed by not using a reference for the event. I'll look in the SendEvent function.

Re: bug: pretty_url and search

Posted: Wed Aug 15, 2012 8:38 pm
by sirber

Re: [solved] bug: pretty_url and search

Posted: Thu May 09, 2013 9:46 pm
by GroeneKaktus
Hi Guys,

Experience the same problem here, when pretty urls are enabled, no search results are shown ! mod_rewrite off, all the results are there!
sirber wrote:can be fixed by not using a reference for the event. I'll look in the SendEvent function.
Sirber, what do you mean by not using a reference for the event?

Can anyone help me out?

CMSMS 1.11.6
Search 1.7.8

Thanks in advance!

Grtz,
Jeroen