Error on counter "Counter datafile "/var/cpanel/Counters/userid.dat" must be created

juanj2005

Member
May 1, 2007
11
0
151
Hi all,

For some reason with the upgrade my visitor counter is getting this message:

Counter datafile "/var/cpanel/Counters/userid.dat" must be created in cPanel first!

I checked the documentation but no avail. I search the forum and I didn't find any answer.

If anybody can help or give me some direction is greatly appreciated.

thanks,
jj
:)
 

duranduran

Well-Known Member
Apr 30, 2004
198
0
166
Hi all,

For some reason with the upgrade my visitor counter is getting this message:

Counter datafile "/var/cpanel/Counters/userid.dat" must be created in cPanel first!

I checked the documentation but no avail. I search the forum and I didn't find any answer.

If anybody can help or give me some direction is greatly appreciated.

thanks,
jj
:)
You need to create this file again, just put the visitor counter.

pico -w /var/cpanel/Counters/userid.dat
 

juanj2005

Member
May 1, 2007
11
0
151
Hi Alex,

When you said "You need to create this file again, just put the visitor counter."

You mean to put the visitor counter html command on my index.html ?

thanks,
jj
 

juanj2005

Member
May 1, 2007
11
0
151
Hi Alex,

I'm kinda new and I hate to bother you but is it possible to give me the steps by steps. you can email it



thanks,
jj
 
Last edited by a moderator:

shivinvijai

Member
Mar 1, 2007
12
0
151
Counter Issue

Hi All,

Steps for solving this issue "Could not write to counter file: /var/cpanel/Counters.countername.dat" while we set a counter for a domain

Answer
------------

Login to your server
cd /hvar/cpanel/Counters
chown username.username to countername.dat
save and quit

Refresh your browser and clear their caches.......

Hope this will solve the issue. :)

Thanks,

Shivin Vijai