This topic is locked

VPS migrate problem with email - Errors phpfunctions.php

11/26/2012 7:43:56 PM
PHPRunner General questions
A
Athlon author

Technical information

Error type 2

Error description fwrite() expects parameter 1 to be resource, boolean given

URL >>>/public/Upgrade/email_add.php?ferror=1&

Error file /var/data/public/Upgrade/include/phpfunctions.php

Error line 7114

SQL query insert into email (Your_Name, Your_Email, Your_Telephpone, Regarding, Message) values ('a', 'a@aol.com', '', 'Mandatory Induction', 'aa')
VPS install everything working but sending mail... php.ini is correct as far as i can see and main.cf has no disables, Rebooted server - still no go. CHmod files to 777, mail 777 etc and no difference.
Anyone had this experience on a fresh VPS. Can runner bypass the servers mail and use inbuilt?
Thanks,
Mike.

Sergey Kornilov admin 11/26/2012

PHPRunner will use whatever SMTP server you specified on Security->User login settings dialog. Make sure SMTP settings are correct there.

A
Athlon author 11/27/2012



PHPRunner will use whatever SMTP server you specified on Security->User login settings dialog. Make sure SMTP settings are correct there.


Guys I could really do with some help with this please if you can offer any clue as what is wrong.

I have set it up with a custom mail setup. It works fine on my Xammp install - sends all emails no problems.
When I upload it to the VPS i still get the exact same message. No emails are sent but the data is written to the table.I think it must be a file permission or something but as I am now using PHPrunners mail what could it be - any ideas where to start. The site runs without issue in all other aspects.

Sergey Kornilov admin 11/27/2012

PHPRunner doesn't have a built-in mail. You have to specify a proper mail server in PHPRunner settings under Security->User login settings dialog