Advertisement:

Author Topic: ADVANCE SEARCH problem in THEME ONE  (Read 771 times)

samaanuae

  • Newbie
  • *
  • Posts: 18
  • samaanuae.com
ADVANCE SEARCH problem in THEME ONE
« on: October 06, 2017, 10:49:46 pm »
I bought Theme ONE for my classified web in that theme i got some issues 1) Did Not get any result in advance search
2) Did not get verification e.mail for registration.I had checked all the parameters and setting which are ok...I try to contact the theme provider but still no answer....If any one knows the issues please help me to solve it.
http://samaanuae.com

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: ADVANCE SEARCH problem in THEME ONE
« Reply #1 on: October 06, 2017, 11:00:48 pm »
Hi. Your host is shared? If you search 4 character words you get results? Ask your host about the value of ft_min_word_len . i gues is 5 because I got search results when searching for dubai but not for rav4
« Last Edit: October 06, 2017, 11:05:58 pm by marius-ciclistu »

calinbehtuk

  • Sr. Member
  • ****
  • Posts: 450
Re: ADVANCE SEARCH problem in THEME ONE
« Reply #2 on: October 06, 2017, 11:03:33 pm »
You contact me where? If you bought the theme from osclass market you have an option to send me a message. By leaving a comment on my market that do not mean that you contact me, even so i answer there. But from where i see your email is not in my order list from my market, so i supose that you buyed this theme from osclass market.

For first issue read this, and the theme has nothing to do with search.
https://doc.osclass.org/Fine-Tuning_MySQL_Full-Text_Search_-_Improving_search
https://forums.osclass.org/development/improving-search/

Now for second issue, again the theme has nothing to do with sending emails, osclass script send emails and here you could have some bad settings on emails server or other issue, but this also is not related with the theme.
« Last Edit: October 06, 2017, 11:07:19 pm by calinbehtuk »

calinbehtuk

  • Sr. Member
  • ****
  • Posts: 450
Re: ADVANCE SEARCH problem in THEME ONE
« Reply #3 on: October 06, 2017, 11:24:04 pm »
Hi. Your host is shared? If you search 4 character words you get results? Ask your host about the value of ft_min_word_len . i gues is 5 because I got search results when searching for dubai but not for rav4

No Marius, i think is 4. The site is in 2 languages, if the ads are published with language Arabic and searched in English language, will not be displayed in results.
« Last Edit: October 06, 2017, 11:25:42 pm by calinbehtuk »

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: ADVANCE SEARCH problem in THEME ONE
« Reply #4 on: October 06, 2017, 11:28:15 pm »
Yes it's 4. You are right. Then searches for car won't get results in neither of the languages.

EDIT: There are 2 solutions:

1. VPS or dedicated host with ft_min_word_len= 2 or 3.
2. shared host with ft_min_word_len=4 and my solution:
https://stackoverflow.com/questions/43015613/how-to-modify-ft-min-word-len-4-to-ft-min-word-len-1-so-that-osclass-3-7-1-can-s


In both cases the indexes from the db must be regenerated.
« Last Edit: October 06, 2017, 11:52:44 pm by marius-ciclistu »

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: ADVANCE SEARCH problem in THEME ONE
« Reply #5 on: October 06, 2017, 11:56:09 pm »
Calin. Could my solution be transformed into a plugin? I neved made a pugin for osclass, that's why I ask you.