SITE_NAME: You have been marked as retired

HI Guys,

Something that i have just noticed today is when a pilot is retired he gets the email saying he is retired but in the subject it says SITE_NAME instead of the va name, im presuming that a php tag is missing there in the code, which file is that please?

Hi Mark,

It is coming from line 31 of the language file. (en.lang.php) Mine reads

'email.pilot.retired.subject' => SITE_NAME.': You\'ve been marked as retired',

and seems to work ok. Check and see what your says.

Hello,

I got notified from a pilot today, that he is getting the same message as Mark described.

I looked in the en.lang.php and saw, that the line 31 is exactly the same as you have posted here.

I am running 2.1.944 release.

/* Email stuff */
'email.inuse' => 'This email address is already in use',
'email.register.accepted.subject'	=> 'Your registration was accepted!',
'email.register.rejected.subject'	=> 'Your registration was denied!',
'email.pilot.retired.subject' => SITE_NAME.': You\'ve been marked as retired',

it must be another issue…

Hmpfh… I am not sure, maybe it has something to do with it being loaded out of the bootstrap, possibly before the site settings have been loaded.. I will look at it some more and see what the order is.

It should be in order, maybe that variable isn’t define()'d yet. Does this happen to all you guys?

i have this problem also its been there forever never look for the error thow

It should be in order, maybe that variable isn’t define()'d yet. Does this happen to all you guys?

Yes, I get this too.

Nabeeeeeellllll

Until we figure it out the easiest fix would be to just put your va name in place of SITE_NAME.