+ Reply to Thread
Results 1 to 4 of 4

Thread: skip_config

  1. Join Date
    May 2005
    Posts
    3

    skip_config

    I know this has been touched upon before, but I'm getting nowhere. I have the couter set up on three different sites, all with the same host. I have managed to successfully (more or less) add it to the forum for each one. The only problem is, on ONE of them I keep getting the error:

    Undefined index: skip_config
    File: /usr/local/psa/home/vhosts/ratzrus.co.uk/subdomains/community/httpdocs/stats/classes/mysqldb.php
    Line: 24

    I tried adding the error reporting at the top, but it made no difference. And I don't think it would be that, anyway, if it works fine on the other two. All paths are correct, by the way. I even literally copied what I had from the other two and just changed the required variables (although thats more or less how I did it in the first place) and still no joy. Any ideas? My error log for the forum is now at over 300 pages, and I've only had the script on it a week...

  2. Join Date
    Aug 2004
    Posts
    781

    skip_config

    It is caused by the error reporting level on the site, which is probably being set by the forum.

    Try opening the classes\mysqldb.php file and:

    Find:
    Code:
    if (!$DB['skip_config'])
    and replace it with:
    Code:
    if (!isset($DB['skip_config']) || !$DB['skip_config'])
    Reupload the file and the error should be gone.

  3. Join Date
    May 2005
    Posts
    3

    skip_config

    Aha! I think that may have done it . I'll keep checking the error log today and make sure it doesn't show up. I just found it odd that one forum does it and the other two don't, when they are all the same forum. But if it works in this one, I may just add it to the others anyway, in case...

  4. Join Date
    May 2005
    Posts
    3

    skip_config

    Nope, didn't fix it . Now I am getting:

    Undefined variable: visits
    File: /usr/local/psa/home/vhosts/ratzrus.co.uk/subdomains/community/httpdocs/stats/classes/mysqldb.php
    Line: 169

    Undefined variable: hits
    File: /usr/local/psa/home/vhosts/ratzrus.co.uk/subdomains/community/httpdocs/stats/classes/mysqldb.php
    Line: 170

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts