How to fix XAMPP errors?

Results 1 to 6 of 6
  1. #1
    Member Khristian20 is offline
    MemberRank
    Dec 2010 Join Date
    56Posts

    How to fix XAMPP errors?

    Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\panel\config.php on line 19


    how can I fix this? all the wbsites that has mssql_connect always gave me this error


  2. #2
    Account Upgraded | Title Enabled! TheCodeOfGunz is offline
    MemberRank
    Oct 2010 Join Date
    PhilippinesLocation
    532Posts

    Re: How to fix XAMPP errors?

    post your config.php

  3. #3
    Pee Aitch Pee Dave is offline
    MemberRank
    Mar 2011 Join Date
    The NetherlandsLocation
    722Posts

    Re: How to fix XAMPP errors?

    Enable the mssql.dll extension in your php.ini file.

  4. #4
    Member Khristian20 is offline
    MemberRank
    Dec 2010 Join Date
    56Posts

    Re: How to fix XAMPP errors?

    <?php
    $gunz_name = "FatalGunZ"; //Server Name
    $exprate = "18x"; //Server EXP Rate

    $forum = "http://fatalgunz.forumtl.com/"; //Forum Link
    $vote = "http://top200.top-site-list.com/vote3226.html"; //Vote Page Link
    $donate = ""; //Donation Page Link

    //Connect
    $_MSSQL['Host'] = "ADMIN-PC"; //Host
    $_MSSQL['User'] = "sa"; //Username
    $_MSSQL['Pass'] = "092010"; //Password
    $_MSSQL['DB'] = "GunzDB"; //Database

    //Download Mirrors
    $mirror1 = ""; //Download Link 1
    $mirror2 = ""; //Download Link 2
    $mirror3 = ""; //Download Link 3

    //Language
    $language = "english";

    //Grade Colors
    $admincol = "#CC0000"; //Administrator
    $fmodcol = "#33CC00"; //Forum Moderator
    $gmcol = "#FF6600"; //GameMaster
    $devcol = "#33FFFF"; //Developer
    $membcol = "#c8c5c5"; //Member
    $bannedcol = "#000000"; //Banned

    //UGradeID's
    $adminugid = 255; //Administrator
    $fmodugid = 11; //Forum Moderator
    $gmugid = 254; //GameMaster
    $devugid = 10; //Developer
    $membugid = 0; //Member
    $bannedugid = 253; //Banned

    //Allow Character Sex Change (userpanel)
    $allow_sex_change = "No"; //Yes or No

    $con = mssql_connect($_MSSQL['Host'],$_MSSQL['User'],$_MSSQL['Pass']) or die("Cant Connect!");
    mssql_select_db($_MSSQL['DB']) or die("Cant Find Database!");
    ?>

  5. #5
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: How to fix XAMPP errors?

    Change your password later. This problem is sometimes caused by a bad configuration, but I can see that yours is good.

    Look at my Unofficial Fix Thread
    http://forum.ragezone.com/f497/unoff...thread-490635/
    Last edited by wesman2232; 14-04-11 at 05:04 PM.

  6. #6
    Member Khristian20 is offline
    MemberRank
    Dec 2010 Join Date
    56Posts

    Re: How to fix XAMPP errors?

    Ok sir !



Advertisement