sampsonzak Posted January 7, 2023 Share Posted January 7, 2023 So, I ran into a bug today, as I need to give a developer FTP access to one of my cloned / testing servers, I want to change the SQL password. I went ahead and changed the MySQL user password, then updated it in the parameters.php file, uploaded. Front-end is working fine, as normal. Connecting and working. But the back-end login, results in HTTP 500 Error, unable to log in. Not able to do anything. Anyone have any idea why this is happening? If I change the password back to the original, it works straight away?? Really confused as the front-end is working with no problems. Thank you Link to comment Share on other sites More sharing options...
jetx Posted January 8, 2023 Share Posted January 8, 2023 Have you tried to completely clear your browser cache to see if the front end really is working as it should? Try from your phone maybe. Link to comment Share on other sites More sharing options...
sampsonzak Posted January 8, 2023 Author Share Posted January 8, 2023 Just now, jetx said: Have you tried to completely clear your browser cache to see if the front end really is working as it should? Try from your phone maybe. I did refresh the cache. I changed the SQL password - checked the front end - 500 internal server error (expected), updated the parameters.php with the new password - re-checked the front end - front end is working, back-end on the other hand, not working at all. Doesn't show up the "500 internal server error" prestashop error template, but rather a 500 HTTPS error Chrome page. Tried in incognito too, same result. Changed SQL DB password, and updated in parameters.php (password only). No idea why this would happen? Link to comment Share on other sites More sharing options...
jetx Posted January 8, 2023 Share Posted January 8, 2023 What happens if you create a new db user with new pw and then edit the parameters file? Link to comment Share on other sites More sharing options...
sampsonzak Posted January 26, 2023 Author Share Posted January 26, 2023 So, I found another person with the same issue. This was resolved by deleting a cache folder: Try to delete those cache's directories "dev" and "prod" . Those directories are located here : var/cache/dev and var/cache/prod Very weird but it's now fixed the issue. 1 Link to comment Share on other sites More sharing options...
tuhingr Posted November 22, 2023 Share Posted November 22, 2023 On 1/26/2023 at 10:02 PM, sampsonzak said: So, I found another person with the same issue. This was resolved by deleting a cache folder: Try to delete those cache's directories "dev" and "prod" . Those directories are located here : var/cache/dev and var/cache/prod Very weird but it's now fixed the issue. Yes its working... Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now