Web - Error conecting MSSQL server

Results 1 to 14 of 14
  1. #1
    Apprentice fleonor is offline
    MemberRank
    May 2007 Join Date
    11Posts

    Web - Error conecting MSSQL server

    Help me someone i tried all Instructions, all in RageZone... I searched all information about this connection, but my Web ( I tried about 10 Web Files, and 3 web Servers ) cannot connect to my MSSQL database!
    1. People can`t register throw the Web
    2. There is no information about server
    I very need working code, because all the time Errors in the WEB are shown in the connect command lines, like this:


    1) $conn = mssql_connect($config['host'], $config['user'], $config['pass']);
    $sel = mssql_select_db($config['base']);

    2) $conn = mssql_connect($mssql_host, $mssql_user, $mssql_pass);
    mssql_select_db($mssql_database);

    Please help me, i hope someone will help me Quickly! No flood please, only HELP


  2. #2
    Account Upgraded | Title Enabled! X-Weaver is offline
    MemberRank
    Jan 2009 Join Date
    XDLocation
    443Posts

    Re: Web - Error conecting MSSQL server

    edit it more good and edit config.php

  3. #3
    Apprentice fleonor is offline
    MemberRank
    May 2007 Join Date
    11Posts

    Re: Web - Error conecting MSSQL server

    I maked all, config.php all what is needed! But nothing! What can i do php.ini and all Web Files are configured! What can be wrong???

  4. #4
    Account Upgraded | Title Enabled! Anan is offline
    MemberRank
    Apr 2008 Join Date
    692Posts

    Re: Web - Error conecting MSSQL server

    hmm
    i know you maybe didnt make DNS Server

  5. #5
    Apprentice fleonor is offline
    MemberRank
    May 2007 Join Date
    11Posts

    Re: Web - Error conecting MSSQL server

    i maked DNS server in ODBC all is connected, but still that ERROR :(

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

    Re: Web - Error conecting MSSQL server

    whats the exact error?

  7. #7
    Apprentice fleonor is offline
    MemberRank
    May 2007 Join Date
    11Posts

    Re: Web - Error conecting MSSQL server

    Error in this GunzWebPack is this line
    $conn = mssql_connect($mssql_host, $mssql_user, $mssql_pass);
    mssql_select_db($mssql_database); Can`t connect to MSSQL in line 7 player.php, and 7 line is this $conn = mssql_connect($mssql_host, $mssql_user, $mssql_pass);
    mssql_select_db($mssql_database);

  8. #8
    Account Upgraded | Title Enabled! Anan is offline
    MemberRank
    Apr 2008 Join Date
    692Posts

    Re: Web - Error conecting MSSQL server

    if you havent done this do it...
    open php.ini>>> search for "extension=php_mssql.dll"
    >>>remove ";"from the first of the sentence ...
    >>>close save...

  9. #9
    Apprentice fleonor is offline
    MemberRank
    May 2007 Join Date
    11Posts

    Re: Web - Error conecting MSSQL server

    Fatal error: Call to undefined function mssql_connect() in C:\EasyPHP 2.0b1\www\register.php on line 83 this is the last error i had tomor when tested one more WEB File Pack - line
    $conn = mssql_connect($config['host'], $config['user'], $config['pass']);
    $sel = mssql_select_db($config['base']);

  10. #10
    Account Upgraded | Title Enabled! Anan is offline
    MemberRank
    Apr 2008 Join Date
    692Posts

    Re: Web - Error conecting MSSQL server

    hmmm didnt you edit the config.php ?

  11. #11
    Apprentice fleonor is offline
    MemberRank
    May 2007 Join Date
    11Posts

    Re: Web - Error conecting MSSQL server

    I Edited all where it was needed php.ini, config.php, and in Web Files where it was needed! But still this F*$ing Error

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

    Re: Web - Error conecting MSSQL server

    search button is your friend :) My thread has the fix for this.

  13. #13
    Apprentice fleonor is offline
    MemberRank
    May 2007 Join Date
    11Posts

    Re: Web - Error conecting MSSQL server

    wesman2232 - can you give a link to you`r FIX?

  14. #14
    Account Upgraded | Title Enabled! shadow-xx is offline
    MemberRank
    Jan 2007 Join Date
    MegatonLocation
    804Posts

    Re: Web - Error conecting MSSQL server

    Quote Originally Posted by fleonor View Post
    wesman2232 - can you give a link to you`r FIX?
    http://forum.ragezone.com/f497/unoff...thread-490635/



Advertisement