Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Yngwiedis on July 28, 2011, 06:23:10 AM

Title: title and href errors
Post by: Yngwiedis on July 28, 2011, 06:23:10 AM
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.
Title: Re: title and href errors
Post by: Yngwiedis on July 29, 2011, 12:37:26 PM
Some help please ?
Title: Re: title and href errors
Post by: Yngwiedis on July 30, 2011, 07:34:08 AM
I really need some help...
Title: Re: title and href errors
Post by: Yngwiedis on July 31, 2011, 11:13:38 AM
I am still waiting for some help...
Title: Re: title and href errors
Post by: [unplugged] on July 31, 2011, 11:21:00 AM
Attach that index.template.php.
Title: Re: title and href errors
Post by: Yngwiedis on July 31, 2011, 11:36:16 AM
OK here it is...
Title: Re: title and href errors
Post by: [unplugged] on July 31, 2011, 12:37:26 PM
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.
Title: Re: title and href errors
Post by: Yngwiedis on July 31, 2011, 12:43:19 PM
This is a standard block from SimplePortal.
Is not a custom one...

What you suggest me to do ?

Title: Re: title and href errors
Post by: [unplugged] on July 31, 2011, 12:49:50 PM
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 ;)).
Title: Re: title and href errors
Post by: Yngwiedis on July 31, 2011, 12:52:07 PM
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.
Title: Re: title and href errors
Post by: [unplugged] on July 31, 2011, 12:55:33 PM
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.
Title: Re: title and href errors
Post by: Yngwiedis on July 31, 2011, 12:58:08 PM
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...
Title: Re: title and href errors
Post by: [unplugged] on July 31, 2011, 01:06:38 PM
Ahh... That changes things a bit...lol

Let me go back now and see what I can come up with.
Title: Re: title and href errors
Post by: [unplugged] on August 02, 2011, 04:07:14 PM
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..
Title: Re: title and href errors
Post by: Yngwiedis on August 02, 2011, 04:14:20 PM
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.
Title: Re: title and href errors
Post by: Yngwiedis on August 05, 2011, 06:43:23 AM
Any progress ?
Title: Re: title and href errors
Post by: Hj Ahmad Rasyid Hj Ismail on August 05, 2011, 08:58:41 AM
Try removing this mod: 10.    6 Custom buttons / tabs with Sub Menus (4)    0.5
Title: Re: title and href errors
Post by: Yngwiedis on August 05, 2011, 09:09:23 AM
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.
Title: Re: title and href errors
Post by: Hj Ahmad Rasyid Hj Ismail on August 05, 2011, 09:55:42 AM
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.
Title: Re: title and href errors
Post by: Yngwiedis on August 05, 2011, 10:34:05 AM
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 :(
Title: Re: title and href errors
Post by: Hj Ahmad Rasyid Hj Ismail on August 05, 2011, 10:44:04 AM
Try removing this: Menu Order    0.2.6.
Title: Re: title and href errors
Post by: Yngwiedis on August 05, 2011, 10:56:43 AM
OK. We found the guilty mod...
After remove Menu Order mod i dont get any errors.
So... ?
Title: Re: title and href errors
Post by: Hj Ahmad Rasyid Hj Ismail on August 05, 2011, 11:23:10 AM
Simply don't use that mod for a while. Report your error to the mod author so that he can fix it. I think you can live without it for while. ;D
Title: Re: title and href errors
Post by: Yngwiedis on August 05, 2011, 11:32:58 AM
Hmmm... Is a must mod for my forum...
Really i cant live without it :)
Title: Re: title and href errors
Post by: Hj Ahmad Rasyid Hj Ismail on August 05, 2011, 11:53:10 AM
Quote from: Yngwiedis on August 05, 2011, 11:32:58 AM
Hmmm... Is a must mod for my forum...
Really i cant live without it :)
Not true. You can re-arrange your menu manually by editing them in the Subs.php. Why are you so afraid of loosing just one out of the so many mods?
Title: Re: title and href errors
Post by: Xarcell on August 05, 2011, 12:41:01 PM
try this....

look at your BoardIndex.template.php file. in the theme you are using. If there isn't one in your theme, ten look at the default(most likely).

Look for this:

template_info_center();

comment it out like so...

//template_info_center();

Then check and see if the errors are still appearing. This may help tracking down where the error is coming from.
Title: Re: title and href errors
Post by: Yngwiedis on August 06, 2011, 11:14:02 AM
Quote from: Xarcell on August 05, 2011, 12:41:01 PM
try this....

look at your BoardIndex.template.php file. in the theme you are using. If there isn't one in your theme, ten look at the default(most likely).

Look for this:

template_info_center();

comment it out like so...

//template_info_center();

Then check and see if the errors are still appearing. This may help tracking down where the error is coming from.

Hello...

This is not change anything.
I am still getting errors.

We already find what mod is creating the errors.
So we are ok for now.
I ask in the mod's thread.

Thank you very very much all...
Title: Re: title and href errors
Post by: Ricky. on August 06, 2011, 11:26:49 AM
Why don't you simply disable error loging ? You have so many error. .

Though nice decision to ask mod author for help!
Title: Re: title and href errors
Post by: Yngwiedis on August 06, 2011, 11:35:58 AM
Because if i disable error logging maybe i miss some important errors and is not so wise to do this ;)
Title: Re: title and href errors
Post by: Angelina Belle on September 01, 2011, 10:49:33 AM
It sounds like you have found the answer to your question, and are asking the mod's author for more help.
I hope you won't mind that I have marked this question as solved.
If you need to re-open it again, simply mark it as 'not solved'.
Title: Re: title and href errors
Post by: hcfwesker on September 01, 2011, 10:29:28 PM
This is an issue MANY smf users are having, and I haven't seen an actual fix for it yet.

All you hacve to do, is goto this SMF 2 support board, and search in "this board"

8: Undefined index: title

And it'll bring up 5 pages or different post/topics on these errors

Title: Re: title and href errors
Post by: mashby on September 01, 2011, 10:38:28 PM
Quote from: hcfwesker on September 01, 2011, 10:29:28 PM
This is an issue MANY smf users are having, and I haven't seen an actual fix for it yet.

All you hacve to do, is goto this SMF 2 support board, and search in "this board"

8: Undefined index: title

And it'll bring up 5 pages or different post/topics on these errors
Hard to fix 5 pages of errors that aren't happening here on SMF. It is typically the result of a mod installation gone bad which is why the typical reply is to ask in the support topic for the mod affecting the error. This particular topic has been marked as solved. If you are experiencing errors on your site, please start a new topic with the specifics of the errors, including SMF version, mods installed.