Can't Install A Counter

liunx

Guest
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!<br /><br />Please tell me how to "create" this counter if I'm not following all the steps I should.<br /><br />Thank you for any help you can give me. <br /><br />Karen<!--content-->
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;<br /><br /><img src=http://www.totalchoicehosting.com/forums/lofiversion/index.php/"/cgi-sys/Count.cgi?df=xxxxxx.dat|display=Counter|ft=6|md=5|frgb=100;139;216|dd=A"><br /><br /><br />xxxxxx.dat = my cPanel username<br /><br />I put that at the bottom of my page above the </body> tag and it displayed for me. Did you follow those steps?<!--content-->
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.<!--content-->
This is what I put in my html above the </body> code:<br /><br /><img src=http://www.totalchoicehosting.com/forums/lofiversion/index.php/"/cgi-sys/Count.cgi?df=mallymc.dat|display=Counter|ft=6|md=5|frgb=100;139;216|dd=W"><br /><br />What I get, instead of a counter, is a long green box that has the following written in it:<br /><br /><br />"Counter datafile "/var/cpanel/Counters/mallymc.dat%7Cdisplay=Counter%7Cft=5%7Cfrgb=100;216%7Cdd=W" must be created in cpanel first"<br /><br />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?<br /><br />Karen<!--content-->
I've saved the page with the faulty counter here: <a href="http://mallymccoy.com/index2.html" target="_blank">http://mallymccoy.com/index2.html</a><br /><br />Maybe you can figure it out if you see my html code.<br /><br />Thanks!<br /><br />Karen<!--content-->
Hi and Welcome to your extended family <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />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:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><img alt="" src=http://www.totalchoicehosting.com/forums/lofiversion/index.php/"/cgi-sys/Count.cgi?df=mallymc.dat%7Cdisplay=Counter%7Cft=6%7Cmd=5%7Cfrgb=100;139;216%7Cdd=W"><!--c2--></div><!--ec2--><br />Maybe its the <b>alt=""</b> right after <img that makes the problem.<!--content-->
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.<br /><br />Where are my manners! Welcome to the family and forums, Karen! <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
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. <br /><br />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!<br /><br />Karen<br /><br /> <!--QuoteBegin-TCH-Bruce+Jan 21 2005, 08:36 AM--><div class='quotetop'>QUOTE(TCH-Bruce @ Jan 21 2005, 08:36 AM)</div><div class='quotemain'><!--QuoteEBegin-->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.<br /><br />Where are my manners!  Welcome to the family and forums, Karen!  <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><div align="right"><a href="http://www.totalchoicehosting.com/forums/index.php?act=findpost&pid=109032"><img src='http://www.totalchoicehosting.com/forums/style_images/1/post_snapback.gif' alt='*' border='0' /></a></div><!--QuoteEnd--></div><!--QuoteEEnd--><!--content-->
<img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/kicking.gif" style="vertical-align:middle" emoid=":dance:" border="0" alt="kicking.gif" /> Welcome to the Family Karen <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/kicking.gif" style="vertical-align:middle" emoid=":dance:" border="0" alt="kicking.gif" /> <br /><br />and your new home!<br />I see you have the counter working.<br />Remember its only a page counter that advances every time a visitor views that page.<br />For more detailed visitor info check your cpanel > web/ftp stats >awstats<br /><br />We really are like family here.<br />So if you need anything,<br />just ask your new family!<br />We love to help <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
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 <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> <br /><br />Karen<br /><br /><br /><!--QuoteBegin-TCH-Don+Jan 21 2005, 12:01 PM--><div class='quotetop'>QUOTE(TCH-Don @ Jan 21 2005, 12:01 PM)</div><div class='quotemain'><!--QuoteEBegin--><img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/kicking.gif" style="vertical-align:middle" emoid=":dance:" border="0" alt="kicking.gif" />  Welcome to the Family Karen  <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/kicking.gif" style="vertical-align:middle" emoid=":dance:" border="0" alt="kicking.gif" /> <br /><br />and your new home!<br />I see you have the counter working.<br />Remember its only a page counter that advances every time a visitor views that page.<br />For more detailed visitor info check your cpanel > web/ftp stats >awstats<br /><br />We really are like family here.<br />So if you need anything,<br />just ask your new family!<br />We love to help  <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><div align="right"><a href="http://www.totalchoicehosting.com/forums/index.php?act=findpost&pid=109049"><img src='http://www.totalchoicehosting.com/forums/style_images/1/post_snapback.gif' alt='*' border='0' /></a></div><!--QuoteEnd--></div><!--QuoteEEnd--><!--content-->
If you want to have another one than what cpanel offers, you can try<br /><!--coloro:#000066--><span style="color:#000066"><!--/coloro-->http://gtchat.de/main_en.html<!--colorc--></span><!--/colorc--><br />Click on Download > Other<br />Its a easy set up cgi script, with easy instructions included the zip-file.<br />See it in action on my site (jikrantz.se) if you like. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> <br /><br />Also, moving for organization.<!--content-->
 
Back
Top