developer _WHM_CS Posted April 29, 2023 Share Posted April 29, 2023 Hello the reset password Emails for new users won't be sent but it worked fine for the previous user after many hours of debugging and problem-solving, I found that there was a serious problem with the WHMCS code where it tries to find the user's client ID with the user ID!!! so I want to simulate the problem's situation it works when tbluser and tblclient grow together and have the same id increment order but it fails when the tbluser increments faster then ids won't match and the email doesn't send so it looks in the tblcient table with user_id (tbluser id ) and when it finds the mache email would send it to tblclinet email address I think this is completely wrong and should be fixed ASAP 1 Quote Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst II WHMCS Juan Posted May 24, 2023 WHMCS Technical Analyst II Share Posted May 24, 2023 Howdy, After attempting to reproduce this behavior with mismatched User/Client IDs, I was unable to do so in WHMCS 8.7.2. Most often, we have seen these types of behaviors occur when outdated files are present from an older version of WHMCS. Please check that your /admin and /vendor directories are fully up to date by backing up and replacing them with a fresh copy from: https://download.whmcs.com/ If this behavior continues, please reach out to us via a ticket and we can take a closer look at your database to review your user/client relations. 0 Quote Link to comment Share on other sites More sharing options...
BatteryLove Posted June 7 Share Posted June 7 Having similar issue with remote API, using authentication validateLogin(), i get logged in to a completely different user missmatching the userid 0 Quote Link to comment Share on other sites More sharing options...
developer _WHM_CS Posted June 10 Author Share Posted June 10 On 6/7/2024 at 9:39 PM, BatteryLove said: Having similar issue with remote API, using authentication validateLogin(), i get logged in to a completely different user missmatching the userid what is your WHMCS version? 0 Quote Link to comment Share on other sites More sharing options...
BatteryLove Posted June 13 Share Posted June 13 On 6/10/2024 at 6:58 AM, developer _WHM_CS said: what is your WHMCS version? I just noticed that i had to better understand the difference between a User and a Client. So sometimes a User account has multiple Client accounts. 0 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.