Dvaw Folder is at Same Level as Config Folder? #122

russ6100 opened this Issue Dec 22, 2016 · 1 comment


None yet

1 participant


I just dled dvwa to throw on XAMPP and all the instructions I've seen say to put the dvwa folder in your htdocs. The problem is, if you do as instructed, you will not even have the config folder in your installation, hence the app will have no access to config.inc.php! The dvwa folder comes wrapped in to higher level folders, both named DVWA-master. What is the solution here? Who wants to have a path like: localhost/DVWA-master/DVWA-master/etc..? Do I remove the read-only permission from the whole mess and then remove the highest DVWA-master folder, then rename the next DVWA-master folder to 'dvwa' or??

russ6100 commented Dec 23, 2016 edited

I removed the top-level folder (DVWA-master), changed the next level folder to 'dvwa', edited the config files for 'root' with password:''. I removed the read-only permissions from the whole thing. I stopped using 'localhost' in the address bar and I'm using I also commented out the line to assign the db port number in the config file (it's for postgresSL, don't know why only the comment was commented out). Everthing seems like it should be fine. Mutillidae works without issue.

I'm getting these error messages:

`Notice: Undefined variable: DBMS_errorFunc in C:\xampp\htdocs\dvwa\dvwa\includes\dvwaPage.inc.php on line 465

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\dvwa\dvwa\includes\dvwaPage.inc.php:465) in C:\xampp\htdocs\dvwa\dvwa\includes\dvwaPage.inc.php on line 489`

I checked out the line in question (465) in dvwaPage.inc.php - just an unable to connect to db error...
Is this able to run on MySQL 5.1.41?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment