[solved] bug: pretty_url and search

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
sirber
Forum Members
Forum Members
Posts: 12
Joined: Tue Apr 24, 2012 2:41 pm
Location: Québec, Canada

[solved] bug: pretty_url and search

Post 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
Last edited by sirber on Wed Aug 15, 2012 8:49 pm, edited 2 times in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: bug: pretty_url and search

Post by calguy1000 »

Works fine here.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
sirber
Forum Members
Forum Members
Posts: 12
Joined: Tue Apr 24, 2012 2:41 pm
Location: Québec, Canada

Re: bug: pretty_url and search

Post by sirber »

can be fixed by not using a reference for the event. I'll look in the SendEvent function.
sirber
Forum Members
Forum Members
Posts: 12
Joined: Tue Apr 24, 2012 2:41 pm
Location: Québec, Canada

Re: bug: pretty_url and search

Post by sirber »

GroeneKaktus
Forum Members
Forum Members
Posts: 46
Joined: Sat Mar 06, 2010 10:38 am

Re: [solved] bug: pretty_url and search

Post 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
Post Reply

Return to “CMSMS Core”