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!

[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:
    43,903
    Likes Received:
    1,814
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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

  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