kayaker Posted January 21, 2005 Posted January 21, 2005 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 Quote
TCH-Rob Posted January 21, 2005 Posted January 21, 2005 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? Quote
bellringr Posted January 21, 2005 Posted January 21, 2005 Are you looking at it on your local drive? If so, it won't show up. It will only appear once you publish the file and view it online. Quote
kayaker Posted January 21, 2005 Author Posted January 21, 2005 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 Quote
kayaker Posted January 21, 2005 Author Posted January 21, 2005 I've saved the page with the faulty counter here: http://mallymccoy.com/index2.html Maybe you can figure it out if you see my html code. Thanks! Karen Quote
TCH-Thomas Posted January 21, 2005 Posted January 21, 2005 Hi and Welcome to your extended family 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 Quote
TCH-Bruce Posted January 21, 2005 Posted January 21, 2005 (edited) 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! Edited January 21, 2005 by TCH-Bruce Quote
kayaker Posted January 21, 2005 Author Posted January 21, 2005 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! <{POST_SNAPBACK}> Quote
TCH-Don Posted January 21, 2005 Posted January 21, 2005 Welcome to the Family Karen 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 Quote
kayaker Posted January 22, 2005 Author Posted January 22, 2005 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 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 <{POST_SNAPBACK}> Quote
TCH-Thomas Posted January 25, 2005 Posted January 25, 2005 If you want to have another one than what cpanel offers, you can try http://gtchat.de/main_en.html Click on Download > Other Its a easy set up cgi script, with easy instructions included the zip-file. See it in action on my site (jikrantz.se) if you like. Also, moving for organization. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.