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


  1. fredgoodwin
    Member

    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 set form_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 1

    Of 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 #
  2. yuniar

    Try to follow the instruction I've posted here:
    http://www.appnitro.com/forums/topic/mail-error?replies=2#post-1572


    MachForm Founder

    Posted 16 years ago #
  3. fredgoodwin
    Member

    Thanks. I will give that a go.

    How do I change the no-reply@intranet01 entry?

    Posted 16 years ago #
  4. yuniar

    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 #
  5. fredgoodwin
    Member

    Both fixes Work a treat!!! Thanks Yuniar

    Out of curiosity where is it pulling the intranet01 from?

    Posted 16 years ago #
  6. yuniar

    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 #
  7. fredgoodwin
    Member

    Cool and thanks again :)

    Posted 16 years ago #

RSS feed for this topic

Reply