Jump to content
  • 0

Need help - SQL db error pls thanks


BabaVoss

Question


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.03
  • Content Count:  79
  • Reputation:   0
  • Joined:  06/17/20
  • Last Seen:  

image.png

Edited by BabaVoss
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

the account_id field has been dropped from the guild_member table, unless you rollback the commits that did this, else no point to re-add it since the field wont have value stored there

alternatively, you could just rewrite the SQL to do a INNER JOIN or LEFT JOIN, to get your data.

but since you're not really using .Options & 4 ... I guess its fine if you do the easier way.

find

SELECT account_id,char_id FROM `guild_member`....

and replace into

SELECT account_id,char_id FROM `char`....

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.03
  • Content Count:  79
  • Reputation:   0
  • Joined:  06/17/20
  • Last Seen:  

hello guys i need help on how do i fix this.

how do i make table for this type of error

image.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  76
  • Reputation:   11
  • Joined:  04/13/12
  • Last Seen:  

So the Message in your console prompts, that you try to read a column that doesn't exist in your given table. Maybe check that out.  "Unknown column account_id in field list"

 

Did you fiddle with the SQL?

Link to comment
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   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...