Untitled Document
Frequently Asked Questions
Will this make my site run slower
This product is designed to not affect the speed of your website. If you have a high load website, you can even tune the log file writing to reduce the smallest of delays.
What if my site uses ASP
An ASP module will be coming Soon
Installing on osCommerce
Download your code as a zip file , or tar file
Extract it into your oscommerce directory (it will create a directory called advstats)
If neccessary, ensure the directory advstats/advdata is writable by the web server)
Edit the osCommerce file includes/application.top
Insert the line
include "advstats/stat.php";
Just before
// start the timer for the page parse time log
define('PAGE_PARSE_START_TIME', microtime());
Insert the line
advstat_main();
Just before
// set the HTTP GET parameters manually if search_engine_friendly_urls is enabled
if (SEARCH_ENGINE_FRIENDLY_URLS == 'true') {
if (strlen(getenv('PATH_INFO')) > 1) {
That's the code successfully installed on your site.
Now create an account at http://www.advancedsitestats.com/
Go to site_admin and add the subdirectory where you placed the advstats (probably catalog). Also, if you wish to remove the session ID from the page stats (you probably do), then add osCsid to the SID stripper string
Your pages should start appearing within minutes.
If pages do not appear soon, you should check your installation by viewing the check.php page through a web browser. The url should be http://<yourdomain>/advstats/check.php
Further Installation help (if you have problems)
You may have to check the permissions on the advstats/advdata directory.
This is because this directory needs to be written to by the web server. This is the most common cause of not logging any data.
Inserting the line advstat_main();
If your website uses a function to buffer the output (for example if you compress your output), you should place the following line after your ob_start line
include "advstats/stat.php";
Advstats is installed in another subdirectory
If you install advstats in another directory, you must go to your online profile and change the directory. The default directory is advstats.
Something is up, how can I check?
Included with the installation is a debug page for you to check your installation. The Url is http://<yourdomain>/advstats/check.php
|