Article ID: 984, created on Oct 6, 2008, last review on Apr 25, 2014

  • Applies to:
  • Plesk for Linux/Unix

Resolution

You need to configure BBClone as described in
$HTTPD_VHOSTS_D/domain.tld/httpdocs/counter/doc/install.txt file:

----------------------------------------------------------------------------
....
Now the code needs to be added to the files you wish to monitor. It's a good
idea to create a test file at first to see whether BBClone is already working.
To do this you can use the following sample and point your browser at it.
<?php
define("_BBC_PAGE_NAME", "Test");
define("_BBCLONE_DIR", "bbclone/");
define("COUNTER", _BBCLONE_DIR."mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);
?>
...
----------------------------------------------------------------------------

But instead of:
define("_BBCLONE_DIR", "bbclone/");
you should use real BBClone path on your site, for example:
define("_BBCLONE_DIR", "counter/");

29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF