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.

[Case 82789] Wrong name is generated for CGI counter .

Discussion in 'General Discussion' started by suberjin, Sep 9, 2014.

  1. suberjin

    suberjin Member

    Joined:
    Jul 20, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    I am trying to create a counter via CGI Center . However Counter scripts generates wrong html code. If I create the Counter with name "counter" via cPanel user "user" the following counter is created: /var/cpanel/Counters/user-counter.dat, however cPanel generates HTML code is as below:

    Code:
    <img src="/cgi-sys/Count.cgi?df=counter.dat|display=Counter|ft=6|md=5|frgb=100;139;216|dd=I"> 
    
    but the correct code should be

    Code:
    <img src="/cgi-sys/Count.cgi?df=user-counter.dat|display=Counter|ft=6|md=5|frgb=100;139;216|dd=I"> 
    
    Preview of this code returns the error:
    Counter datafile "/var/cpanel/Counter/counter.dat" must be created in cPanel first!
    Any assistance is appritiated.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,675
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    This is a known bug. Internal case number 82789 is open to address this issue. You can monitor our change logs to see when a resolution has been released:

    cPanel - Change Logs

    Thank you.
     
  3. suberjin

    suberjin Member

    Joined:
    Jul 20, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi, Michael

    Thank you .
     
Loading...

Share This Page