This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
I've broken something...
Started 16 years ago by fredgoodwin | 7 posts |
-
When I was playing around (call it playing as I'm not a good programer in PHP yet) I have put in INTRANET01 as the domain somewhere, and it is now causing an error when I try and save an email address in V 2.0:
UPDATE
ap_forms
setform_email
='info@xxxxx.com.au',esl_from_name
='MachForm',esl_from_email_address
='no-reply@intranet01',esl_subject
='{form_name} [#{entry_no}]',esl_content
='{entry_data}',esl_plain_text
='' where form_id='5'; Query failed: Out of range value adjusted for column 'esl_plain_text' at row 1Of course I think this is what has gone wrong, it could be something else.
How do I fix this.
Much thanks in Advance.
Posted 16 years ago # -
Try to follow the instruction I've posted here:
http://www.appnitro.com/forums/topic/mail-error?replies=2#post-1572MachForm Founder
Posted 16 years ago # -
Thanks. I will give that a go.
How do I change the no-reply@intranet01 entry?
Posted 16 years ago # -
On your config.php file, change this one:
define('NOTIFICATION_MAIL_FROM','');
to be:
define('NOTIFICATION_MAIL_FROM','your_email@yourdomain.com');
MachForm Founder
Posted 16 years ago # -
Both fixes Work a treat!!! Thanks Yuniar
Out of curiosity where is it pulling the intranet01 from?
Posted 16 years ago # -
Great!
When you don't specify any email, MachForm try to guess your current server name using some PHP variable, $_SERVER['SERVER_NAME']
Don't worry about this.
MachForm Founder
Posted 16 years ago # -
Cool and thanks again :)
Posted 16 years ago #
Reply
You must log in to post.