Author Topic: Suche mit Stichwort "man" geht nicht  (Read 8811 times)

0 Members and 1 Guest are viewing this topic.

Offline Big J

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
    • http://www.aherma.ch
Suche mit Stichwort "man" geht nicht
« on: March 27, 2005, 03:06:39 PM »
Hallo Leute und frohe Ostern

Ich habe ein total komisches Problem mit der Gallery. Wenn ich mit dem Stichwort "man" (Mann auf Englisch) suche, findet das Script keine Bilder obwohl etliche Bilder dieses Wort als Stichwort haben. Wenn ich nun aber mit "men" (was für nicht englischsprechende Männer bedeutet) finde ich die Bilder. Da "man" ein total wichtiges Suchwort ist, muss ich das irgendwie zum laufen bringen.

Könnte mir hier jemand helfen?


My Problem is, that when I put "man" in the search field no pictures will be found, even if the searchwords are set correctly. But if I search with "men" the pictures will show up. I need to get this working because "man" is one of the most important searchwords.

Thanks for your help.

Cheers and Happy Easter




Ich freue mich jeden Tag aufs Neue!!!

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Suche mit Stichwort "man" geht nicht
« Reply #1 on: March 27, 2005, 06:58:56 PM »
that's why we have keywords fields, u must add them manualy.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline RoadDogg

  • Sr. Member
  • ****
  • Posts: 488
    • View Profile
    • Düsipixel
Re: Suche mit Stichwort "man" geht nicht
« Reply #2 on: March 28, 2005, 10:27:00 PM »
the pics in his gallery have the keywords men AND man...  :?:
For support requests please don´t forget link to your Gallery/to phpinfo.php
Code: [Select]
<?
phpinfo()
?>
safe_mode must turned OFF
Please check Error Messages

Offline Big J

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
    • http://www.aherma.ch
Re: Suche mit Stichwort "man" geht nicht
« Reply #3 on: March 29, 2005, 11:23:35 AM »
@ v@ano

The pictures have the keywords included. Each keyword works with the search form except the keyword "man".
Ich freue mich jeden Tag aufs Neue!!!

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Suche mit Stichwort "man" geht nicht
« Reply #4 on: March 29, 2005, 09:04:55 PM »
hmmm...and can u search for "man" from ACP (Admin Control Panel) ?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Big J

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
    • http://www.aherma.ch
Re: Suche mit Stichwort "man" geht nicht
« Reply #5 on: March 30, 2005, 11:52:21 AM »
Hi V@no
Thanks for your reply, and yes in the ACP the search works fine with "man".
Ich freue mich jeden Tag aufs Neue!!!

Offline RoadDogg

  • Sr. Member
  • ****
  • Posts: 488
    • View Profile
    • Düsipixel
Re: Suche mit Stichwort "man" geht nicht
« Reply #6 on: March 30, 2005, 12:56:39 PM »
Ich glaube ich habe es!

4images/lang/deutsch/stop_searchterms.txt

entferne MAN aus der Liste
For support requests please don´t forget link to your Gallery/to phpinfo.php
Code: [Select]
<?
phpinfo()
?>
safe_mode must turned OFF
Please check Error Messages

Offline Big J

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
    • http://www.aherma.ch
Re: Suche mit Stichwort "man" geht nicht
« Reply #7 on: March 31, 2005, 02:25:09 PM »
Hallo RoadDogg

Habs versucht, funktioniert aber leider nicht. :(

Schade
Ich freue mich jeden Tag aufs Neue!!!

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Re: Suche mit Stichwort "man" geht nicht
« Reply #8 on: March 31, 2005, 03:26:02 PM »
Beachte auch folgenden Abschnitt in includes/constants.php

Code: [Select]
// All words <= MIN_SEARCH_KEYWORD_LENGTH and >= MAX_SEARCH_KEYWORD_LENGTH
// are not added to the search index
define('MIN_SEARCH_KEYWORD_LENGTH', 3);
define('MAX_SEARCH_KEYWORD_LENGTH', 25);

Nach Änderung der Werte (auch bei Änderung der stop_searchterms.txt) solltest Du den Suchindex erneuern.
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline RoadDogg

  • Sr. Member
  • ****
  • Posts: 488
    • View Profile
    • Düsipixel
Re: Suche mit Stichwort "man" geht nicht
« Reply #9 on: March 31, 2005, 08:21:42 PM »
Nach dem neuen Suchindex muss es ja dann hinhauen  :!:
Habe so lange gesucht  :lol:
For support requests please don´t forget link to your Gallery/to phpinfo.php
Code: [Select]
<?
phpinfo()
?>
safe_mode must turned OFF
Please check Error Messages

Offline Big J

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
    • http://www.aherma.ch
Re: Suche mit Stichwort "man" geht nicht
« Reply #10 on: April 04, 2005, 07:59:49 AM »
Super, nun funktioniert es tipptopp.

Vielen Dank an alle die sich dieses Problems angenommen haben.
Ich freue mich jeden Tag aufs Neue!!!