ElkArte Community

Title: undefined index in GenericBoards
Post by: Jorin on August 16, 2014, 01:11:47 am
I have some more, but I think I missed some changes in the language files you made.

Code: [Select]
Art des Fehlers: Undefiniert
Undefined index: link
http://forum.elkarte-erste-schritte.de/index.php?
Datei: /www/htdocs/w00f21f1/elkhilfe_forum/themes/default/GenericBoards.template.php (boardindex_outer_below sub template - eval?)
Zeile: 311

Art des Fehlers: Undefiniert
Undefined index: time
http://forum.elkarte-erste-schritte.de/index.php?
Datei: /www/htdocs/w00f21f1/elkhilfe_forum/themes/default/GenericBoards.template.php (boardindex_outer_below sub template - eval?)
Zeile: 311
Title: Re: undefined index in GenericBoards
Post by: emanuele on August 16, 2014, 03:41:45 am
Can you disable template evaluation (search "eval" in the admin search to find it, I don't remember where it is at the moment lol).

ETA: hmm... it seems to be exactly in that file and line, anyway a confirmation may help.
Does it happen in some specific circumstance or "always"?
Title: Re: undefined index in GenericBoards
Post by: emanuele on August 20, 2014, 10:02:29 am
I'm not sure what I was looking at when I wrote it was the correct file... :-\

I think it is in BoardIndex.template.php.
If it is so, I'm not sure how it could happen, because link and time are always set.

If you can disable the evaluation of templates, if/when the error comes back could you please post the new error message @Jorin?
Thanks! ;D
Title: Re: undefined index in GenericBoards
Post by: radu81 on January 05, 2015, 07:53:28 am
Same error for me, I disabled the template evaluation. The erros I got are:
Tipo di errore: Non specificato
8: Undefined index: time
http://www.skodaclub.it/index.php?action=collapse;c=2;sa=collapse;fbcbbab2a97a=7f49d8104e9268cc544178018a878b4fApplica /***/themes/default/BoardIndex.template.php
Riga: 309

I also have Undefined index: link on the same file and same row 309.
Row 309:
Code: [Select]
					', (!empty($context['latest_post']) ? $txt['latest_post'] . ': <strong>"' . $context['latest_post']['link'] . '"</strong>  ( ' . $context['latest_post']['time'] . ' )' : ''), ' - <a href="', $scripturl, '?action=recent">', $txt['recent_view'], '</a>
Title: Re: undefined index in GenericBoards
Post by: emanuele on January 05, 2015, 11:20:31 am
What url? The board index?
Title: Re: undefined index in GenericBoards
Post by: radu81 on January 05, 2015, 12:45:58 pm
2 of them for this link
Code: [Select]
http://www.skodaclub.it/index.php?action=collapse;c=2;sa=collapse;fbcbbab2a97a=7f49d8104e9268cc544178018a878b4f
other two for:
Code: [Select]
http://www.skodaclub.it/index.php?

all 4 errors are from the same user
Title: Re: undefined index in GenericBoards
Post by: emanuele on January 05, 2015, 02:34:41 pm
Do you have child boards of child boards? (I may try, but at the moment I don't have the development computer handy... :( )
Title: Re: undefined index in GenericBoards
Post by: radu81 on January 05, 2015, 02:41:34 pm
Sorry, but I don't know if I understand well. Do you mean sub boards? Like we have here on elkarte: Theme development, Sub-boards:
 Theme development archive. If so, no I don't have
Title: Re: undefined index in GenericBoards
Post by: emanuele on January 05, 2015, 04:09:28 pm
Yep, that was the question.

Well, I'm almost completely lost on this one...
Does that user have anything "special"?
Particular group?
Maybe he can see an empty board?
Maybe he has some boards in the ignore list?
Is moderator somewhere?
Title: Re: undefined index in GenericBoards
Post by: radu81 on January 05, 2015, 04:41:56 pm
Is a normal user, one of the most active. I'll post other errors if I will find them. I'll check later
Title: Re: undefined index in GenericBoards
Post by: emanuele on February 03, 2015, 04:29:37 pm
I was sure I heard about it not so long ago!

http://www.elkarte.net/community/index.php?topic=2434.msg16133#msg16133

Let' continue on the other discussion, just because there is a fix posted.