Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: hcfwesker on February 03, 2011, 01:53:33 AM

Title: Search Errors
Post by: hcfwesker on February 03, 2011, 01:53:33 AM
SMF2 RC4   http://www.brawldomain.com


When any member uses the Search fuction, these errors pop up in the Error Log.  I do have the Search Focus MOD installed, and went there for support, but wasn't the cause of the errors.  I've also attached the php file here.

http://www.brawldomain.com/index.php?action=search2

8: Undefined index: title

File: /home/*****/public_html/Themes/Dark_Domain/index.template.php
Line: 517


http://www.brawldomain.com/index.php?action=search2

8: Undefined index: href

File: /home/******/public_html/Themes/Dark_Domain/index.template.php
Line: 516





This is the lines it's referring to, where "title" and "href" are mentioned.

foreach ($context['menu_buttons'] as $act => $button)
{
echo '
<li id="button_', $act, '">
<a class="', $button['active_button'] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '>
<span class="', isset($button['is_last']) ? 'last ' : '', 'firstlevel">', $button['title'], '</span>
</a>';



This is one of the few errors I have left after upgrading to SMF2 RC4

Thank You for any support on this.



Title: Re: Search Errors
Post by: Nexusstorm on February 03, 2011, 02:06:48 AM
Hey hcfwesker,

I'm only a newbie to the community, but went to your forum registered as Nexusstorm, I tried to d a search with using Chrome and the did not come back with any errors. I searched the entire forum for mario and got 30 hits off your gorum and can read all of theose as well as click on them to enter the entire thread. HAve also tried it with Safari and Firefox and no issues.

Sorry I don't have IE on this machine I am using at the moment due OS, but it could be a browser issue.

Might want to supply more info for the SMF staff to help you faster. :)
Title: Re: Search Errors
Post by: hcfwesker on February 03, 2011, 02:19:03 AM
You won't see the errors, unless you have admin access to the Error Log ;)

But thanx for trying to help.  the search works fine for members, yes, but the errors in the error log, I'd like to take care of.
Title: Re: Search Errors
Post by: Nexusstorm on February 03, 2011, 02:27:12 AM
Ah okay. NP wasn't mentioned in your post. I read your post as if members are seeing them. :)
Title: Re: Search Errors
Post by: hcfwesker on February 04, 2011, 06:31:25 AM
Anyone have a solution?
Title: Re: Search Errors
Post by: hcfwesker on February 05, 2011, 05:50:21 PM
this bump has been brought to you by hcfwesker.  8)
Title: Re: Search Errors
Post by: hcfwesker on February 15, 2011, 07:57:49 PM
I think a week's wait has been patient enough.

Bump?
Title: Re: Search Errors
Post by: hcfwesker on February 25, 2011, 03:23:28 PM
Still?  Noone?

Anyone?

*sadface*

Title: Re: Search Errors
Post by: Danny S. on March 02, 2011, 09:16:38 AM
I'm experiencing this same issue. Here is my error message:

http://(removed).com/index.php?action=search2
8: Undefined index: href
File: /home/content/r/n/g/(removed)/html/Themes/default/Search.template.php (body_above sub template - eval?)
Line: 412



Notice mine are different line numbers. This was on a fresh re-install. No mods or packages.
Title: Re: Search Errors
Post by: hcfwesker on March 02, 2011, 03:24:49 PM
These 2 errors are still driving me up the wall :D  And NO ONE is responding with any solution.

At least I'm not alone now :)
Title: Re: Search Errors
Post by: Danny S. on March 02, 2011, 03:52:20 PM
These haven't got on my nerves yet. At least I'm not getting bot attacks anymore!
Title: Re: Search Errors
Post by: hcfwesker on March 02, 2011, 05:52:22 PM
Well, my members search the site constantly, and each search brings up those 2 errors i listed above.
Title: Re: Search Errors
Post by: Danny S. on March 03, 2011, 09:48:49 AM
Yeah, same for me. I guess my members don't use the search that often. I only get this occurring once or twice a day.
Title: Re: Search Errors
Post by: hcfwesker on March 04, 2011, 03:01:24 PM
Yayyyyyyy!

Still nothing.

Buuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuump.
Title: Re: Search Errors
Post by: hcfwesker on March 06, 2011, 02:53:24 PM
Support Failz!
Title: Re: Search Errors
Post by: Danny S. on March 06, 2011, 03:13:51 PM
I doubt we're the only ones with this issue...
Title: Re: Search Errors
Post by: hcfwesker on March 06, 2011, 03:38:04 PM
Hey, Danny, do you also have the custom buttons MOD on your site (the one that let's you add 6 custom buttons in the top menu) ?

I think that's what's causing it.
Title: Re: Search Errors
Post by: Danny S. on March 06, 2011, 04:46:10 PM
No, I don't have any mods installed...
Title: Re: Search Errors
Post by: hcfwesker on March 06, 2011, 05:11:43 PM
Ok, that theory failed lol
Title: Re: Search Errors
Post by: Danny S. on March 06, 2011, 06:04:49 PM
My errors didn't appear until a fresh install of 2.0RC5.
Title: Re: Search Errors
Post by: abraamz on April 19, 2011, 03:13:53 PM
Well it has been over a month but i got this after upgrading to smf 2.0 rc4 and i found that this seems to be a known  bug (http://dev.simplemachines.org/mantis/view.php?id=4637)
Title: Re: Search Errors
Post by: hcfwesker on April 19, 2011, 10:34:04 PM
Thank you for sharing our grief :)

Noone's come forward on this, so i guess we just have to tolerate the errors caused when members use the search function :(