The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WHM Plugin Not Working In Resellers?

Discussion in 'cPanel Developers' started by madihrb, Dec 30, 2010.

  1. madihrb

    madihrb Member

    Joined:
    Jun 19, 2009
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I am developing some addon plugin for WHM.

    My plugin is working fine when we login as root in whm.

    But when we login with some reseller, the plugin show nothing but blank page.

    Here are some details:

    The 'addon_Alfain.cgi' file located at '/usr/local/cpanel/whostmgr/docroot/cgi/' works fine.

    The 'addon_Alfain.cgi' basically redirects to another file that is located at '/usr/local/cpanel/whostmgr/docroot/cgi/AlfainReseller/index.php'

    Now the problem is '/usr/local/cpanel/whostmgr/docroot/cgi/AlfainReseller/index.php' is always blank in reseller whm.

    Please keep in mind that all files located in 'AlfainReseller' folder works fine when we are logged in as root but when we login as any reseller it shows blank pages.

    All files and folders in 'AlfainReseller' have permission 0755.

    Please help me and tell me what mistake I may doing?

    Regards
     
  2. madihrb

    madihrb Member

    Joined:
    Jun 19, 2009
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    No reply yet?
     
  3. cPanelDavidN

    cPanelDavidN Integration Developer
    Staff Member

    Joined:
    Dec 17, 2009
    Messages:
    571
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hi madihrb,

    Are you using any ACL enforcement? What does your "addon_Alfain.cgi" look like.

    Other than that, I can't think of anything off the top of my head.

    If I have a little more detail, I'd be glad to help if I can.

    Regards,
    -DavidN

    PS. Yes, many of us at cPanel are still on Holiday.
     
Loading...

Share This Page