Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: neoweb - syyskuu 25, 2011, 03:29:13 IP

Otsikko: error: 8: Undefined index: board_forum
Kirjoitti: neoweb - syyskuu 25, 2011, 03:29:13 IP
Hello

I run 2 forums and one of them just stopped working?

In my template there is a variable: board_forum
But I get an error?
8: Undefined index: board_forum

See: http://www.neoweb.nl/forum2/index.php

In my code it stops at this line:

<td width="100%" class="titlebg" align="left">', $txt['board_forum'], '</td>

Where is it defined?
Otsikko: Re: error: 8: Undefined index: board_forum
Kirjoitti: Illori - syyskuu 25, 2011, 03:47:43 IP
then board_forum has not been declared in any of your language files and needs to be added.
Otsikko: Re: error: 8: Undefined index: board_forum
Kirjoitti: neoweb - syyskuu 25, 2011, 04:00:23 IP
Thanx already a bit..

Maybe another stupid question, but where is the languagefile located?
Otsikko: Re: error: 8: Undefined index: board_forum
Kirjoitti: neoweb - syyskuu 25, 2011, 04:02:27 IP
/forum/Themes/default/languages

Got it
Otsikko: Re: error: 8: Undefined index: board_forum
Kirjoitti: Illori - syyskuu 25, 2011, 04:31:55 IP
and did you add the string and make the error go away?
Otsikko: Re: error: 8: Undefined index: board_forum
Kirjoitti: neoweb - syyskuu 26, 2011, 04:05:57 AP
uhm.. this is a bit weird.

I did a search on the working site in all files on the ftp and there is only one file where board_forum is in.
Further I did a search on the database, and also there is NO board_forum ?? So where are those variables defined??
Otsikko: Re: error: 8: Undefined index: board_forum
Kirjoitti: Illori - syyskuu 26, 2011, 05:26:33 AP
in the language files as stated above.
Otsikko: Re: error: 8: Undefined index: board_forum
Kirjoitti: neoweb - syyskuu 26, 2011, 04:10:05 IP
I did the drastic thing: upgraded my forum to 2.0.1 ;-)
now it all works.