TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 02, 2024, 12:25:17 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,176
  • Total Topics: 21,220
  • Online today: 113
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 99
  • Total: 99

Undefined index: Global_character_set error

Started by Skhilled, July 18, 2010, 06:27:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IchBin

Hmm... I don't see any problems with the code I posted, could you attach the file so I can look at it?

Ken.

Quote from: IchBin on July 22, 2010, 03:40:28 PM
Hmm... I don't see any problems with the code I posted, could you attach the file so I can look at it?

Sure thing, the edited file is attached... do you need to see a copy of the working files?

Ps: Is my issue different than the one posted by Skhilled?
It was not my intention to hijack Steve's topic so maybe my part should be split out into a separate topic. 
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

IchBin

Nah, it's still the same issue but just in a different spot really. You did make a booboo. In my post above I said to add the line right after the global line in the doTPfrontpage() function. You added this code:

doTPfrontpage()

Instead of this code:
$context['character_set'] = empty($modSettings['global_character_set']) ? (empty($txt['lang_character_set']) ? 'ISO-8859-1' : $txt['lang_character_set']) : $modSettings['global_character_set'];

:D

Attached the fixed file.

Ken.

Quote from: IchBin on July 22, 2010, 06:01:35 PM
You did make a booboo. :D

What?




Thanks Brad, that file works... no more errors.  O0
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

Skhilled

[quote author=Ken. link=topic=33022.msg265177#msg265177
It was not my intention to hijack Steve's topic

Yes, it was! LOL

Thanks, Brad. The original solution works for me works perfectly!  8)

EDIT: As you can see the quotes are not working correctly for me. I have even modified it to try and fix it several times but no joy.

starcad

Thanks Ichbin, I was having the same issue and that code seems to work.

Ken.

Quote from: Skhilled on July 25, 2010, 06:37:25 PM
Quote from: Ken. link=topic=33022.msg265177#msg265177
It was not my intention to hijack Steve's topic
/quote]

Yes, it was! LOL


" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.