sherming Posted January 1, 2013 Report Posted January 1, 2013 Hi everyone, recently I changed my website host into a new one that is Windows based. However, after that I did not receive emails anymore from phpvms, such as Pirep submitted,new pilots registration, password reset and many more. Does anyone have a fix to this? Thanks in advance Quote
Moderators Parkho Posted January 2, 2013 Moderators Report Posted January 2, 2013 Try changing your email address and send a manual pirep. Quote
sherming Posted January 4, 2013 Author Report Posted January 4, 2013 I changed the email address to my secondary email add, but still does not work Looks like I have to send manual emails from now on. But thanks for helping Quote
Moderators Kyle Posted January 4, 2013 Moderators Report Posted January 4, 2013 Hey Sherming, did you do that in the admin center and changed the email? Quote
sherming Posted January 4, 2013 Author Report Posted January 4, 2013 Yeah, I changed it in the admin center Quote
Fernando Posted January 5, 2013 Report Posted January 5, 2013 I had the same problem recently, I created an e-mail server's own noreplay@mysite.net I changed the admin phpvms, did the test and it worked ... do recommend a test. Website: www.voegolv.net By: Luiz Fernando Quote
sherming Posted January 5, 2013 Author Report Posted January 5, 2013 Did the test, but still does not work :/ Quote
Fernando Posted January 5, 2013 Report Posted January 5, 2013 Sherming. Strange, do the following, send the folder "Install" to your server. Then go to the following address. www.mysite.com / install / checkinstall.php after www.mysite.com / install / checkdb.php Check the results presents a mistake, you recently changed any module? Website: www.voegolv.net Quote
sherming Posted January 5, 2013 Author Report Posted January 5, 2013 I got this O.O this didnt appeared before during installation Install Check phpVMS Build Number: v2.1.935 Checking PHP version [OK] PHP version is 5.2.17.x ASP Tags [OK] ASP-style tags are disabled Checking connectivity... [OK] Can contact outside servers Checking for SimpleXML module... [OK] SimpleXML module exists! Checking file hashes for corrupt or mismatched files [Checksum failed] /admin/modules/Import/Import.php did not match, possibly corrupt or out of date [Checksum failed] /admin/modules/MassMailer/MassMailer.php did not match, possibly corrupt or out of date [Checksum failed] /action.php did not match, possibly corrupt or out of date [Checksum failed] /core/modules/ACARS/fsacars.php did not match, possibly corrupt or out of date [Checksum failed] /core/modules/ACARS/xacars.php did not match, possibly corrupt or out of date -- Checked 183 files, found 5 errors but the checkdb.php shows no problem Checking phpvms_acarsdata...OK Checking phpvms_adminlog...OK Checking phpvms_aircraft...OK Checking phpvms_airlines...OK Checking phpvms_airports...OK Checking phpvms_awards...OK Checking phpvms_awardsgranted...OK Checking phpvms_bids...OK Checking phpvms_customfields...OK Checking phpvms_downloads...OK Checking phpvms_expenselog...OK Checking phpvms_expenses...OK Checking phpvms_fieldvalues...OK Checking phpvms_financedata...OK Checking phpvms_fuelprices...OK Checking phpvms_groupmembers...OK Checking phpvms_groups...OK Checking phpvms_navdata...OK Checking phpvms_news...OK Checking phpvms_pages...OK Checking phpvms_pilots...OK Checking phpvms_pirepcomments...OK Checking phpvms_pirepfields...OK Checking phpvms_pireps...OK Checking phpvms_pirepvalues...OK Checking phpvms_ranks...OK Checking phpvms_schedules...OK Checking phpvms_sessions...OK Checking phpvms_settings...OK Checking phpvms_updates...OK Quote
Moderators Parkho Posted January 5, 2013 Moderators Report Posted January 5, 2013 Are you using a free host? cause some web hosts doesn't allow sending emails to info@yourdomain.com for example. Quote
Moderators Parkho Posted January 5, 2013 Moderators Report Posted January 5, 2013 Open you DB(Data base, click on "phpvms_settings" table and make sure the email address you saved is there. If it's there then open core/common/PIREPData.class.php go down around line 753 where you see the following and make sure its there: if (Config::Get('EMAIL_SEND_PIREP') === true) { # Send an email to the admin that a PIREP was submitted $sub = "A PIREP has been submitted by {$pilotcode} ({$pirepdata['depicao']} - {$pirepdata['arricao']})"; $message = "A PIREP has been submitted by {$pilotcode} " ."({$pilotinfo->firstname} {$pilotinfo->lastname})\n\n" ."{$pirepdata['code']}{$pirepdata['flightnum']}: {$pirepdata['depicao']} to {$pirepdata['arricao']}\n" ."Aircraft: {$pirepdata['aircraft']}\n" . "Flight Time: {$pirepdata['flighttime']}\n" ."Landing Rate: {$pirepdata['landingrate']}\n"."Filed using: {$pirepdata['source']}\n\n" ."Comment: {$comment}\n\n" ."Click to approve this pirep (admin must be signed in):\n" .adminurl('/pirepadmin/approvepirep/'.$pirepid); $email = Config::Get('EMAIL_NEW_PIREP'); if (empty($email)) { $email = ADMIN_EMAIL; } Util::SendEmail($email, $sub, $message); } And let us know what you do. Quote
sherming Posted January 5, 2013 Author Report Posted January 5, 2013 Ok it is there in the PIREPData.class.php Quote
sherming Posted January 5, 2013 Author Report Posted January 5, 2013 I have one question, does the mail require phpMailer to function? Cuz I dont see it in my control panel and I have it in my old host :/ Quote
Moderators Parkho Posted January 5, 2013 Moderators Report Posted January 5, 2013 in "phpvms_settings" table? Quote
sherming Posted January 5, 2013 Author Report Posted January 5, 2013 Yes also in the phpvms_settings table Quote
Moderators Parkho Posted January 5, 2013 Moderators Report Posted January 5, 2013 I don't recall phpMailer Quote
Moderators Parkho Posted January 5, 2013 Moderators Report Posted January 5, 2013 in the settings table you will need the email address saved as ADMIN_EMAIL. if it's not there the eamil won't be sent. Quote
sherming Posted January 5, 2013 Author Report Posted January 5, 2013 yeah my email address it set as the value for ADMIN_EMAIL Quote
Moderators Parkho Posted January 5, 2013 Moderators Report Posted January 5, 2013 and still no email? Quote
Moderators Parkho Posted January 5, 2013 Moderators Report Posted January 5, 2013 Wait let me check my cpanel. Quote
Moderators Parkho Posted January 5, 2013 Moderators Report Posted January 5, 2013 I don't know about plesk and mailerphp but cpanel doesn't have such option and is working just fine. You may want to check with you host provider see if they have any idea about this but I think if you have email accounts and email service activated on your website then there shouldn't be any problems. Have you been using phpVMS before or this is your first time? Quote
sherming Posted January 5, 2013 Author Report Posted January 5, 2013 Yeah I am using plesk (unfortunately), and yes my email account ceo@airmalaysiavirtual.com is working fine. I used phpvms before Quote
Moderators Parkho Posted January 5, 2013 Moderators Report Posted January 5, 2013 And was it sending emails on PIREP submit before? Quote
sherming Posted January 5, 2013 Author Report Posted January 5, 2013 Yes, on my previous host it does send emails to me Quote
Moderators Parkho Posted January 5, 2013 Moderators Report Posted January 5, 2013 And was your previous host plesk as well? 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.