# CCount PHP Click Counter

Version: 2.2.0 from 29th January 2022 Developed by: Klemen Stirn Free PHP Scripts PHP Click Counter | CCount documentation Step by step guide Quick guide Changelog

## CCOUNT STEP BY STEP GUIDE

- Install CCount
- Upgrading from versions 2.x
- Upgrading from versions 1.x
- Help & Support

## » Install CCount

Please take 5 minutes to read the installation instructions carefully and completely! This will ensure a proper and easy installation.

Installation steps:

1. Connect with FTP to the public folder of your server where the rest of your Web site is.

   TIP: The public folder is usually called "public_html", "www", "site" or "htdocs".

   TIP: Learn how to FTP files, read my simple FTP and CHMOD tutorial.

2. Create a new folder where you will install CCount. Name it anything you like, for example "ccount" or "clicks".
   Example: /public_html/ccount
   Corresponding URL: http://example.com/ccount

3. Upload all CCount files to your server. PHP files must be transferred in ASCII mode and images in BINARY mode.

   TIP: Most FTP clients will select the proper transfer mode automatically so you needn't worry about this.

4. Open ccount/install in your browser, for example (modify to your URL):
   http://example.com/ccount/install

5. The CCount setup script will run. Follow instructions there.

6. Delete the "install" directory from your server.

7. Login to the admin panel to track new links, read instructions and edit settings:
   http://example.com/ccount/admin

   TIP: passwords are CaSe SeNSiTiVe ("PASS" is not the same as "pass").

8. Things to do next:

   - Click the "Settings" link to edit available options.

   - Click the "Instructions" link to learn how to track clicks and display statistics.

9. If you have problems/questions see the "HELP and Troubleshooting" section further down.

10. Support CCount development by purchasing a license.

11. Good luck using CCount!

## » Upgrading from versions 2.x

Please take 5 minutes to read the upgrade instructions carefully and completely! This will ensure a proper and easy upgrade.

Upgrade steps from CCount version 2.x:

1. BACKUP YOUR EXISTING CCOUNT FILES
   ... or don't blame me if something goes wrong.

2. Upload all files to your server except these (keep existing ones):
   - ccount_database.php
   - ccount_settings.php

3. Open ccount/install/update.php in your browser, for example (modify to your URL):
   http://example.com/ccount/install/update.php

4. Delete the "install" directory from your server.

5. Support CCount development by purchasing a license.

6. Good luck using CCount!

## » Upgrading from versions 1.x

Please take 5 minutes to read the upgrade instructions carefully and completely! This will ensure a proper and easy upgrade.

Upgrade steps from CCount version 1.x:

1. BACKUP YOUR EXISTING CCOUNT FILES
   ... or don't blame me if something goes wrong.

2. Login to existing CCount admin panel and download a backup.

3. Upload all CCount files to your server.

4. Open ccount/install in your browser, for example (modify to your URL):
   http://example.com/ccount/install

5. The CCount setup script will run. Follow instructions there.

6. Delete the "install" directory from your server.

7. Login to the admin panel:
   http://example.com/ccount/admin

8. Go to "Backups" page

9. Scroll down to the "Import legacy backup" form. Select the backup file you generated in Step 2 and click the import button.

10. Support CCount development by purchasing a license.

11. Good luck using CCount!

## » HELP and Troubleshooting

### 1. What is CHMOD and FTP?

I prepared a simple FTP and CHMOD tutorial that will help you FTP files to your server and set correct CHMOD settings.

### 2. Installation shows error: Not writable

PHP does not have permission to write to a required file:
ccount_settings.php
ccount_database.php

On Linux servers CHMOD the file to 666 (rw-rw-rw-).

On Windows IIS servers give Internet Guest Account (IUSR) permission to modify, write and read these files.

If this error persists, ask your hosting company to set correct file permissions.

### 3. Installation shows error: File missing

A required file (ccount_database.php) is missing on your server.

Make sure you upload all CCount files to the server. Always download original script files from PHP Junkyard directly.

### 4. Installation shows error: Session Failed

A server-side error is preventing PHP sessions to work correctly.

Ask your hosting company to verify why PHP sessions aren't working.

### 5. Where is administration panel?

Administration panel is located inside the admin folder:
http://example.com/ccount/admin

(modify link to your CCount installation URL)

### 6. How do I count clicks?

Login to CCount admin panel, click the "Instructions" link and read details.

### 7. How do I display click count/statistics publicly?

Login to CCount admin panel, click the "Instructions" link and read details.

### 8. I followed instructions, but displaying link count on my website is not working?

Some free web hosting companies automatically add a custom Javascript code to all generated pages (to show advertising). This code may stop CCount-generated code to work properly.

If this is the case, your only option is to move to paid php hosting.

### 9. I am still having problems!

1. Visit CCount Knowledgebase

2. Search Support forum

© Copyright Free PHP Scripts 2004-2022. All rights reserved.