Welcome, Guest. Please login or register.

ShoutBox!

 

Skhilled

2024-03-24, 09:52:09
It may be released as early as today...if we all agree on it. ;)
 

Skhilled

2024-03-24, 09:37:46
Thank you, sir!  :)
 

Ken

2024-03-24, 09:28:38
I like it. Dark themes are not my first choice, but I like the crisp, clean lines.  :thumbup:
 

Skhilled

2024-03-24, 08:56:28
The original theme is here:

https://www.jpr62.com/demos/index.php
 

Skhilled

2024-03-24, 08:53:17
You can always see the latest previews here but registration is disabled:

https://skhilled.com/cztest/index.php
 

Ken

2024-03-24, 08:50:36
Any previews yet?
 

Skhilled

2024-03-24, 08:46:18
We almost have another theme completed.  :laugh:
 

Skhilled

2024-03-24, 08:45:18
What's up, bro?  :drinking:
 

Ken

2024-03-24, 08:42:45
Hi Steve.  :)
 

Skhilled

2024-02-21, 21:11:25
I missed that one. LOL

Recent Topics

TP Articles


Search in titles
Search in article texts

Author Topic: Broken Search Function!  (Read 3510 times)

0 Members and 1 Guest are viewing this topic.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11657
  • Gender: Male
  • View Gallery
Broken Search Function!
« on: September 25, 2017, 01:41:00 PM »
We seem to be experiencing a broken search function!  :o

I'm getting this error page when trying to do a search:
Code: [Select]
Fatal error: 'continue' not in the 'loop' or 'switch' context in /home/ourfamil/public_html/FamilyForum/Sources/SearchAPI-Custom.php on line 112
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 8972
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: Broken Search Function!
« Reply #1 on: September 26, 2017, 07:47:53 AM »
Yes, thought I had mentioned that before... I'm not sure what's going on with that. It's either PHP7 (but it's not doing it on my sites) or some kind of conflict somewhere...

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11657
  • Gender: Male
  • View Gallery
Re: Broken Search Function!
« Reply #2 on: September 26, 2017, 08:08:29 AM »
You might have mentioned it before... but me disremembers.  :o
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 8972
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: Broken Search Function!
« Reply #3 on: September 26, 2017, 08:40:29 AM »
I just checked your file against my file and that section is exactly the same. So, something else may be causing it somehow...

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11657
  • Gender: Male
  • View Gallery
Re: Broken Search Function!
« Reply #4 on: September 26, 2017, 05:21:07 PM »
While doing some maintenance in the Media Gallery dashboard I'm getting this error when doing the "Rebuild Item Thumbnails" function... just wondering if this is tied to the other error posted above?
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 8972
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: Broken Search Function!
« Reply #5 on: September 27, 2017, 07:47:22 AM »
That error is probably due to PHP7...

Offline Mick

Re: Broken Search Function!
« Reply #6 on: October 03, 2017, 01:36:45 PM »
Try this,

Open Sources/SearchAPI-Custom.php
Find
Code: [Select]
// Excluded phrases don't benefit from being split into subwords.
if (count($subwords) > 1 && $isExcluded)
continue;
Change to
Code: [Select]
// Excluded phrases don't benefit from being split into subwords.
if (count($subwords) > 1 && $isExcluded)
return;
Tinyportal.net Running SMF 2.1.4 / Tinyportal 3.0.0
Camera Craniums Running SMF 2.1.4 / Tinyportal 3.0.0, bridged with Coppermine 1.6.25
Guitarist Guild Running SMF 2.1.4 / Tinyportal 3.0.0
The Garden Machinery Forum Running SMF 2.1.4 / Tinyportal 3.0.0

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11657
  • Gender: Male
  • View Gallery
Re: Broken Search Function!
« Reply #7 on: October 03, 2017, 02:56:57 PM »
All right Mick!!!  :thumbup:

That works.  laughing7

"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Mick

Re: Broken Search Function!
« Reply #8 on: October 03, 2017, 04:10:17 PM »
Cool, that's good to know.   :thumbup:

Just in case you think I've suddenly developed coding skills, I can assure you I haven't lol..  I found the answer here, https://www.simplemachines.org/community/index.php?topic=553979.0
Tinyportal.net Running SMF 2.1.4 / Tinyportal 3.0.0
Camera Craniums Running SMF 2.1.4 / Tinyportal 3.0.0, bridged with Coppermine 1.6.25
Guitarist Guild Running SMF 2.1.4 / Tinyportal 3.0.0
The Garden Machinery Forum Running SMF 2.1.4 / Tinyportal 3.0.0

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11657
  • Gender: Male
  • View Gallery
Re: Broken Search Function!
« Reply #9 on: October 03, 2017, 09:22:55 PM »
You could have remained mum and I would have never known.  laughing7
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 8972
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: Broken Search Function!
« Reply #10 on: October 04, 2017, 08:30:01 AM »
Mick, The Super Code Searcher...