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!

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:
    51
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. madihrb

    madihrb Member

    Joined:
    Jun 19, 2009
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    51
    No reply yet?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelDavidN

    cPanelDavidN Integration Developer

    Joined:
    Dec 17, 2009
    Messages:
    571
    Likes Received:
    3
    Trophy Points:
    68
    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.
     
    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