Appnitro Software Forums » MachForm 2

Forbidden: You don't have permission to access /plugins/machform/embed.php


  1. As you can see here: http://www.cmc.edu/its/rgriffin/asdf.php, there is an error loading an embedded form. I am not sure why. All files under /machform/ are chmod 0777 with Apache set as the owner and the group. Help would be outstanding. Thanks.

    Posted 4 months ago #
  2. I tried http://www.cmc.edu/its/rgriffin/asdf.php and didn't see any errors, but I do note that your original link above has a comma(,) at the end, and if someone clicks that link, it gives a 404 (Page not found) error.

    I found that if you use this URL, you get somewhere, at least:
    http://www.cmc.edu/its/rgriffin/plugins/machform/embed.php but clicking this link shows error "ID Required which means you need the form id number (find that in your machform's admin - it is just the number of the form). I do not see any Forbidden error as you describe.

    For the above to work you need the form id like
    http://www.cmc.edu/its/rgriffin/plugins/machform/embed.php?id=X (where X is the form number) - try it and see. Enter the number for which ever form you're trying to display, so at least that show if the form works. The issue with embedding in the page is another issue.

    Some further suggestions below:

    1. Have you copied and pasted the code correctly?
    2. Which method are you using - the iframe or the advanced (php) code?
    3. Are you using a CMS of some sort (e.g. Joomla)?
      This may strip <script> and <iframe> tags from the code in the Joomla editor, unless you set it to allow them. That would be for security reasons - according to Joomla, and would also apply to <?php> tags
    Posted 4 months ago #
  3. Thank you for your detailed response!!
    It "appears" that the issue was happening because I was using the page over a VPN tunnel.

    Posted 4 months ago #
  4. Also, There may be a compound problem via the VPN due to the nature of most recently updated browsers not allowing a cross-domain IFRAME embed.
    Note that the embedded form was generated on http://cms.cmc.edu:8008. Thus, the IFRAME source: http://cms.cmc.edu:8008/plugins/machform/embed.php?id=2 inside of: http://www.cmc.edu (http://www.cmc.edu/its/rgriffin/asdf.php).

    I wonder with the advent of HTML5, how this is going to work.

    Posted 4 months ago #

RSS feed for this topic

Reply