Jump to content

Can't Install A Counter


kayaker
 Share

Recommended Posts

I am trying to install a counter on my main page. I went to cpanel and chose the counter I wanted, asked for the HTML code, copied it, and put it into my index.html file. When I bring up my website, I get a long box along the bottom of the page, where the counter should be, telling me I have to create the counter in cpanel. I thought I did that!

 

Please tell me how to "create" this counter if I'm not following all the steps I should.

 

Thank you for any help you can give me.

 

Karen

Link to comment
Share on other sites

Those steps sound right. I created one using the defaults just now and had it generate a basic counter. It gave me the following code;

 

<img src="/cgi-sys/Count.cgi?df=xxxxxx.dat|display=Counter|ft=6|md=5|frgb=100;139;216|dd=A">

 

 

xxxxxx.dat = my cPanel username

 

I put that at the bottom of my page above the </body> tag and it displayed for me. Did you follow those steps?

Link to comment
Share on other sites

This is what I put in my html above the </body> code:

 

<img src="/cgi-sys/Count.cgi?df=mallymc.dat|display=Counter|ft=6|md=5|frgb=100;139;216|dd=W">

 

What I get, instead of a counter, is a long green box that has the following written in it:

 

 

"Counter datafile "/var/cpanel/Counters/mallymc.dat%7Cdisplay=Counter%7Cft=5%7Cfrgb=100;216%7Cdd=W" must be created in cpanel first"

 

I thought I did what you did. I went to the counter page, chose counter "W", asked for the html, copied it, and pasted it. Why don't I get a counter?

 

Karen

Link to comment
Share on other sites

Hi and Welcome to your extended family :clapping:

 

I have never used the counter provided through cpanel so I am not sure how it works, but I see differencies in what you post here and whats in your source code:

><img alt="" src="/cgi-sys/Count.cgi?df=mallymc.dat%7Cdisplay=Counter%7Cft=6%7Cmd=5%7Cfrgb=100;139;216%7Cdd=W">

Maybe its the alt="" right after

Link to comment
Share on other sites

You may want to delete the counter you created and start over. I just tested and it worked fine. If that does not solve the problem please open a Help Desk ticket (link above) and have one of the techs have a look.

 

Where are my manners! Welcome to the family and forums, Karen! :clapping:

Edited by TCH-Bruce
Link to comment
Share on other sites

Hello, Bruce. Thanks for the welcome. I've been a TCH member for a while now, but haven't checked the forums because I haven't had a problem! It's just maddening that I can have the default counter with no problem, but when I try to choose another, or change the color of the default one, I get that error code.

 

I guess I will have to check the help desk and see if there is something I'm doing that I'm not aware of. I copy the code and paste it, so why it would work for the default but not for anything else, I have no clue. I must be doing something wrong and will feel really dumb when they point it out!

 

Karen

 

You may want to delete the counter you created and start over.  I just tested and it worked fine.  If that does not solve the problem please open a Help Desk ticket (link above) and have one of the techs have a look.

 

Where are my manners!  Welcome to the family and forums, Karen!  :clapping:

Link to comment
Share on other sites

:clapping: Welcome to the Family Karen :w00t:

 

and your new home!

I see you have the counter working.

Remember its only a page counter that advances every time a visitor views that page.

For more detailed visitor info check your cpanel > web/ftp stats >awstats

 

We really are like family here.

So if you need anything,

just ask your new family!

We love to help :lol2:

Link to comment
Share on other sites

Thank you, Don. Yes, I put the default counter on. I still can't get anything but that one. I just get an error message. It's puzzling. I tried to keep the default, but at least change the color. No dice. So, I'm stuck with it. In the scheme of things, it's certainly not a big deal :)

 

Karen

 

 

:)  Welcome to the Family Karen  :P

 

and your new home!

I see you have the counter working.

Remember its only a page counter that advances every time a visitor views that page.

For more detailed visitor info check your cpanel > web/ftp stats >awstats

 

We really are like family here.

So if you need anything,

just ask your new family!

We love to help  :)

Link to comment
Share on other sites

Join the conversation

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

Guest
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.

 Share

×
×
  • Create New...