Fatal Error after changing username and password
faheemkhan14 opened this issue · 27 comments
Describe the bug
I followed your youtube tutorial and installed DVWA. It installed fine and was running however I changed he username and password in the 'config.inc.php' file and now at the login page it is giving me a 'Fatal Error...' The setup page shows up as normal still, just the login page doesn't.
System (please complete the following information):
VirtualBox
- OS: Ubuntu Kali
- PHP Version 8.2
![Screenshot 2024-01-10 at 04 40 26](https://private-user-images.githubusercontent.com/68590571/295451372-de280505-dcb5-4263-b81d-3a7dbfe41c58.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTI1MDg5NDMsIm5iZiI6MTcxMjUwODY0MywicGF0aCI6Ii82ODU5MDU3MS8yOTU0NTEzNzItZGUyODA1MDUtZGNiNS00MjYzLWI4MWQtM2E3ZGJmZTQxYzU4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDA3VDE2NTA0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM2ZTEwZGQxY2M2NzRhNGFmZDAxN2U0Yjc1YWM4OTBiZjM3NzQ5OWY5OWRiMmQ2YjBmNDdhNzI0OTI1MTEyMzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.y2Bsh9IPvea4VqMJA5VaxwlEL3wvGpkBu_erUU0rV_c)
![Screenshot 2024-01-10 at 04 39 48](https://private-user-images.githubusercontent.com/68590571/295451384-b784b5bd-6d89-4c64-bd81-1be326b5ab47.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTI1MDg5NDMsIm5iZiI6MTcxMjUwODY0MywicGF0aCI6Ii82ODU5MDU3MS8yOTU0NTEzODQtYjc4NGI1YmQtNmQ4OS00YzY0LWJkODEtMWJlMzI2YjVhYjQ3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDA3VDE2NTA0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUwMWYwYjZlZTE4MDRlOTY2Y2VmMDM1NDdhY2IzZGFiMWY0ZGI5ZjA3Y2I3ZDA0NjIxOTNiNzEyODIzMTI4NjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.yvTuaNpvz9DrRr_CrkDOyWnVrdS4yF354J1Dg3_Al4E)
I changed them back and it is still showing the same error now. Is there a way I can delete DVWA and all its files and start all over?
I did change them back to what they was before
User was admin and password was p@ssw0rd but it still showing the same fatal error
‘dvwa’ I mean
I cant create a database user because it just gives me the error whenever I try and put any username and password in. Tried the original dvwa and p@ssw0rd as it was before and tried the username and password i changed it to
but in order to login into mariadb you have to do 'mysql -u (username) -p(password) right?
still the same, username or password isnt working
no i created the database with dvwa as the user
Yeah it says inactive
finallyy, thank you.