icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Reseller Hosting » Counter Question Problems with cgi counter

Reseller Hosting Questions about your reseller hosting account.

Closed Thread
 
LinkBack Thread Tools Search this Thread
Old August 14th, 2003, 2:15 PM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2003
3 posts
Gave thanks: 0
Thanked 0 times
Hello, when I put a counter up on my page, when I load the page it says "Could not write to counter file:/var/cpanel/Counters etc" where the counter is. Does anyone know how to fix this or what the problem is?
Exdeath is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old August 15th, 2003, 8:06 AM   #2 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2003
8 posts
Gave thanks: 0
Thanked 0 times
I have the exact same problem. I've tried fiddling with the img src to put in /home/ and that sort of thing (since its on a subdomain) but I still can't get it to work. Help!

Niu
Niuserre is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old August 15th, 2003, 2:03 PM   #3 (permalink)
Registered User
Comfy Contributor
 
Joined in Jun 2003
Lives in Nice California
263 posts
Gave thanks: 0
Thanked 0 times
Post

Instead of using the useless counter install in C Panel, just use this tag:

<IMG SRC="/cgi-sys/Count.cgi?df=yourdomain.com-index.html&DD=E&RELOAD=N" VSPACE="0" HSPACE="0" BORDER="0">

If you want your counter to show all refresh/reloads, take the "RELOAD=N" out of the script. If you want a different border or size, just change the "DD=E" to whatever style you like. You can use the C Panel counter preview to determine the styles etc. You can add counters to any pages on your site that you wish by subsituting the "index.html" with the page name such as "links.html etc.

You don't have to upload anything to your site, you are still using the counter script that C Panel provides but you have more control. The only thing I haven't yet figured out is how to change the count on an individual counter.

Here's a LINK to more info about how the script works. It's been around for a long time.
__________________
Catfish Ed
http://www.catfished.com
Reseller server: dime13
catfished is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old August 16th, 2003, 9:10 AM   #4 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2003
8 posts
Gave thanks: 0
Thanked 0 times
thank you!
Niuserre is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On