Welcome to the RaGEZONE - MMORPG development forums.

SW Administration Panel

This is a discussion on SW Administration Panel within the Gunz Releases forums, part of the Gunz Online category; Originally Posted by flyffhelper I got some trouble when i go to accounts Code: Warning: mssql_query() [function.mssql-query]: message: Incorrect syntax ...

Page 5 of 6 FirstFirst 123456 LastLast
Results 61 to 75 of 76
  1. #61
    Pee Aitch Pee
    Rank
    Subscriber
    Join Date
    Mar 2011
    Location
    The Netherlands
    Posts
    613
    Liked
    305

    Re: SW Administration Panel

    Quote Originally Posted by flyffhelper View Post
    I got some trouble when i go to accounts
    Code:
    Warning: mssql_query() [function.mssql-query]: message: Incorrect syntax near the keyword 'FROM'. (severity 15) in C:\xampp\htdocs\inc\templates\template_account.php on line 14
    
    Warning: mssql_query() [function.mssql-query]: Query failed in C:\xampp\htdocs\inc\templates\template_account.php on line 14
    
    Warning: mssql_result() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\inc\templates\template_account.php on line 15
    That's this line:
    PHP Code:
    $coins mssql_query("SELECT ".$_CONFIG['coinscolumn']." FROM ".$_CONFIG['coinstable']." WHERE AID = '".$aid."'"); 
    Check if $_CONFIG['coinscolumn'] and $_CONFIG['coinstable'] are an existing table and column in inc/settings.php.

  2. #62
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    Dec 2010
    Posts
    309
    Liked
    5

    Re: SW Administration Panel

    Code:
    / The name of the column/table where your coins are stored in.
    $_CONFIG['coinscolumn'] = "coins";
    $_CONFIG['coinstable']  = "Account";

  3. #63
    Member
    Rank
    Member
    Join Date
    Dec 2009
    Location
    Holland
    Posts
    25
    Liked
    1
    Gamertag: Jiglo R I P

    Re: SW Administration Panel

    Hello all, i have an question, how do i execute the sql.txt in the db?
    Jupiter, Mars, and then back to venus. Girls love me for the size of my... Spaceship.

  4. #64
    Gunz Developer .. =D
    Rank
    Member +
    Join Date
    May 2008
    Location
    Netherlands
    Posts
    513
    Liked
    51

    Re: SW Administration Panel

    Quote Originally Posted by going208 View Post
    Hello all, i have an question, how do i execute the sql.txt in the db?
    Open a new query and copy and paste the text from the file into that and execute it.

    (Might be wrong but, been a long time since I actually used databases and stuff)


    StroopWaffle is on vacation so he won't be helping out for a week.

  5. #65
    A Lost Marine
    Rank
    Member +
    Join Date
    Feb 2010
    Location
    Philippines
    Posts
    370
    Liked
    11

    Re: SW Administration Panel

    I am having this Usergrade not correct problem.. How do I solve this?

  6. #66
    Pee Aitch Pee
    Rank
    Subscriber
    Join Date
    Mar 2011
    Location
    The Netherlands
    Posts
    613
    Liked
    305

    Re: SW Administration Panel

    Quote Originally Posted by gago117 View Post
    I am having this Usergrade not correct problem.. How do I solve this?
    What's the full error you are getting?
    If it's "Your UGradeID does not have access!" then it means your UGradeID is not in the array of $_CONFIG['accessuid'].

  7. #67
    Member
    Rank
    Member
    Join Date
    Nov 2011
    Posts
    93
    Liked
    2

    Re: SW Administration Panel

    Thank you.

  8. #68
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    May 2011
    Posts
    389
    Liked
    35

    Re: SW Administration Panel

    You rox :D

  9. #69
    Dude I'm Tripping Balls
    Rank
    Member +
    Join Date
    Mar 2010
    Location
    Canada
    Posts
    284
    Liked
    53
    Gamertag: Noahx3

    Re: SW Administration Panel

    Amazing! <3

  10. #70
    A Lost Marine
    Rank
    Member +
    Join Date
    Feb 2010
    Location
    Philippines
    Posts
    370
    Liked
    11

    Re: SW Administration Panel

    Quote Originally Posted by SuperWaffle View Post
    What's the full error you are getting?
    If it's "Your UGradeID does not have access!" then it means your UGradeID is not in the array of $_CONFIG['accessuid'].
    I tried to add a usergrade at the settings.php.


    Then when I test it, by selecting the new usergrade at the dropdown box, it says "UGrade not correct"



    How do I solve this?

  11. #71
    Member
    Rank
    Member
    Join Date
    Nov 2011
    Location
    Locating Target
    Posts
    26
    Liked
    1
    Gamertag: JackieD

    Re: SW Administration Panel

    Looking good n.n

    Although I don't really like the grungy textures behind the buttons and content.
    Adobe Photoshop • Adobe After Effects • Cinema 4D • Boujou

  12. #72
    Member
    Rank
    Member
    Join Date
    Jan 2011
    Posts
    29
    Liked
    0

    Re: SW Administration Panel


    arum like this: You can not access the Admin Panel, my account is now with the ugraid: 255,

    please help as quickly

  13. #73
    Intelligent DoucheBag
    Rank
    Alpha Member
    Join Date
    Jan 2008
    Location
    Raalte, Netherl
    Posts
    1,663
    Liked
    236
    XFIRE ID: jur13n

    Re: SW Administration Panel

    Quote Originally Posted by facafeia View Post

    arum like this: You can not access the Admin Panel, my account is now with the ugraid: 255,

    please help as quickly
    settings.php

    Code:
    // If $accopt is 1, define the accounts here. CASE SENSITIVE.
    $_CONFIG['accs'] = array("Account1", "Account2");
    
    // Who are the admins? Those users will have access to the admin message and view log function.
    $_CONFIG['admins'] = array("Account1", "Account2");
    add your own account name..
    or it will not acces.

  14. #74
    Member
    Rank
    Member
    Join Date
    Jan 2011
    Posts
    29
    Liked
    0

    Re: SW Administration Panel

    Thank you ... love you =)

  15. #75
    Registered
    Rank
    Member
    Join Date
    Mar 2011
    Posts
    17
    Liked
    1

    Re: SW Administration Panel

    SuperWaffle i got the blue web you made. bud i dont know howt o set it up always get error in include/config/line 18

    and i dont know how this panel works

    and this error to

    Fatal error: Call to undefined function mssql_connect() in C:\AppServ\www\Panel\inc\class_config.php on line 21

    the line 21 fixed bud i get this error when i log in

    Fatal error: Call to undefined function mssql_query() in C:\AppServ\www\Panel\index.php on line 27

    and there stands in the folder : $q = mssql_query("SELECT * FROM Login WHERE UserID = '".$user."' AND Password = '".$pass."'");

 

 
Page 5 of 6 FirstFirst 123456 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •