XMB Forum Software

[Resolved] Notice: Undefined index: xmbgroup

rho - 4-11-2012 at 12:31 AM

[b]Full Board URL:[/b] cant.show.it
[b]XMB Version:[/b] 1.9.11

Hi, I just installed the 1.9.11 (patch13) version of the XMB board, using Installatron.

I switched to debug mode, to find a problem with a language file that I tried to upload (typo, fixed) and noticed that there is a persistent error in many files/pages that are called:

Notice: Undefined index: xmbgroup in /home/user/domains/domain.com/public_html

/memcp.php(893) : eval()'d code on line 24
/viewthread.php(758) : eval()'d code on line 24
/u2u.php(71) : eval()'d code on line 6
/faq.php(108) : eval()'d code on line 24
/search.php(291) : eval()'d code on line 24

But not on the Addressbook, the Adminstrator settings page.

Anyone else have this problem? I uploaded a new language and a new theme, but this error appears with or without the defualt theme and language.

The forum is not public, so I can't offer a preview but it is a default install with no modifications so far (just installed it this morning).

Any thoughts would be very welcome!

Rho

kuba1 - 4-11-2012 at 12:37 AM

My guess is you are missing the xmbgroup language variable in the language file you are using. Have you tested in english?

go to admin control >> translations >> english >> details scroll all the way to the bottom and see if xmbgroup is there.

then see if that is there in the language translation you want to use.

rho - 4-12-2012 at 03:47 PM

Hi Kuba1,

Thank you for your reply. I checked out both language files and both did contain the xmbgroup variable.

However, I then looked in the database and noticed that the Dutch language did NOT have a blob in the xmbf_lang_text table for this language key. So, in effect, it was indeed missing! I discovered that the language file must end with an empty line, otherwise the last language definition is not stored. Good to know.

Happy you pointed me in the right direction.

Bye,

Rho


p.s. this question has now been answered / topic closed (for me)