Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Plugin development : form action not working

Discussion in 'cPanel Developers' started by anjalimetclouds, Mar 26, 2015.

  1. anjalimetclouds

    Joined:
    Mar 4, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    I am trying to develop a plugin. I have created a cgi script to show a form. But on submitting, the action is not working. Getting the following error.

    No response from subprocess: The subprocess exited with status 2 (ENOENT).

    This is my form.
    print "Content-type: text/html\r\n\r\n";
    print <<EOF;
    <!DOCTYPE html>
    <HTML>
    <HEAD>
    <TITLE></TITLE>
    </HEAD>
    <BODY>
    <FORM action="test-post.cgi" method="POST">
    <input type='submit' value='Submit'>
    </FORM>
    </BODY>\n</HTML>
    EOF
    1;


    Please help me to solve this issue.

    Thanks
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    To clarify, does this CGI script work well when it's installed as a standalone script on an account?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice