Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: !Hachi! on July 24, 2007, 05:17:20 AM

Title: Undefined index: username
Post by: !Hachi! on July 24, 2007, 05:17:20 AM
SMF Version: SMF 1.1.3
well i am getting error  in forum error log
Undefined index: username
              i don't know why its triggering but as we know i am missing this variable to register somewhere like in DB?
         if anyone is also suffering and got some clue please let me know will be great appreciated.
Regards.
Hassan.
Title: Re: Undefined index: username
Post by: Sarge on July 24, 2007, 05:48:51 AM
Can you post the complete error message?
Title: Re: Undefined index: username
Post by: !Hachi! on July 24, 2007, 06:09:27 AM
oops my bad.sorry.
here it is
8: Undefined index: username
File: /home/public_html/forum/Sources/Search.php
Line: 1748

and here is the code
$context['search_results'][]=array('id'=>$message['ID_TOPIC'],'subject'=>$message['subject'],'board_id'=>$message['ID_BOARD'],'board_name'=>$message['bName'],'member_name'=>$memberContext[$message['ID_MEMBER']]['username'],'member_id'=>$message['ID_MEMBER'],'last_member_name'=>$message['last_member_name'],'last_member_id'=>$message['last_member_id']);
Title: Re: Undefined index: username
Post by: Sarge on July 24, 2007, 06:13:12 AM
List of mods installed?
Title: Re: Undefined index: username
Post by: !Hachi! on July 24, 2007, 06:49:05 AM
Who Voted What?      1.1.2       [ List Files ]  [ Delete ]
2.    Custom Profile Field Mod    3.16    [ Uninstall ] [ List Files ] [ Delete ]
3.    Global Headers Footers    1.3    [ List Files ] [ Delete ]
4.    Enchanced post template    1.0.2    [ Uninstall ] [ List Files ] [ Delete ]
5.    User Control Panel By Alan S    1.1    [ Uninstall ] [ List Files ] [ Delete ]
6.    Contact Page    1.0    [ List Files ] [ Delete ]
7.    RSS Feed Icon    1.1    [ List Files ] [ Delete ]
8.    Monthly Statistics on Profile    1.0    [ Uninstall ] [ List Files ] [ Delete ]
9.    SMF Staff Page    1.5.1    [ List Files ] [ Delete ]
10.    Global Announcements    1.0    [ Uninstall ] [ List Files ] [ Delete ]
11.    Avatars at Index Mod    1.4    [ Uninstall ] [ List Files ] [ Delete ]
12.    Seo 4 SMF    0.2.9.8    [ Uninstall ] [ List Files ] [ Delete ]
13.    Link Thumbnail    1.0    [ Uninstall ] [ List Files ] [ Delete ]
14.    SMF Poll Mod    1.0    [ List Files ] [ Delete ]
15.    TinyPortal    0.971    [ List Files ] [ Delete ]
16.    SMF 1.0.11 / 1.1.3 Update    1.1    [ Uninstall ] [ List Files ] [ Delete ]
17.    SmileyLimit    1.0    [ List Files ] [ Delete ]
18.    Googlebot & Spiders Mod    2.0.3    [ Uninstall ] [ List Files ] [ Delete ]
19.    Users Online Today Mod    1.4.0    [ Uninstall ] [ List Files ] [ Delete ]
20.    Enhanced Forum Statistics    1.0    [ Uninstall ] [ List Files ] [ Delete ]
21.    Profil Moderator Managment    1.0.0    [ List Files ] [ Delete ]
22.    TinyPortal    0.983    [ List Files ] [ Delete ]
23.    Invite    1.13
Title: Re: Undefined index: username
Post by: greyknight17 on July 25, 2007, 07:55:19 PM
Did you install any of these mods recently before this error showed up?

I searched a bit on this and one of these seems to be pointing to the Seo 4 SMF mod.
Title: Re: Undefined index: username
Post by: Sarge on July 27, 2007, 01:16:52 AM
A user of SEO4SMF 0.2.6.1 reported this same issue in the SEO4SMF forum:
http://www.webmasterstalks.com/seo-4-smf/0-2-6-1-released-t1037.0.html;msg7987#msg7987

The same line is there in 0.2.9.8, which is the version you are using. However, SEO4SMF is a mod and the best place to ask for support for it is over at http://www.webmasterstalks.com/seo-4-smf/.