Jump to content
mark1million

SITE_NAME: You have been marked as retired

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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....

Share this post


Link to post
Share on other sites
Guest lorathon

We had this happen when we swapped servers. We left the old server up just in case for about 2 months. One day a few pilots get the email with the SITE_NAME as the heading. Seems it was being sent from the old server. I manually retired everyone in the old DB to stop these from being sent. Then deleted the old stuff. Not sure if this is any help but.....

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...