Website Error

Results 1 to 4 of 4
  1. #1
    Novice socomgunz is offline
    MemberRank
    Mar 2010 Join Date
    1Posts

    ! Website Error

    hello i just made a Gunz private server successfully.

    but when i want to install a website i'm getting this error
    i used all possible threads fixes + guides but it keep showing up

    Code:
    Fatal error: Call to undefined function mssql_connect() in C:\wamp\www\Security\config.php on line 4
    that's my error and this is my file

    Code:
    <?php
    
    // MSSQL Configuration //
    mssql_connect("KEVINVERHOEVEN\SQLEXPRESS","","");
    mssql_select_db("GunzDB");
    $opened = 1;
    if($opened == 0){
        $pagetitle = "SocomStory";
    }
    
    // MySQL Configuration
    $_MYSQL[Host]               = "127.0.0.1"; // MySQL Host
    $_MYSQL[User]               = "my user name"; // MySQL User
    $_MYSQL[Pass]               = "my password"; // MySQL Pass
    $_MYSQL[DBNa]               = ""; // MySQL DBNa
    
    // CONFIGURATION
    $_CONFIG[NewsFID]           = 2; // NewsFID
    $_CONFIG[EventsFID]         = 2; // EventsFID
    $_CONFIG[vBulletinPrefix]   = ""; // vBulletin Prefix
    $_CONFIG[ForumURL]          = "http://microgunz.servegame.org/forum/"; // Forum URL
    $_CONFIG[OfflinePage]       = "";  // 1 = Enable Offline Page
    
    ?>
    i hope some 1 could help me with this.
    going sleep right now i hope i can fix it tomorrow when i wake up

    already thank you for person who can solve my problem


    If it necessary i used WWG Mpog Web by Davile website source.


  2. #2
    joe's **** stealhtfire is offline
    MemberRank
    Jul 2008 Join Date
    notwhereiwanttoLocation
    243Posts

    Re: Website Error

    mssql_connect("KEVINVERHOEVEN\SQLEXPRESS","","");

    fil this rule in propperly with the database password

  3. #3
    Enthusiast lukasddd is offline
    MemberRank
    Jun 2009 Join Date
    44Posts

    Re: Website Error

    Password in mssql_connect("KEVINVERHOEVEN\SQLEXPRESS","","Password HERE");

  4. #4
    Ā  Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Website Error

    It's supposed to be like this:

    mssql_connect("KEVINVERHOEVEN\SQLEXPRESS","sa","Password");



Advertisement