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.

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:
    1
    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:
    18
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    Put the full path to the script like

    /home/username/myscript
     
Loading...

Share This Page