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

suberjin

Member
Jul 20, 2013
5
0
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
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.