Guest User

Untitled

a guest
Jan 18th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. UPDATE 'pex_plotservercreative'.'permissions_inheritance'
  2. SET 'pex_plotservercreative'.'permissions_inheritance'.'parent' = 'Member'
  3. FROM 'pex_plotservercreative'.'permissions_inheritance'
  4. INNER JOIN 'phpbb'.'phpbb_profile_fields_data'
  5. ON 'phpbb'.'phpbb_profile_fields_data'.'minecraftname' = 'pex_plotservercreative'.'permissions_inheritance'.'child'
  6. WHERE 'phpbb'.'phpbb_profile_fields_data'.'minecraftname' = 'pex_plotservercreative'.'permissions_inheritance'.'child'
  7. AND 'pex_plotservercreative'.'permissions_inheritance'.'parent' = 'default'
  8.  
  9. #1064 - 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 ''pex_plotservercreative'.'permissions_inheritance' SET 'pex_plotservercreative'.' at line 1
  10.  
  11. DB1: pex_plotservercreative
  12. DB2:phpbb
  13. DB1:T: permissions_inheritance
  14. DB2:T: phpbb_profile_fields_data
  15.  
  16. If DB1 child is the same as DB2 minecraftname it means the user has an account on the forums an additional check is to see if the child is the parent of default as we do not want to demote people that sign up on the forums. Once checks are done We need to change default so it is the word member this will then complete the promotion.
Add Comment
Please, Sign In to add comment