News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Error in GenericControls

Started by ncrobin, October 15, 2011, 12:26:02 AM

Previous topic - Next topic

ncrobin

I'm running 2.0.1, and when I check the error log this is whats coming up the most:

File:[directory]/forums/Themes/default/GenericControls.template.php
Line: 131

This is what the line looks like
==>131: sDescription: ', JavaScriptEscape($tag['description']), ',

I'd appreciate any help in fixing the coding error, or determining what else could be wrong, since it's not exactly affecting forum functionality yet I'd rather not see an error like this at all. Thanks in advance.

live627

Nothing to go on. Post the error message.

ncrobin

That is the error message, when I check my error log it's listed by nearly all of my frequent members. It just says there's an error in line 131, and that's what my line 131 looks like. I don't know what it should look like.

It's usually along with another error (sub forum url and directory for the personal info)

[forum url]=post;msg=32362;topic=1625.0

8: Undefined index: description

File: [directory]/forums/Themes/default/GenericControls.template.php
Line: 131

emanuele

Do you have any bbc-related mod installed?


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

ncrobin

Not that I'm directly aware of, I installed about half of these, my admin installed the rest and converted some for 2.0.1. These are what are currently installed:

1.    Redirect Banned Users    2.0    [ Uninstall ] [ List Files ] [ Delete ]
2.    Slashout Banned Members    1.2    [ Uninstall ] [ List Files ] [ Delete ]
3.    Drafts (for SMF 2.0 / SMF 1.1)    2.0.1    [ Install Mod ] [ List Files ] [ Delete ]
4.    Arcade Skin 2.5 RC1    1.0.0    [ List Files ] [ Delete ]
5.    Clabicons    1.0    [ Uninstall ] [ List Files ] [ Delete ]
6.    PM Readed    1.1    [ Uninstall ] [ List Files ] [ Delete ]
7.    SMF Arcade Trophies Mod    1.2    [ Uninstall ] [ List Files ] [ Delete ]
8.    SMFPacks Shoutbox    1.0.3    [ List Files ] [ Delete ]
9.    Enhanced Dropdown    1.3    [ Uninstall ] [ List Files ] [ Delete ]
10.    Happy Birthday    0.3    [ Uninstall ] [ List Files ] [ Delete ]
11.    Aeva ~ Auto-Embed Video & Audio    7.1    [ Uninstall ] [ List Files ] [ Delete ]
12.    vNES Integration    2.5    [ Uninstall ] [ List Files ] [ Delete ]
13.    Member NotePad    2.0.2    [ Uninstall ] [ List Files ] [ Delete ]
14.    Spoiler Tag    0.7.2a    [ Uninstall ] [ List Files ] [ Delete ]
15.    vGBX Integration    1.0    [ Uninstall ] [ List Files ] [ Delete ]
16.    Custom Form Mod    1.7    [ Uninstall ] [ List Files ] [ Delete ]
17.    Force Topic Read On Login Mod    2.1    [ Uninstall ] [ List Files ] [ Delete ]
18.    SMF Articles    1.4    [ Uninstall ] [ List Files ] [ Delete ]
19.    Member Awards    2.2.3    [ List Files ] [ Delete ]
20.    SMF Arcade    2.5 RC1.1C    [ List Files ] [ Delete ]

emanuele

Quote from: ncrobin on October 15, 2011, 03:31:05 PM
It's usually along with another error
Have the details of this other error wouldn't hurt... ;)


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

ncrobin

Oh, i included that error with it in my second post.
Quote from: ncrobin on October 15, 2011, 03:31:05 PM
That is the error message, when I check my error log it's listed by nearly all of my frequent members. It just says there's an error in line 131, and that's what my line 131 looks like. I don't know what it should look like.

It's usually along with another error (sub forum url and directory for the personal info)

[forum url]=post;msg=32362;topic=1625.0

8: Undefined index: description

File: [directory]/forums/Themes/default/GenericControls.template.php
Line: 131

Where it says 8: undefined index: description. I'm not sure if that's an error or part of THIS particular error.  It seems to be on posts (which that's a direct copy from a user's error in the log). And it's in the same area as the line 131 error. To note, we're also experiencing some small issues with the updated UTF-8 language packs, they seem to be a bit wonky but I don't know if that's contributing to this issue.

emanuele

Okay, since this is the error you are referring in the first post I though there was another one. ;)

Please attach your Subs-Editor.php.


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

ncrobin


emanuele

                        array(
'image' => 'csv',
'code' => 'csv',
'before' => '[csv=,]\n\n',
'after' => '[/csv]',
),

this bbcode tag (coming from this mod) doesn't have a  'description'.

Change it to something like:
                        array(
'image' => 'csv',
'code' => 'csv',
'before' => '[csv=,]\n\n',
'after' => '[/csv]',
'description' = '',
),

if you don't care about the description and the error will disappear.


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

ncrobin

Thanks a lot, I'll adjust that. Will that also fix the error showing up for GenericControls.template.php? Or is that unrelated?

emanuele

The things you posted are related to only 1 error.
And this will fix it.


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

ncrobin

Parse error: syntax error, unexpected '=', expecting ')' in /home/diviaroc/public_html/forums/Sources/Subs-Editor.php on line 1661

I found and replaced what you told me to, and then tried to test it by posting something new, and I got this error. Not sure what I did wrong, as I copied it directly.

And thanks for clarifying.

emanuele

yups, damned keyboard!! :P
                        array(
'image' => 'csv',
'code' => 'csv',
'before' => '[csv=,]\n\n',
'after' => '[/csv]',
'description' => '',
),


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

ncrobin

You're awesome. Thanks a lot!  :)

emanuele



Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Advertisement: