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!

how to run plugin

Discussion in 'General Discussion' started by kamlesh_chaube, Jun 1, 2009.

  1. kamlesh_chaube

    kamlesh_chaube Registered

    Joined:
    May 25, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    I have developed a custom plugin to CPANEL written in PHP.
    But when try to run through SSH Secure Shell. It give me Error

    root@shalaka [~]# /usr/local/cpanel/bin/register_cpanelplugin trafficadivsor.cpanelplugin

    Usage /usr/local/cpanel/bin/register_cpanelplugin <cpanelplugin config file>
    [trafficadivsor.cpanelplugin does not exist. You should provide the absolute path to the file]

    I don't understand how to run that plugin. :confused:
    What is wrong in the path :(

    Please help me to run that script

    Thank you,
     
    #1 kamlesh_chaube, Jun 1, 2009
    Last edited: Jun 1, 2009
  2. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    Put the full path to the script like

    /home/username/myscript
     
    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