News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Error message: Can someone tell me what this means?

Started by crash56, December 30, 2007, 08:41:13 AM

Previous topic - Next topic

crash56

Morning!

Version:  SMF 1.1.4
Mods:   1. Googlebot & Spiders Mod 2.0.3     
           2. FavIcon 1.1     
           3. Are You Human? Anti-Bot Registration Check 1.0   
           4. Wrap Text Around Image 1.0     
           5. Create Topic on Report to Moderator 0.2.1     
           6. Spoiler Tag 0.3.2     
           7. YouTube BBC Tag (XHTML Compliant) 1.0 

We are getting this error message:

8: Undefined index: brd
File: /home/terra2/public_html/Sources/Search.php
Line: 407

Line 407 in the Search.php says:

if (!is_array($_REQUEST['brd']) && !empty($_REQUEST['brd']))

Can someone tell me what needs to be adjusted? 

Thanks!

societyofrobots


crash56

I took a look at the line in the Search.php file from the 1.1.4 upgrade package, and the two lines are exactly the same.  So it doesn't look like I've "bent" it by installing a mod. 

<wanders off, still puzzled>

greyknight17

Try replacing that line of code you posted with:

if (!empty($_REQUEST['brd']) && !is_array($_REQUEST['brd']))

crash56

It's kind of early to tell, but it looks like that did it!  I'll give it a few hours and then come back and confirm that the error messages have stopped.

Thank you! 

greyknight17

That should do the trick ;)

I'll mark this as resolved. Let us know if you still have problems.

crash56

Just coming back to confirm ... that solved the problem.  No more error messages.  Thank you!   :D

Pip2andahalf

This also fixed the same problem I was having on my forum. Thank you all very much!

Advertisement: