Jump to content
MakeWebGames

Free real-time chat


sniko

Recommended Posts

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 :)

Link to comment
Share on other sites

  • 4 years later...
  • Replies 51
  • Created
  • Last Reply

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...