News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

title and href errors

Started by Yngwiedis, July 28, 2011, 06:23:10 AM

Previous topic - Next topic

Yngwiedis

Hello....

I am getting pages and pages of 2 errors:


http://www.vinilio.com/index.php?topic=204.msg867;topicseen
8: Undefined index: title
File: /home/vinilio/public_html/Themes/vinilio_team_bright/index.template.php
Line: 487


http://www.vinilio.com/index.php?topic=204.msg867;topicseen
8: Undefined index: href
File: /home/vinilio/public_html/Themes/vinilio_team_bright/index.template.php
Line: 486



Here is my installed mods list:

1.    Admin Notepad    2.0.1
2.    WYSIWYG Quick Reply    2.3
3.    Adk Blog    2.0
4.    SA Shop    0.7
5.    Arcade Skin 2.5 RC1    1.0.0
6.    Spoiler Tag    0.7.2a
7.    Tabbed smileys    0.3.7
8.    View Voters at Polls    1.0
9.    SMF Shop Lottery    1.0.1
10.    6 Custom buttons / tabs with Sub Menus (4)    0.5
11.    Add Stars To Profile    1.0.1
12.    Google Analytics Code    1.4
13.    ENotify    2.0.1
14.    SimpleAds    1.0.1
15.    Aeva Media    1.4w
16.    SA Chat    Beta 3 Rev41
17.    SMF Arcade v2.5 PDL Package    3.4
18.    SMFPets    0.2
19.    SimplePortal    2.3.3
20.    Greek translation of Aeva Media 1.3a    1.3a
21.    SMF Arcade PDL Jeza Edits    1.3
22.    SMF Arcade    2.5 RC1
23.    PaypalDonations    2.0
24.    Menu Order    0.2.6
25.    SMF Gallery Lite    3.1.1
26.    Additional Membergroups on Profile    1.1.2
27.    SA Facebook    2.0 RC Rev24
28.    Google Member Map    2.0.8
29.    Error Log Counter    1.0
30.    SimplePortal - Greek    2.3.3
31.    Calling Your twitter    2.5
32.    Off-Topic BBC Tag    1.1.2-rc3
33.    Greeklish to Greek    1.01
34.    Search Focus Dropdown    1.52
35.    Users Online Today    2.0 RC3
36.    Add GooglePlus to Posts    1.0
37.    newstaffblock    1.0
38.    Ultimate Profile    0.9.1
39.    Activity_Bar    1.0.1.3
40.    Align text with Smiley    1.2
41.    Birthday on Profile Summary v2    2.1
42.    Countdown BBCode    2.0
43.    Custom Copyright    1.0.2
44.    Default Avatar    2.1
45.    Disable 'last edit by...' for Administrators    1.2
46.    Enhanced Dropdown    1.3
47.    Enhancements to purge inactive members    1.2.1
48.    Enhanced PM Popup    1.0.1
49.    Float BBCODE    1.0.2
50.    Hidden Admin    1.0
51.    Join date and Location in Posts    1.2
52.    Karma Buttons    1.1
53.    Last Active On MemberList    1.4
54.    More Spiders    1.2


Can someone help me ?

Thank you very very much.
AmityHost.com - The Affordable Host

Yngwiedis

AmityHost.com - The Affordable Host

Yngwiedis

AmityHost.com - The Affordable Host

Yngwiedis

I am still waiting for some help...
AmityHost.com - The Affordable Host

[unplugged]

Attach that index.template.php.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Yngwiedis

AmityHost.com - The Affordable Host

[unplugged]

The only place I can see those errors coming from is the Πρόσφατα Θέματα (Recent Posts) sidebar you have. I just set up a quick test site and don't have a portal or anything installed, so I cannot check more than that. That should at least give you a good starting point for finding the cause.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Yngwiedis

#7
This is a standard block from SimplePortal.
Is not a custom one...

What you suggest me to do ?

AmityHost.com - The Affordable Host

[unplugged]

I would try asking at simpleportal.net. They would have a better understanding of it (and certainly be able to answer quicker than I could ;)).
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Yngwiedis

Are you sure those errors are not menu buttons related ?
Because from what i understand about the 2 code lines in my index.template.php file is about menu buttons, and i have 2 menu buttons related mods installed.
AmityHost.com - The Affordable Host

[unplugged]

The code in the index.template.php on the two mentioned lines are certainly dealing with the menu buttons, but the only place i found the ;topicseen was in that portal block. From all of the menu related tests I could run on my test site, I could not replicate that error.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Yngwiedis

#11
OK then let me help you a little more...

I get those errors on every page and link in my site except the Home one...
Every other page a user can see create those 2 errors.

Like this one:
http://www.vinilio.com/index.php?action=who
or this one:
http://www.vinilio.com/index.php?board=18.0

I just use those 2 links as my example...
Sorry for make you misunderstanding...
AmityHost.com - The Affordable Host

[unplugged]

Ahh... That changes things a bit...lol

Let me go back now and see what I can come up with.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



[unplugged]

I cannot seem to find a reason in that template file. Have you (or a mod) changed anything with the menu? Maybe in the Subs.php. Check the Subs.php for the buttons array. $buttons = array(
'home' => array(
'title' => $txt['home'],
'href' => $scripturl,
'show' => true,
'sub_buttons' => array(
),
'is_last' => $context['right_to_left'],
),


Both the title and the href are set there and will continue down for each menu button. I have just used the Home button as an example..
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Yngwiedis

Both of the button related mods have change the Subs.php.
One mod is giving you the ability to create new buttons and the other mod is giving you the ability to change the order of the buttons.

I attach my Subs.php because i cant find anything strange.
Maybe you can find something.

Thank you very much.
AmityHost.com - The Affordable Host

Yngwiedis

AmityHost.com - The Affordable Host

Hj Ahmad Rasyid Hj Ismail

Try removing this mod: 10.    6 Custom buttons / tabs with Sub Menus (4)    0.5

Yngwiedis

Hello...

I want to keep that mod. You want to remove it just to see if the errors gone ? Or you want to remove it permanent ?

Thank you very much.
AmityHost.com - The Affordable Host

Hj Ahmad Rasyid Hj Ismail

No one no for sure if that is the cause of the errors. So remove it temporarily until we are certain. It is just my hunch.

Yngwiedis

OK. I remove the mod and i clear my error log.
I browse various pages on my forum and i go to error log again.
No luck... Same errors :(
AmityHost.com - The Affordable Host

Advertisement: