News:

Wondering if this will always be free?  See why free is better.

Main Menu

Question on SMF forum search function

Started by basis, July 30, 2009, 09:21:35 AM

Previous topic - Next topic

basis

I recently moved my forum to a new host. I followed the instructions given in the docs to perform my backup.
http://docs.simplemachines.org/index.php?board=83.0

After moving over, the search function doesn't work. I can type in a search, and the forum will just display that it is in the process of searching and it never ends.

I am wondering is this an SQL issue? That I perhaps did not backup the original database incorrectly? Or is it more of an internal forum issue? ...

Because when I moved over to the new host, I had to hand over the physical forum files & SQL DB to upload etc. When it was completed, most of the layout looked similar to my original forum, however I noticed 2 changes...

1. The forum's title had change (Admin > Server Settings > Forum Title)
2. The Board Category's names had changed. (Boards > Modify Boards tab)

I was wondering if either of #1 or #2 might also affect the search?

Thanks in advance for any help or suggestions offered.
SMF Version: Ver 2.0.8
Running Mods:
SimplePortal v2.3.5 (disabled)
AEVA 7.2 (enabled)
Stop Spammer 2.3.9 (disabled)
Bad Behaviour mod 1.5.17 (disabled)

JimM

Is the only issue the search?  Does spell check work?  If the only issue is the search, try the following query in phpMyAdmin (What is phpMyAdmin?)

CREATE TEMPORARY TABLE tmp (test INT(4));

Post the result.
Jim "JimM" Moore
Former Support Specialist

basis

Quote from: JimM on July 30, 2009, 07:21:49 PM
Is the only issue the search?  Does spell check work?  If the only issue is the search, try the following query in phpMyAdmin (What is phpMyAdmin?)

CREATE TEMPORARY TABLE tmp (test INT(4));

Post the result.
Hi JimM, thanks for replying.

hmm... now that you mentioned it, spell check doesn't work as well. it 'stalls' just like when I try to attempt a search. what could be possibly wrong? I'll try the phpMyAdmin query, but I'm no longer admin so it would take time to get the result.
SMF Version: Ver 2.0.8
Running Mods:
SimplePortal v2.3.5 (disabled)
AEVA 7.2 (enabled)
Stop Spammer 2.3.9 (disabled)
Bad Behaviour mod 1.5.17 (disabled)

JimM

Usually this means you new host didn't include the dictionaries when php was compiled.  If you turn spell check off and the search works, then that is most likely the problem.
Jim "JimM" Moore
Former Support Specialist

basis

Quote from: JimM on July 30, 2009, 08:34:59 PM
Usually this means you new host didn't include the dictionaries when php was compiled.  If you turn spell check off and the search works, then that is most likely the problem.

yes! you are so right! when i disabled the spell check option, i could get abit further into the searching... well it turned up this error instead:

QuoteDROP command denied to user 'xyz'@'70.154.151.41' for table 'smf_tmp_log_search_topics'
File: /hsphere/local/home/xyz/forum.storum.org/Sources/Search.php
Line: 1010

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.9, while your database is at version 1.1.4. The above error might possibly go away if you execute the latest version of upgrade.php.

hmm my DB is ver 1.1.4?
SMF Version: Ver 2.0.8
Running Mods:
SimplePortal v2.3.5 (disabled)
AEVA 7.2 (enabled)
Stop Spammer 2.3.9 (disabled)
Bad Behaviour mod 1.5.17 (disabled)

JimM

The database version is an easy fix but you will need to be able to do it through phpMyAdmin.  Run this query:

UPDATE `smf_settings` SET `value` = '1.1.9' WHERE `variable` = 'smfVersion' LIMIT 1

Of course replace the smf_ with your prefix if you didn't use the default.
Jim "JimM" Moore
Former Support Specialist

basis

Thanks JimM. I'll let the host provider know about it and feedback how it went.
SMF Version: Ver 2.0.8
Running Mods:
SimplePortal v2.3.5 (disabled)
AEVA 7.2 (enabled)
Stop Spammer 2.3.9 (disabled)
Bad Behaviour mod 1.5.17 (disabled)

JimM

Sounds good.  I'll check back tomorrow.
Jim "JimM" Moore
Former Support Specialist

basis

It worked! ... sorta.

well search is back, but only if spellcheck is disabled.

how do i get search back WITH spellcheck? or am i gimped?
SMF Version: Ver 2.0.8
Running Mods:
SimplePortal v2.3.5 (disabled)
AEVA 7.2 (enabled)
Stop Spammer 2.3.9 (disabled)
Bad Behaviour mod 1.5.17 (disabled)

JimM

Can you post a phpinfo.php? (What is phpinfo.php?)

Contact your host with the spell check problem.  Ask them about the dictionaries being included.  Once that is done you should be able to turn spell check back on.
Jim "JimM" Moore
Former Support Specialist

basis

Quote from: JimM on July 31, 2009, 07:30:22 PM
Can you post a phpinfo.php? (What is phpinfo.php?)
Hi JimM, sent you a PM regarding the phpinfo.php. if there is anything amiss, do let me know. thx.

QuoteContact your host with the spell check problem.  Ask them about the dictionaries being included.  Once that is done you should be able to turn spell check back on.
will get them to try and update the dictionaries. i do hope they know what i'll be requesting from them :)
SMF Version: Ver 2.0.8
Running Mods:
SimplePortal v2.3.5 (disabled)
AEVA 7.2 (enabled)
Stop Spammer 2.3.9 (disabled)
Bad Behaviour mod 1.5.17 (disabled)

JimM

Everything looks ok.  Try the short script linked to this post and let me know what the outcome is.

http://www.simplemachines.org/community/index.php?topic=269852.msg1766472#msg1766472
Jim "JimM" Moore
Former Support Specialist

basis

Quote from: JimM on August 03, 2009, 10:41:53 PM
Everything looks ok.  Try the short script linked to this post and let me know what the outcome is.

http://www.simplemachines.org/community/index.php?topic=269852.msg1766472#msg1766472

sorry for the long absence. thx JimM for the link above. tested it and yes the dictionaries are borked. :( sigh.
SMF Version: Ver 2.0.8
Running Mods:
SimplePortal v2.3.5 (disabled)
AEVA 7.2 (enabled)
Stop Spammer 2.3.9 (disabled)
Bad Behaviour mod 1.5.17 (disabled)

JimM

Have you heard anything from your host about possibly fixing the problem?  Additionally it would be adviseable to upgrade to 1.1.10 at you earliest convenience. 
Jim "JimM" Moore
Former Support Specialist

basis

Quote from: JimM on August 14, 2009, 08:34:16 AM
Have you heard anything from your host about possibly fixing the problem?  Additionally it would be adviseable to upgrade to 1.1.10 at you earliest convenience.

well i don't know if they fixed it or not, we thought they did but clicking the spell check button brought up a pop-up window and then nothing. the window just froze there.

and when spell checker was active - it borked the search function as well - which just kept going and going and going ...

yeh i'll upgrade to 1.1.10 soon.
SMF Version: Ver 2.0.8
Running Mods:
SimplePortal v2.3.5 (disabled)
AEVA 7.2 (enabled)
Stop Spammer 2.3.9 (disabled)
Bad Behaviour mod 1.5.17 (disabled)

JimM

Doesn't sound like they have responded yet.  They could easily fix the problem.  Might think about looking for a new host.  If this is solved please mark it solved by clicking the Mark Topic Solved link at the bottom left of the page.
Jim "JimM" Moore
Former Support Specialist

Advertisement: