Customizing SMF > SMF Coding Discussion

Assistance with an undefined index error

(1/2) > >>

bulliedog:
Hi,

I just installed a fresh version of SMF RC1 to a different directory from beta 5 with its own database so that I can test its new feautures prior to going live.  I converted my beta 5 template (theme) over to work with RC1.  Everything seems to work fine except for when I log into the admin center.  Where is normally says "Welcome Lord Goliath!" I now see this:


--- Code: ---Notice: Undefined index: hello_guest in /www/u/username/htdocs/forum2/Sources/Load.php(1090) : eval()'d code on line 73 Lord Goliath!
--- End code ---


The language files have to be up to date since this is a clean install.  I think it must be my template somehow because it works fine with classic and default.  Any ideas where to start looking?

Thanks,

James

[Unknown]:
It must be pointing to the old language files, or something.... can you check the directories, urls, and paths in Theme and Layout Settings?  For every theme, including most importantly default?

-[Unknown]

bulliedog:
Ok, I checked and they are all pointing to:

 ../forum2/Themes/classic, default, bulldogdomain01 (respectively)

[Unknown]:
Can you verify that index.english.php in Themes/default/langauges has a $txt['hello_guest'] in it?

-[Unknown]

bulliedog:
This is what I have on line 160 of index.english.php:

$txt['hello_guest'] = 'Welcome,';

 ???

Navigation

[0] Message Index

[#] Next page

Go to full version