Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
search function in forum
Avatar
Peichih Wang
Member
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2012 - 8:54 am

Sorry, I list simple press in Chinese word.

The direct link is http://www.donjing.com/shishikeke/forum.

Thank you.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 24, 2012 - 10:09 am

Just gong back to the original question I am a little confused.

You said at the top of this thread that the search always results in 0 (zero) finds. Then later you say that it always results in a 404 page. These are very different results with very different reasons.

If it is indeed a 404 on every search then either - s I suggested - there is a url conflict with another plugin - or, and this is actually probably more likely - your host is running mod_security on your server as Steve suggested.

I would say the first thing to do is ask your host about this and if they have put mod_security in place ask if it can be removed or if the search url vars can be white-listed. Most hosts will usually accommodate this request.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Peichih Wang
Member
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2012 - 9:06 pm

Sorry, I didn't express clearly.

Ther results always shows 404 pages.

I try to build a testing site and only install simple-press / WP-member / WP-dTree.

But It still shows 404 page. I will ask my host about mod_security.

Thanks~   

                                 

Avatar
Peichih Wang
Member
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2012 - 9:08 pm

Dear Sir, 

Before I solve this issue, is there any way to disable or make search function to be unvisiable ?

Thank you

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2012 - 9:28 pm

you can edit the spHead.php template file in the sp theme you are using and remove the template function that displays the search form...

be sure to create your own theme vs editing one of ours:

http://codex.simple-press.com/.....g-a-theme/

Avatar
Peichih Wang
Member
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2012 - 9:42 pm

Thank you ~ 

It's a great help to me.

I try to create a topic with chinese word in your demo forum.

It also can't find out topic and article with chinese word.

But it won't show 404 error.

http://demo.simple-press.com/f.....emo-forum-1&value=%E4%B8%AD%E6%96%87%E6%90%9C%E5%B0%8B&type=1&include=1

I guess my web hoster  set security configuration to cause 404 error.

I will try to figure out. 

Thanks.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2012 - 10:18 pm

as mentioned earlier, we have a ticket open to investigate why searching wont work in chinese...

Avatar
Peichih Wang
Member
Free Members
sp_UserOfflineSmall Offline
Oct 25, 2012 - 12:41 am

Thanks for Mr. Papa's mentione ~

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 25, 2012 - 5:15 am

Out of interest - what is the character encoding being used on your database and database tables?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Peichih Wang
Member
Free Members
sp_UserOfflineSmall Offline
Oct 25, 2012 - 8:47 am

Hi, yellow Swordfinsh

The character set of my Data base is UTF8. 

Does any other thing I must set up  ? 

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625