admin panel error o_O

Results 1 to 9 of 9
  1. #1
    Apprentice [Azn]iPurps is offline
    MemberRank
    Nov 2009 Join Date
    17Posts

    admin panel error o_O

    odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC SQL Server Driver][DBMSLPCN]SQL Server does not exist or access denied., SQL state 08001 in SQLConnect in C:\xampp\htdocs\Admin Panel\functions.php on line 17
    [Microsoft][ODBC SQL Server Driver][DBMSLPCN]SQL Server does not exist or access denied.

    i'm using emisands admin panel but for some reason i get this error O_o. Any fixes xD?


  2. #2
    Apprentice [Azn]iPurps is offline
    MemberRank
    Nov 2009 Join Date
    17Posts

    Re: admin panel error o_O

    (hope there is a mergy thingy)

    ANYONE RESPOND xD?

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

    Re: admin panel error o_O

    look at line 17 of funtions.php ?

  4. #4
    Apprentice [Azn]iPurps is offline
    MemberRank
    Nov 2009 Join Date
    17Posts

    Re: admin panel error o_O

    and how u do tht?

  5. #5
    Member 1nfinite is offline
    MemberRank
    Apr 2010 Join Date
    51Posts

    Re: admin panel error o_O

    Find functions.php, scroll down 17 lines.

    There ya go.

    SQL Server does not exist or access denied., SQL state 08001 in SQLConnect in C:\xampp\htdocs\Admin Panel\functions.php on line 17
    Which means you edited something wrong on line 17 of your functions.php

  6. #6
    Apprentice [Azn]iPurps is offline
    MemberRank
    Nov 2009 Join Date
    17Posts

    Re: admin panel error o_O

    $resource = odbc_connect("Driver={SQL Server};Server={$_MSSQL[Host]}; Database={$_MSSQL[DBNa]}", $_MSSQL[User], $_MSSQL[Pass]) or die(odbc_errormsg());
    return $resource;

    tht's my line for line 17, anyone tell me wut's wrong or wut i need to edit xD? thx

  7. #7
    人◕ ‿‿ ◕人 Forean is offline
    MemberRank
    Jul 2008 Join Date
    1,183Posts

    Re: admin panel error o_O

    its odbc error, its weird, did that to me. Try to update your ntwblib.dll

    or try to change it to mssql

    instead of odbc

  8. #8
    Account Upgraded | Title Enabled! randy1234 is offline
    MemberRank
    Mar 2009 Join Date
    SingaporeLocation
    1,196Posts

    Re: admin panel error o_O

    Use Appserv if you use wamp

  9. #9
    Account Upgraded | Title Enabled! 00niels00 is offline
    MemberRank
    Sep 2008 Join Date
    The NetherlandsLocation
    1,041Posts

    Re: admin panel error o_O

    Quote Originally Posted by forean View Post
    its odbc error, its weird, did that to me. Try to update your ntwblib.dll

    or try to change it to mssql

    instead of odbc
    ntwblib.dll Is used for mssql connections, odbc works fine without.

    It's because your config is wrong.

    Or you havent set-up odbc properly.



Advertisement