utf8 language files update, and Language area blank screen

Started by Sabre™, September 23, 2009, 03:51:56 AM

Previous topic - Next topic

Sabre™

Howdy peeps,
I did the usual search and couldn't find if this had been addressed.
It's only a small matter, but still needs attention.

I installed many utf8 language files on a fresh install, and received a few of these errors:
Undefined variable: modSettings
and
Undefined offset: 28
in the index.{language}-utf8.php of these files:
albanian, kurdish_kurmanji, bangla, hindi and serbian_latin.

The global $modsettings is not there, which was an easy fix.
For the offset, they're all calling for  ' . $txt[28] . '  when I believe it should be  %1$s.
Is this correct?

Also when I click on the 'Edit Languages' tab, I get a white screen, so something has gone down the shute there.
There are no errors in the logs.
I recall the connection dropping out once, I don't know if that would have contributed to it.
I'm guessing by simply adding language files couldn't have done this, so could somebody please tell me which file(s) handle that area?

Thank You in advance.

I've also attached the fixed templates if that saves time to update them.
Cheers
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Sabre™

Quote from: Sabre™ on September 23, 2009, 03:51:56 AM
...when I click on the 'Edit Languages' tab, I get a white screen, so something has gone down the shute there.
There are no errors in the logs.
I recall the connection dropping out once, I don't know if that would have contributed to it.
I'm guessing by simply adding language files couldn't have done this, so could somebody please tell me which file(s) handle that area?

Thank You in advance.

Cheers
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


H

-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Sabre™

oooppss,
sorry mate, forgot all about it :D
Nope, I sorted it out after a little sleep and a fresh mind.

Cheers :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


H

-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Advertisement: