Magictallguy Posted February 22, 2016 Share Posted February 22, 2016 Love the idea of this staff panel. Just a few errors so far. Trying to ban a user. edit: QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-bans WHERE userid = 100' at line 1 Query was SELECT ban_type, ban_until, banned_by FROM pusher_chat-bans WHERE userid = 100 If I had opened my eyes I would have seen the problem here: Line 113 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Change too: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. New error when trying to ban someone. ERROR You didn't select a valid ban type Trying to edit a room Select the one and only room that I have and change the name. ERROR You didn't select a valid room Add room works fine. Delete room works fine as well. My apologies for both the graveyard dig and the lateness of my response. I've done minor optimizations on the entire staff_chat.php file. I'll do some debugging shortly -- Edit: Debug complete (unfortunately, no test area, so I can't properly test it. Any issues, post back please :) Quote Link to comment Share on other sites More sharing options...
PHPStudent Posted August 13, 2020 Share Posted August 13, 2020 Cant get this work sadly Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.