raquii

Member
Jun 3, 2004
10
0
151
New York, NY
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.
 

B12Org

Well-Known Member
Jul 15, 2003
691
1
168
Seattle Washington
cPanel Access Level
Root Administrator
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.
 

raquii

Member
Jun 3, 2004
10
0
151
New York, NY
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.
 

raquii

Member
Jun 3, 2004
10
0
151
New York, NY
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! :(
 

Rachel

Registered
Aug 31, 2004
1
0
151
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
 

dynaserve

Member
Jul 22, 2004
5
0
151
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:

Lamar

Well-Known Member
Jan 9, 2002
98
0
306
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
 

raquii

Member
Jun 3, 2004
10
0
151
New York, NY
My god. This is way too confusing. :mad: 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.
 

SarcNBit

Well-Known Member
Oct 14, 2003
1,001
3
168
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.