News:

Join the Facebook Fan Page.

Main Menu

Undefined Error: Index

Started by Chaos Dragon, September 25, 2009, 10:34:14 PM

Previous topic - Next topic

Chaos Dragon

Hello,

I did a search through the community for this and came across nothing...Some things were similar, but trying out the solutions that were posted did not work for this error.

http://domain.com/index.php?action=admin;area=securitysettings;b88f09d0e=2881a7a37a2dc204bece4af8801bd8b1
8: Undefined index: label
File: /home/user/public_html/doamin/Themes/default/GenericMenu.template.php
Line: 306

Code (Here is the first 17 lines before 306 and last 4 lines after 306) Select


// Print out all the items in this tab.
289: foreach ($tab_context['tabs'] as $sa => $tab)
290: {
291: if (!empty($tab['disabled']))
292: continue;
293:
294:if (!empty($tab['is_selected']))
295:{
296:echo '
297:<td class="maintab_active_first">&nbsp;</td>
298:<td valign="top" class="maintab_active_back">
299:<a href="', (isset($tab['url']) ? $tab['url'] : $scripturl . '?action=' . $menu_context['current_action'] . ';area=' . $menu_context['current_area'] . ';sa=' . $sa), $menu_context['extra_parameters'], isset($tab['add_params']) ? $tab['add_params'] : '', '">' , $tab['label'], '</a>
300:</td>
301:<td class="maintab_active_last">&nbsp;</td>';
302:}
303:else
304:echo '
305:<td valign="top" class="maintab_back">
==>306:<a href="', (isset($tab['url']) ? $tab['url'] : $scripturl . '?action=' . $menu_context['current_action'] . ';area=' . $menu_context['current_area'] . ';sa=' . $sa), $menu_context['extra_parameters'], isset($tab['add_params']) ? $tab['add_params'] : '', '">' , $tab['label'], '</a>
307:</td>';
308: }
309:
310:// the end of tabs


Would any one know how to rectify this?



"Never stop exploring new ideas, concepts and techniques, but never forget the old ones, they just may come in handy someday!"
"Don't give up! Otherwise you do not win and nothing gets accomplished!"
Einstein "Insanity is doing the same thing over and over again, and expecting different results..."
Do Not PM me for Support. They will be Ignored. Use the Threads the have been provided.

tyty1234

What mod(s) have you installed recently?
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Chaos Dragon

Actually that is the mod I recently installed....The others i have had on there for awhile and non showed errors in logs........

these are the mods I do have installed.
Avatar Optimization      1.0.1      
2.    Ad Managment    2.3.5    
3.    Good Post/Bad Post Mod    1.1.2    
4.    Avatar On Board RC1    2.1    
5.    Ban Link in Post    1.1
6.    SA Battle    0.8    
7.    Favicon    1.2    
8.    BoardHover Mod    1.4.3    
9.    Bookmarks    2.2.1    
10.    Custom_Greeting_Depending_on_Time    1.0    
11.    Child Dropdown for Board Index    1.1    
12.    Custom Copyright    1.1    
13.    DisableTemplateEval    1.1    
14.    Downloads System    1.2.6    
15.    EmailValidator    1.0    
16.    Google Search Your Site    1.0.0    
17.    PM Attachments    1.4    
18.    Add Honey Pot to Track IP    1.1
19.    JPG Thumbnails    2.0    
20.    Page Management    1.3    
21.    MCLegendII RC1    3.0
22.    Member Color Link    3.0.7    
23.    Mood Smileys    0.1    
24.    OS & Browser Detection    1.4    
25.    PaypalDonations    2.0    [ Apply Mod ]
26.    The Rules    1.2    
27.    Permissions Info    1.5    
28.    Pm Number in All Pages    1.0    
29.    Redirect Info Icon    1.0    
30.    Active Members In Topic    1.8    
31.    SA Battles (Gold Bonus)    1.0    
32.    SMF Articles    1.1.2    
33.    SimplePortal    2.3    
34.    SMF Project Tools    0.3003    
35.    SMF Quiz    1.0.8 beta2    
36.    Your Last Visit    1.1    
37.    Topic Solved    1.1    
38.    Users Online Today    1.5.4

"Never stop exploring new ideas, concepts and techniques, but never forget the old ones, they just may come in handy someday!"
"Don't give up! Otherwise you do not win and nothing gets accomplished!"
Einstein "Insanity is doing the same thing over and over again, and expecting different results..."
Do Not PM me for Support. They will be Ignored. Use the Threads the have been provided.

LP


Don't know if you figured this problem out yet or not, but I encountered something similar after writing my own mod recently.  I got that same error because I did not properly complete the tab_data for the admin menu names.  So, I'm thinking that one of the mods you recently added needs work after this section of code in it's admin file:
$context[$context['admin_menu_name']]['tab_data']
I am NOT recommending that you edit the mods files, but you may want to make the author of that mod aware that his mod may cause errors to be shown in the SMF logs.

I used the "Tabs for browsing the different ban functions" section of the ManageBans.php file as an example so I could get them right in my mod.

Aleksi "Lex" Kilpinen

Hi Chaos Dragon, is this an ongoing issue? Have you recently removed or added mods before this started to happen?
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Advertisement: