Jump to content

Recommended Posts

Posted

I cannot get my web counter to work. Every time I try to create a counter, I get the following error message in IE when its uploaded:

 

"Could not write to counter file: var/cpanel/counters/countername.dat"

 

I have tried naming the counter differently, making sure that I do not use .dat after the name, and that does not work either. I followed directions that I found in the forums, but nothing works. :angry:

Posted

Has your domain name propogated yet? I mean, can you access your site via your domain name vs. IP address?

 

If not, the counter may not work. What's the url where we can find the counter you've placed?

 

Lianna

Posted

Hmmmm... I deleted ".dat" and the counter still didn't appear. Can one of you folks post a link to your web site so I can view your source to see if anything else is different. Here's what I have in mine:

 

<imgsrc="/cgi-sys/Count.cgi?df=jrogers7|display=Counter|ft=6|md=5|frgb=100;139;216|dd=C">

 

I noticed that cheval had the image as part of a table. Can't I just drop the code in the body section of the html?

 

nm, just figured it out - needed a space between img and src

 

Thanks

  • 2 weeks later...
Posted

All,

 

I had the exact same problem with the cpanel counter script. What was odd about it was that the HTML code as supplied by the cpanel counter-maker worked when I viewed my page via IP/~username (which is how one sees their page before the DNS has propagated), but didn't work (i.e., gave the error message "Could not write to counter file...") when accessed via the URL, even after DNS propagation was complete.

 

I dropped the ".dat" from the code snippet, as many have suggested, and now the problem is exactly reversed: It works fine when addressed as http://PIC-an-LCD.com, but not when accessed via IP/~username. Of course, this is much preferrable, as the world at large is going to find my page via the published URL.

 

It's still a head-scratcher, though.

 

Thanks,

 

Dale

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...