Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Member
    Join Date
    Jun 2004
    Location
    New York, NY
    Posts
    10

    Default CGI (hit counter problem)

    I have gone to the document explaination CGI script...
    found this info in my control panel with more detailed directions mentioned later on in the documentation...
    "...a collection of CGI scripts are already pre-installed on the hosting account. Some of these CGI scripts include: A hit counter, web clock, Guestbook, FormMail, Search Site and more! Find these scripts within your control panel. To access them click "Scripts & DB -> Pre-Installed CGI Scripts"...
    OK, so here's my problem:
    I copied the html code that was produced for me and pasted it in my frontpage after I published it, it still did not come out right. What am I doing wrong?
    Please see how it's came out at the bottom of my page located here: http://raquela.com
    Can any one instruct me on the process with a little more detail?
    Thank you.
    Sincerely, Raquela

  2. #2
    Member B12Org's Avatar
    Join Date
    Jul 2003
    Location
    Seattle Washington
    Posts
    694

    Default

    You need to paste that code into the source, or code of the page, not directly into the page. You also need to make sure that the file you are referencing there exists in the cgi-bin directory.
    Enom ETP - If you need a reseller account (or retail) contact me!

  3. #3
    Member
    Join Date
    Jun 2004
    Location
    New York, NY
    Posts
    10

    Default

    thank you for your reply back B12Org
    Originally posted by B12Org
    You need to paste that code into the source, or code of the page, not directly into the page.
    that's exsactly what i did. the text you see in place of where the counter should be was palced in the code page but still come out as the text you see there.
    You also need to make sure that the file you are referencing there exists in the cgi-bin directory.
    please explain this. i do not understand. i went to my cin-bin but i have no idea what file or what kind of file of what i'm suppose to upload into it. i appoligize for this, but i do need full details on how to do all this. thank you.
    Sincerely, Raquela

  4. #4
    Member
    Join Date
    Jun 2004
    Location
    New York, NY
    Posts
    10

    Default

    is anybody there?
    i still need help with this.
    Sincerely, Raquela

  5. #5
    Member
    Join Date
    Mar 2002
    Posts
    159

    Default

    We'd be able to help you with this, it looks like probably a simple problem of incorrect HTML. Feel free to contact us for assistance.
    FastServerManagement
    24x7x365 CPanel Server Management & Monitoring only $29.00/month
    http://www.FastServerManagement.com
    sales@FastServerManagement.com 1-877-898-1423

  6. #6
    Member B12Org's Avatar
    Join Date
    Jul 2003
    Location
    Seattle Washington
    Posts
    694

    Default

    Yes, agreed. It is a html issue with the way that the link was entered into the page.
    Enom ETP - If you need a reseller account (or retail) contact me!

  7. #7
    Member
    Join Date
    Jun 2004
    Location
    New York, NY
    Posts
    10

    Default

    Originally posted by B12Org
    Yes, agreed. It is a html issue with the way that the link was entered into the page.
    Thanks B12Org I was.
    I guess you noticed I figured it out by my self. I just wish I could remember what I did to fix it!
    Sincerely, Raquela

  8. #8
    Registered User
    Join Date
    Aug 2004
    Posts
    1

    Default

    I have the same problem on my page www.rachelnusbaumer.com

    When I log to cPanelX and generate a new counter, it doesnt display the image. So I guess the problem doesnt come from my page. Can anybody help me please?

    Thanks,

    Rachel

  9. #9
    Member B12Org's Avatar
    Join Date
    Jul 2003
    Location
    Seattle Washington
    Posts
    694

    Default

    I know this sounds dumb - but does /cgi-sys/Count.cgi exist in your web?
    Enom ETP - If you need a reseller account (or retail) contact me!

  10. #10
    Member
    Join Date
    Jul 2004
    Posts
    5

    Default cgi-sys

    cgi-sys is the server wide equivalent your local cgi-bin, except everyone can access/execute code there. Thus you wil not see cgi-sys in your local web. You will see it as a ScriptAlias in httpd.conf to something like /usr/local/cpanel/cgi-sys/

    You will also find the data file for the counter in /var/cpanel/Counters
    Last edited by dynaserve; 09-13-2004 at 05:43 PM.

  11. #11
    Member
    Join Date
    Jan 2002
    Posts
    98

    Default

    For future reference...

    This issue can be seen if ownership of /var/cpanel/Counters/username is wrong. A client set up the counter before dns had propagated to our servers. When the counter was set up, the file, /var/cpanel/Counters/username, was created with the owner being the name of the server. For example:
    -rw-r--r-- 1 beta1 beta1 3 Oct 7 19:42 streak.dat
    beta1 is the servername.
    It should have read:
    -rw-r--r-- 1 streak streak 3 Oct 7 19:42 streak.dat
    A simple command set everything appropriately.
    chown streak.streak streak.dat
    -Lamar

  12. #12
    Member
    Join Date
    Jun 2004
    Location
    New York, NY
    Posts
    10

    Default

    My god. This is way too confusing. Does it have to be?
    There must be simpler instructions then this.
    I'm a paying client here.
    Someone please help us simplify these proceedures.
    Sincerely, Raquela

  13. #13
    Member
    Join Date
    Oct 2003
    Posts
    1,020

    Default

    If this is a reproducable problem (I have not tested or seen it), then you should submit a support ticket and/or a bugzilla report. Then cPanel can resolve the underlying issue for future implementations and perhaps provide a /scripts/ fix to resolve any current configurations with this problem.

    I do not think it is that confusing TBH (though I would still suggest the steps I mentioned above if you are experiencing the problem). You need to check ownership of a file and chown it if it is incorrect. One script that will verify and chown (if needed) all files would be simpler, but if chown'ing one file is to confusing, then running a script may be as well.

Similar Threads & Tags
Similar threads

  1. Hit Counter Issues with Safari 3.1.1
    By nootkan in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-18-2011, 01:39 AM
  2. Hit Counter - After upgrade
    By adriangpop in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-29-2007, 04:16 AM
  3. hit counter
    By dido41 in forum New User Questions
    Replies: 3
    Last Post: 09-23-2006, 10:05 PM
  4. hit counter
    By Greg - DP in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-26-2005, 01:44 PM
  5. Hit Counter not updating installed in Cpanel
    By billau in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-30-2004, 12:24 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube