[Help] Mu website errors :\

Results 1 to 4 of 4
  1. #1
    Newbie Dr dree6 is offline
    MemberRank
    Sep 2007 Join Date
    21Posts

    [Help] Mu website errors :\

    After I finish website i get only these errors

    Warning mssql_connect() Unable to connect to server 85.255.57.6 in c:\appserv\www\config.php on line 32

    Warning mssql_db() suplied argument is not a valid MS SQL-Link resource in c:\appserv\www\config.php on line 31



    $regsubmit = "regform.submit()";
    $msconnect=mssql_connect("$host","$alogin","$apass");
    $msdb=mssql_select_db("$db",$msconnect);

    that what is on the line 32 and 31

    I also write all correct logins but still no result :(


  2. #2
    Sorcerer Supreme Jahte is offline
    Member +Rank
    Aug 2007 Join Date
    LatviaLocation
    316Posts

    Re: [Help] Mu website errors :\

    Try to use local ip ( 127.0.0.1 ) to connect to database.

  3. #3
    Member Psycho666 is offline
    MemberRank
    Sep 2004 Join Date
    Santa Rosa, CALocation
    29Posts

    Re: [Help] Mu website errors :\

    You need to enable MSSQL in your php.ini

    Look for these lines:

    Code:
    ;extension=php_mssql.dll
    ;extension=php_dba.dll
    ;extension=php_dbase.dll
    Change them to:

    Code:
    extension=php_mssql.dll
    extension=php_dba.dll
    extension=php_dbase.dll
    For Appserv:

    go to start > run > C:\Windows\php.ini

    For xampp:

    go to your xampp folder, the goto the PHP folder, your php.ini will be in there.
    Last edited by Psycho666; 21-08-09 at 09:45 PM. Reason: Added info

  4. #4
    Newbie Dr dree6 is offline
    MemberRank
    Sep 2007 Join Date
    21Posts

    Re: [Help] Mu website errors :\

    thanks , but still dosen't work



Advertisement