News:

Wondering if this will always be free?  See why free is better.

Main Menu

8: Undefined index:

Started by DWG, February 17, 2011, 01:45:50 PM

Previous topic - Next topic

DWG

Getting the following 3 errors every time I attempt to do anything:
8: Undefined index: mgallery_gallery
File: /home/artisans/public_html/Themes/AOG Core Theme 2010/index.template.php
Line: 720

8: Undefined index: notes_nojs_click
File: /home/artisans/public_html/Themes/AOG Core Theme 2010/index.template.php
Line: 697

8: Undefined index: notepad
File: /home/artisans/public_html/Themes/AOG Core Theme 2010/index.template.php
Line: 696

We do have a lot of mods:
Mod Name    Version    
1.    SMF 1.0.20 / 1.1.12 Update    1.0    [ List Files ] [ Delete ]
2.    SMF 1.0.16 / 1.1.8 Update    1.0    [ List Files ] [ Delete ]
3.    Profile Fields & Icons Mod    1.0    [ Uninstall ] [ List Files ] [ Delete ]
4.    FlashChat Integration    1.0    [ Uninstall ] [ List Files ] [ Delete ]
5.    Karma Description Mod    2.6.8    [ List Files ] [ Delete ]
6.    SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update    1.1    [ List Files ] [ Delete ]
7.    SMF 1.0.20 / 1.1.12 Update    1.0    [ List Files ] [ Delete ]
8.    CustomBox    v1.0    [ List Files ] [ Delete ]
9.    PM Popup - Uses Active Window    1.3    [ Uninstall ] [ List Files ] [ Delete ]
10.    SMF 1.0.19 / 1.1.11 Update    1.0    [ List Files ] [ Delete ]
11.    SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update    1.0    [ List Files ] [ Delete ]
12.    Admin member list registration date    1.1    [ Uninstall ] [ List Files ] [ Delete ]
13.    DisableTemplateEval    1.2    [ Uninstall ] [ List Files ] [ Delete ]
14.    SMF Gallery Lite    3.0.3    [ Uninstall ] [ List Files ] [ Delete ]
15.    Display Name On Registration    1.9    [ Apply Mod ] [ List Files ] [ Delete ]
16.    Hide Signatures from Guests    2.0    [ Uninstall ] [ List Files ] [ Delete ]
17.    User Control Panel Icons    1.0    [ Uninstall ] [ List Files ] [ Delete ]
18.    FantasticSmileys    1.0    [ Apply Mod ] [ List Files ] [ Delete ]
19.    Welcome Topic Mod    2.1    [ Apply Mod ] [ List Files ] [ Delete ]
20.    Reply Button in All Posts    1.0    [ Uninstall ] [ List Files ] [ Delete ]
21.    SMF 1.0.16 / 1.1.8 Update    1.0    [ List Files ] [ Delete ]
22.    User Email System    1.3    [ Uninstall ] [ List Files ] [ Delete ]
23.    Thumbnail Topic Mod    1.2    [ Uninstall ] [ List Files ] [ Delete ]
24.    New In Topic View    1.1    [ Uninstall ] [ List Files ] [ Delete ]
25.    Custom Tab    1.2    [ Uninstall ] [ List Files ] [ Delete ]
26.    Ad Managment    2.3    [ Uninstall ] [ List Files ] [ Delete ]
27.    Member NotePad    1.0.0    [ Uninstall ] [ List Files ] [ Delete ]
28.    SMF 1.0.20 / 1.1.12 Update    1.0    [ List Files ] [ Delete ]
29.    SMF 1.0.21 / 1.1.13 Update    1.0    [ Uninstall ] [ List Files ] [ Delete ]
30.    Custom Field On Posting    1.2    [ Uninstall ] [ List Files ] [ Delete ]
31.    Tidy Child Boards    1.3    [ Uninstall ] [ List Files ] [ Delete ]
32.    Indicator On Board    1.1    [ Uninstall ] [ List Files ] [ Delete ]
33.    Happy Birthday    0.2.2    [ Uninstall ] [ List Files ] [ Delete ]
34.    Reason For Editing Mod    2.3.2    [ Uninstall ] [ List Files ] [ Delete ]
35.    Fix Session Verification for Polls    1.0    [ List Files ] [ Delete ]
36.    SMF 1.0.20 / 1.1.12 Update    1.0    [ List Files ] [ Delete ]
37.    Change Theme Permission    1.0    [ Uninstall ] [ List Files ] [ Delete ]
38.    Skype Integration    1.0    [ Uninstall ] [ List Files ] [ Delete ]
39.    Auto Refresh Who Index    1.0    [ Uninstall ] [ List Files ] [ Delete ]


