NEED HELP Pagerrank Checker Script Do I post on collect Thread?

Discussion in 'Programming' started by tmean, Nov 10, 2011.

  1. #1
    Hello;
    Just purchased a Pagerank Chekcer PHP Script

    But installation Failed
    http://www.realpagerankchecker.com


    Warning: require_once(/path/to/home/klib/class.kConfig.php) [function.require-once]: failed to open stream: No such file or directory in /home/realpage/public_html/config.php on line 49

    Fatal error: require_once() [function.require]: Failed opening required '/path/to/home/klib/class.kConfig.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/realpage/public_html/config.php on line 49


    This script only need to edit config.php


    -------------------------------------
    /**
    * SECTION 1: Configure your server paths
    */

    define('DIR_BASE', '/');
    define('PATH_BASE', '/path/to/home/');


    // LOADING SYSTEM RESOURCES ** DO NOT EDIT **
    define('PATH_INCLUDE', PATH_BASE . 'inc/');
    define('PATH_LIB', PATH_BASE . 'klib/');
    define('DIR_IMAGES', DIR_BASE . 'images/');
    define('PATH_IMAGES', PATH_BASE . 'images/');
    require_once(PATH_LIB . 'class.kConfig.php');
    require_once(PATH_LIB . 'class.kTemplate.php');
    require_once(PATH_LIB . 'class.kValidate.php');
    require_once(PATH_LIB . 'kFunctions.php');
    $cfg = new kConfig();
    $tpl = new kTemplate();
    // END LOADING SYSTEM RESOURCES


    /**
    * SECTION 2: Set common site information
    */

    // This is the max # of hosts you want to allow (limited to # of hosts in PR class
    $cfg->setVar('pr_maxhosts', 99);

    // This is the max # of sites you want to allow in multiple PR checks
    $cfg->setVar('pr_checklimit', 25);

    // Set the site URL, name and default page title
    $cfg->setVar('site_url', 'http://www.realpagerankchecker.com/');
    $cfg->setVar('site_name', 'RealPagerankChecker.com');
    $cfg->setVar('site_title', 'Check Google Pagerank Tool, Multiple PageRank Checker, and PageRank Display');

    // Set site contact information
    $cfg->setVar('contact_email', 'admin@realpagerankchecker.com');

    // Set the active template
    $cfg->setVar('template', 'default');

    // Set the base PageRank image path
    $cfg->setVar('path_pr_images', PATH_IMAGES . 'pr/');
    $cfg->setVar('url_pr_images', $cfg->getVar('site_url') . '/images/pr/');

    $cfg->setVar('pr_image_default', 'Google');

    // Set site META tags
    $cfg->setVar('meta_keywords', 'Check Pagerank,Google Pagerank Checker');
    $cfg->setVar('meta_description', 'Check Google Valid Pagerank ,Pagerank Checker - Realpagerankchecker.com');

    // Set CAPTCHA for PageRank tool forms (1 = active, 0 = disabled)
    $cfg->setVar('f_captcha', 0);

    // Set CAPTCHA for Contact form (1 = active, 0 = disabled)
    $cfg->setVar('contact_captcha', 1);

    \--------------------------------

    Can Any one Help me


    Regards
    Ben
     
    tmean, Nov 10, 2011 IP
  2. BoCe

    BoCe Peon

    Messages:
    217
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi, tmean..
    I have purchased some scripts alike before, you need to install the script to have the function works properly
    Usually come as yourdomain.tld/install or domain.tld/install.php

    Im sorry if the case is not as simple as that, i just wanna try to help

    Thanks mate
     
    BoCe, Nov 10, 2011 IP
  3. tmean

    tmean Active Member

    Messages:
    1,271
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    98
    #3
    Preparing Configuration Files

    Before uploading the script to your Web server, you will need to edit the file `config.php` and configure your site settings. At a minimum you need to set the values for DIR_BASE, PATH_BASE, and site_url. See the configuration section for details on config.php.

    Once complete, save the changes to config.php and continue to uploading the script.
     
    tmean, Nov 10, 2011 IP
    Kinda Intellectual likes this.