Moderators mark1million Posted November 8, 2010 Moderators Report Posted November 8, 2010 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? Quote
Administrators simpilot Posted November 8, 2010 Administrators Report Posted November 8, 2010 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. Quote
markusr Posted November 8, 2010 Report Posted November 8, 2010 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.... Quote
Guest lorathon Posted November 9, 2010 Report Posted November 9, 2010 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..... Quote
Administrators simpilot Posted November 9, 2010 Administrators Report Posted November 9, 2010 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. Quote
Administrators Nabeel Posted November 12, 2010 Administrators Report Posted November 12, 2010 It should be in order, maybe that variable isn't define()'d yet. Does this happen to all you guys? Quote
Moderators joeri Posted November 12, 2010 Moderators Report Posted November 12, 2010 i have this problem also its been there forever never look for the error thow Quote
TennShadow Posted November 12, 2010 Report Posted November 12, 2010 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. Quote
Moderators joeri Posted November 13, 2010 Moderators Report Posted November 13, 2010 Nabeeeeeellllll Quote
Administrators simpilot Posted November 13, 2010 Administrators Report Posted November 13, 2010 Until we figure it out the easiest fix would be to just put your va name in place of SITE_NAME. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.