[Help]small issue in admin panel

Results 1 to 8 of 8
  1. #1
    Member knifeman92 is offline
    MemberRank
    Jan 2007 Join Date
    79Posts

    [Help]small issue in admin panel

    when i set it up i get these errors...

    Code:
    Warning: mssql_query() [function.mssql-query]: message: Unicode data in  a Unicode-only collation or ntext data cannot be sent to clients using  DB-Library (such as ISQL) or ODBC version 3.7 or earlier. (severity 16) in  C:\wamp\www\AdminPanel\index.php on line 61
    
    Warning:  mssql_query() [function.mssql-query]: Query  failed in C:\wamp\www\AdminPanel\index.php on line  61
    
    Warning: mssql_num_rows(): supplied argument is not a  valid MS SQL-result resource in C:\wamp\www\AdminPanel\index.php on line  62
    how would i fix this error...or errors.


  2. #2
    Omer Omer is offline
    MemberRank
    Sep 2006 Join Date
    2,912Posts

    Re: small issue in admin panel

    Added you a Tag don't do it again.

  3. #3
    MentaL's Slave Keith is offline
    LegendRank
    Nov 2004 Join Date
    2,671Posts

    Re: [Help]small issue in admin panel

    This is GUNZ server section not support on other misc items that was created, closed.

  4. #4
    Account Upgraded | Title Enabled! RepublicOfAstra is offline
    MemberRank
    Dec 2006 Join Date
    1,122Posts

    Re: [Help]small issue in admin panel

    His error is on a Gunz site he created.

    I don't have a solution, but I'm re-opening this thread.

  5. #5
    The beer?? Its here !!! Rotana is offline
    MemberRank
    Jan 2007 Join Date
    The NetherlandsLocation
    1,733Posts

    Re: [Help]small issue in admin panel

    I have the same problem with some mssql querys.
    I'm looking for an solution.

  6. #6
    The beer?? Its here !!! Rotana is offline
    MemberRank
    Jan 2007 Join Date
    The NetherlandsLocation
    1,733Posts

    Re: [Help]small issue in admin panel

    I found an solution for it.

    The problem is when you use SELECT * From Account You will have sometime an error, like severity 16 .

    Example normale:
    Code:
    ?>
        - Accounts: <strong>
        <?php require 'config.php';
    	$query = mssql_query("SELECT * FROM Accounts");
    $num_rows = mssql_num_rows($query);
    echo "$num_rows";?>
    Example to solve this issue
    Code:
    ?>
        - Accounts: <strong>
        <?php require 'config.php';
    	$query = mssql_query("SELECT AID, UserID FROM Accounts");
    $num_rows = mssql_num_rows($query);
    echo "$num_rows";?>
    To solve the issue with the admin panel, just look to your code and replace the * with the coloms you need

    I hope this is helpfull for you

  7. #7
    Infraction Banned marcelinni is offline
    MemberRank
    Mar 2007 Join Date
    103Posts

    Re: [Help]small issue in admin panel

    kay, ell you have to be running through sql server authentication mode. to make it work, in installation click the mixed mode wen u install sql server 2005 express edition (not the managemtn studio). it will ask you either windows authentication or sql server authentication. click on sql server auth. then, wen u login to windows authentication. right click on your the thing above you databases ----------



    i hope that helped. now in ur config.php put ur sa and password in it and the name of ur db, for example my db is ''GunzDB'', put the EXACT name so that it registers users to it. i got liek 5 sites worin gand im gonna hsot my main one. after i ameka new template and add more optons.

  8. #8
    Member knifeman92 is offline
    MemberRank
    Jan 2007 Join Date
    79Posts

    Re: [Help]small issue in admin panel

    ty the info helped.



Advertisement