Matthew K.

It appears as if those are text strings that are not being defined. Do you see labels for the menu items "Gallery" and "Notepad"?

DWG

Gallery is there, but not Notepad

Matthew K.

I would suggest going to the mods pages, parsing the mods, and redoing the language string edits.

Unless you're using UTF-8, in that case, you'll want to duplicate the english.php edits in all english-utf8 files, if that makes sense.

DWG

Quote from: Labradoodle-360 on February 17, 2011, 03:19:40 PM
parsing the mods, and redoing the language string edits.
Which mods? All of them??

Quote from: Labradoodle-360 on February 17, 2011, 03:19:40 PM
Unless you're using UTF-8, in that case, you'll want to duplicate the english.php edits in all english-utf8 files, if that makes sense.
Makes sense.

Matthew K.

Just for the gallery, and the notepad.

And are you using UTF-8? If so, that's probably why.

DWG

Not using UTF-8. Biggest problem is that another Admin went and deleted all of the uninstalled mods, so now I have no idea which actual mods were at one time being used. It appears that this is not going to be an easy task finding the root cause of the errors.

Kays

Hi, can you attach index.template.php to a post and I'll look into this.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

DWG

One besides the one in the opening post of this topic?

Kays

Oops, sorry I missed that. ::)

The code there looks good; Check modifications.{language}.php to see if the language strings for the notepad mod are there. Also check for those for the gallery mod.


If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Matthew K.

Seems to be what I said. The code does look fine, and if it's not being defined, it has to be a language file issue, really.
Quote from: Kays on February 17, 2011, 09:04:50 PM
Oops, sorry I missed that. ::)

The code there looks good; Check modifications.{language}.php to see if the language strings for the notepad mod are there. Also check for those for the gallery mod.



Kays

#11
Yah, my bad. I shouldn't be posting when I'm distracted by other things. ::)

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

DWG

Whoops - my bad - I was not looking at the error message - it plainly says AOG Core Theme 2010/index.template.php
I previously uploaded the index.template.php from the Default theme

Attached is the one from AOG Core Theme 2010/index.template.php

Matthew K.

Just reviewed the file, and all looks in-tact. Did you check the language files as Kays and I suggested above?

DWG

Yes - checked language files - mgallery_gallery, notes_nojs_click and notepad are not in there.

No longer using SMF Media Gallery (mgallery_galery) or Notepad and not sure just what notes_nois_click are.

None of these are in the Default Theme, however they are showing up in our AOG Core Theme 2010 index.template.php - so now I have identified that the problem children are in that theme - question is what do I need to do to cleanly get rid of them?

Matthew K.

Wait, you're no longer using the mods? That would be why then, you need to remove it's edits in index.template.php

DWG

Quote from: Labradoodle-360 on February 18, 2011, 03:57:34 PM
you need to remove it's edits in index.template.php

What EXACTLY do I need to remove? I certainly do no want to screw up anything else.

DWG

#17
Finally got it sorted.

Matthew K.

Meh, sorry I couldn't have helped you. I've not had much time at the computer recently. I apologize.

Glad to see you got it figured out though,
Labradoodle-360

Advertisement: