This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

Error #2049 when trying to upload file attachments


  1. compusol
    Member

    When trying to attach a file for upload to a form I am getting the following error message:

    [SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2049"]

    My host does not allow htaccess rewrites to disable mod_security so what options do I have to get around this problem?

    Posted 11 years ago #
  2. yuniar

    Can you let me know the URL of the page please?


    MachForm Founder

    Posted 11 years ago #
  3. compusol
    Member

    Sorry for the delay in getting back to you.

    The form is here:

    http://www.peeltrust.com/general_grants2.php

    Posted 11 years ago #
  4. yuniar

    This seems to be cross domain issue.
    The page where you embed the form is located at "http://www.peeltrust.com", while the form seems to refer to "http://peeltrust.com" (without the www).

    So you will need to adjust your form embed code, make sure to add the "www" into the domain path.


    MachForm Founder

    Posted 11 years ago #
  5. compusol
    Member

    Looks like that has fixed it, obvious error once you mentioned it.

    I added a htaccess rewrite to make all enquiries go to www after I created the form... duh!

    Thanks

    Posted 11 years ago #

RSS feed for this topic

Reply