Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: davegior on January 01, 2012, 03:19:54 PM

Title: Error Log since updating Language Package
Post by: davegior on January 01, 2012, 03:19:54 PM
I just updated my English-uft8 and English from 1.0 to 2.0 and starting getting error codes in my Log.

http://breaktru.com/smf/index.php?action=admin;area=logs
8: Undefined index: httpBL_viewlogerror
File: /home/breagio1/public_html/smf/Sources/Admin.php
Line: 389

and

http://breaktru.com/smf/index.php?action=admin;area=logs
8: Undefined index: httpBL_viewlogpass
File: /home/breagio1/public_html/smf/Sources/Admin.php
Line: 388

two name a few..
Title: Re: Error Log since updating Language Package
Post by: Illori on January 01, 2012, 03:22:37 PM
you would need to install any language strings from your mods to your new language
Title: Re: Error Log since updating Language Package
Post by: davegior on January 01, 2012, 03:29:23 PM
Quote from: Illori on January 01, 2012, 03:22:37 PM
you would need to install any language strings from your mods to your new language

Should I remove the 2.0 language update then?
Title: Re: Error Log since updating Language Package
Post by: Illori on January 01, 2012, 03:33:46 PM
no but you need to make sure the mods have utf8 language files or you would need to create them.
Title: Re: Error Log since updating Language Package
Post by: davegior on January 01, 2012, 05:39:54 PM
Not sure if I understand how to do that.
Thank you Illori for your help
Title: Re: Error Log since updating Language Package
Post by: Illori on January 01, 2012, 05:41:51 PM
do you have a reason for using the utf8 language? if not then i would say it is fine to use the normal language.
Title: Re: Error Log since updating Language Package
Post by: davegior on January 01, 2012, 05:43:47 PM
No I don't, I'll try to select just English and see what happens.
Title: Re: Error Log since updating Language Package
Post by: davegior on January 01, 2012, 05:50:49 PM
Okay switched to English ISO. Do I still have to modify anything for Mods, still getting errors.
Noticed that only half of my members were swithced to English ISO and the other half remained at utf8
A couple are using foreign language
Title: Re: Error Log since updating Language Package
Post by: Illori on January 01, 2012, 05:53:04 PM
you should post in the mods support threads for further help on the errors, the authors would know best what would fix it.

did you reset the default language?

admin -> languages -> settings default forum language
Title: Re: Error Log since updating Language Package
Post by: davegior on January 01, 2012, 06:06:48 PM
Quote from: Illori on January 01, 2012, 05:53:04 PM
you should post in the mods support threads for further help on the errors, the authors would know best what would fix it.

did you reset the default language?

admin -> languages -> settings default forum language

Yes I did, It is set to English
Title: Re: Error Log since updating Language Package
Post by: Kays on January 01, 2012, 06:07:28 PM
Hi, davegior. :)

If you go to the page you downloaded the mod from. Under the the link to download the mod is a "Parse" button. Click on that and it should show you the edits made by that mod including the language strings added. Just re-add those strings to the appropriate language files. Since the non-UTF-8 English language strings are loaded first by default it shouldn't be necessary to add them to the English UTF-8 files.
Title: Re: Error Log since updating Language Package
Post by: davegior on January 01, 2012, 06:11:44 PM
Thanks Kay for your help as well.
I have several mods so I'm not sure which one is causing the problem.
Title: Re: Error Log since updating Language Package
Post by: Kays on January 01, 2012, 06:16:43 PM
That's an anti spam mod I think. http-BL

But it might be an idea to go though all of them to check if they added any language strings and to re-add them.
Title: Re: Error Log since updating Language Package
Post by: davegior on January 01, 2012, 06:21:54 PM
Quote from: Kays on January 01, 2012, 06:16:43 PM
That's an anti spam mod I think. http-BL

But it might be an idea to go though all of them to check if they added any language strings and to re-add them.

You hit it on the head, Yes I have http_BL
Title: Re: Error Log since updating Language Package
Post by: Kays on January 01, 2012, 06:35:20 PM
Let us know how it goes. :)

If succesfull, please click on the green "Mark Topic Solved" button below.
Title: Re: Error Log since updating Language Package
Post by: davegior on January 01, 2012, 06:37:36 PM
Not to go through the hassle of looking through code, I restored my original theme files and the errors have stopped.
I was getting about a thousand every 15 minutes.

Thank you for all your help.
Have a Happy New Year
Title: Re: Error Log since updating Language Package
Post by: Kays on January 01, 2012, 06:43:35 PM
Since you have a backup, that works also. :)

And a happy new year to you.
Title: Re: Error Log since updating Language Package
Post by: davegior on January 01, 2012, 06:51:37 PM
The only reason I updated was because my Language files showed that they were ver. 1.1
Title: Re: Error Log since updating Language Package
Post by: Kays on January 01, 2012, 06:55:53 PM
That's strange. There have been major changes made to the  the languaguge files in 2.0 and your error log would of been full of undefined index errors if that was the case.

What version are they showing at right now?
Title: Re: Error Log since updating Language Package
Post by: davegior on January 01, 2012, 07:33:46 PM
SMF is 2.0.2, language files are 1.1
Title: Re: Error Log since updating Language Package
Post by: davegior on January 01, 2012, 07:37:08 PM
Quote from: davegior on January 01, 2012, 07:33:46 PM
SMF is 2.0.2, language files are 1.1

I'm sorry, just looked at the English and it now shows 2.0
That is strange because before starting the Language file update, I could have sworn it was 1.1
Title: Re: Error Log since updating Language Package
Post by: Kays on January 01, 2012, 08:22:19 PM
Interesting. In checking why, it looks like all language files are checked for the oldest version number.

Do you have any older (1.x) language files on the server which are not in use?
Title: Re: Error Log since updating Language Package
Post by: davegior on January 01, 2012, 08:52:53 PM
Yes, I'm looking at 1.1, 1.15 and 2.0 seems the 2.0 remained when I uploaded my backup files.
Title: Re: Error Log since updating Language Package
Post by: Kays on January 01, 2012, 09:21:28 PM
So it's no longer a concern now?
Title: Re: Error Log since updating Language Package
Post by: davegior on January 01, 2012, 09:43:24 PM
Correct, errors for Language OKAY,
Thank you Kays
Title: Re: Error Log since updating Language Package
Post by: Kays on January 01, 2012, 10:02:54 PM
Great, you're welcome. :)