in sinc.php, find
PHP Code:
<?php
error_reporting(7);
$servername="localhost";
$dbusername="";
$dbpassword="";
$dbname="";
$technicalemail = "";
$usepconnect = 0;
and fill out the corresponding values with what appears in your admin/config.php file
PHP Code:
// type of database running
// (only mysql is supported at the moment)
$dbservertype = 'mysql';
// hostname or ip of server
$servername = 'localhost';
// username and password to log onto db server
$dbusername = 'db_user';
$dbpassword = 'db_pass';
// name of database
$dbname = 'db_name';
// technical email address - any error messages will be emailed here
$technicalemail = 'YOUR_NAME@SOMETHING.com';
// use persistant connections to the database
// 0 = don't use
// 1 = use
$usepconnect = 0;
its that easy, sinc.php is actually a boiled down version of alot of pages, for the mere fact of connecting to the db during the topsites_hit.php page