News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Search Errors

Started by hcfwesker, February 03, 2011, 01:53:33 AM

Previous topic - Next topic

hcfwesker

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.




Nexusstorm

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. :)
Live life to the MAX!

hcfwesker

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.

Nexusstorm

Ah okay. NP wasn't mentioned in your post. I read your post as if members are seeing them. :)
Live life to the MAX!

hcfwesker


hcfwesker

this bump has been brought to you by hcfwesker.  8)

hcfwesker

I think a week's wait has been patient enough.

Bump?

hcfwesker

Still?  Noone?

Anyone?

*sadface*


Danny S.

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.

hcfwesker

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 :)

Danny S.

These haven't got on my nerves yet. At least I'm not getting bot attacks anymore!

hcfwesker

Well, my members search the site constantly, and each search brings up those 2 errors i listed above.

Danny S.

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.

hcfwesker

Yayyyyyyy!

Still nothing.

Buuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuump.

hcfwesker


Danny S.

I doubt we're the only ones with this issue...

hcfwesker

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.

Danny S.

No, I don't have any mods installed...

hcfwesker

Ok, that theory failed lol

Danny S.

My errors didn't appear until a fresh install of 2.0RC5.

Advertisement: