Closed sayantani11 closed 5 months ago
You are trying to access the site over https but you probably only set Apache up to serve the site on http. Try accessing it over http instead.
On Sun, 5 May 2024, 07:36 Sayantani Saha, @.***> wrote:
Questions here may or may not be answered depending on the state of the question, to increase your chance, read this before asking Asking For Technical Help https://digi.ninja/blog/asking_for_help.php.
Basically, the more details you give, the more chance of getting an answer. We need at least:
-
Where did you get DVWA from? digininja/DVWA
What OS are you installing it on? Ubuntu 18.04 (WSL)
Last five lines from the web server access and error log from the time the error occurred if you got that far. APACHE2 LOG [Sun May 05 11:30:36.405862 2024] [core:notice] [pid 9681] AH00094: Command line: '/usr/sbin/apache2' [Sun May 05 11:40:48.120308 2024] [mpm_prefork:notice] [pid 9681] AH00169: caught SIGTERM, shutting down [Sun May 05 11:40:48.176306 2024] [mpm_prefork:notice] [pid 9877] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 11:40:48.176363 2024] [core:notice] [pid 9877] AH00094: Command line: '/usr/sbin/apache2' [Sun May 05 11:51:17.913314 2024] [mpm_prefork:notice] [pid 9877] AH00169: caught SIGTERM, shutting down [Sun May 05 11:51:17.976538 2024] [mpm_prefork:notice] [pid 10048] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 11:51:17.976593 2024] [core:notice] [pid 10048] AH00094: Command line: '/usr/sbin/apache2'
The error you got when you got stuck. image.png (view on web) https://github.com/digininja/DVWA/assets/75435974/70e9c059-6435-4514-8c5f-92642233bf4e
Any previous errors. Related to mysql and php setup but already fixed it
What you have tried to do yourself to fix the problem. In the '/var/www/html' i tried removing the html and folder and already keeping the config.inc.php file and in the apache sites-enabled files I changed the path to '/var/www/'. Although none of it worked. Point to be noted, I have restarted the apache2 server and rebooted the terminal everytime. Someone said changing the name of the directory from DVWA to dvwa will work but it didn't.
Support will only be given for users running the latest pull of code from GitHub. Not a tagged release, not a pre-installed app, not a ZIP you got from a mate.
— Reply to this email directly, view it on GitHub https://github.com/digininja/DVWA/issues/628, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA4SWPHWUDABBOJP6EI2ILZAXHOZAVCNFSM6AAAAABHHO2BJ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TSMZVGE3TIOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
You are trying to access the site over https but you probably only set Apache up to serve the site on http. Try accessing it over http instead. … On Sun, 5 May 2024, 07:36 Sayantani Saha, @.> wrote: Questions here may or may not be answered depending on the state of the question, to increase your chance, read this before asking Asking For Technical Help https://digi.ninja/blog/asking_for_help.php. Basically, the more details you give, the more chance of getting an answer. We need at least: - Where did you get DVWA from? digininja/DVWA - What OS are you installing it on? Ubuntu 18.04 (WSL) - Last five lines from the web server access and error log from the time the error occurred if you got that far. APACHE2 LOG [Sun May 05 11:30:36.405862 2024] [core:notice] [pid 9681] AH00094: Command line: '/usr/sbin/apache2' [Sun May 05 11:40:48.120308 2024] [mpm_prefork:notice] [pid 9681] AH00169: caught SIGTERM, shutting down [Sun May 05 11:40:48.176306 2024] [mpm_prefork:notice] [pid 9877] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 11:40:48.176363 2024] [core:notice] [pid 9877] AH00094: Command line: '/usr/sbin/apache2' [Sun May 05 11:51:17.913314 2024] [mpm_prefork:notice] [pid 9877] AH00169: caught SIGTERM, shutting down [Sun May 05 11:51:17.976538 2024] [mpm_prefork:notice] [pid 10048] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 11:51:17.976593 2024] [core:notice] [pid 10048] AH00094: Command line: '/usr/sbin/apache2' - The error you got when you got stuck. image.png (view on web) https://github.com/digininja/DVWA/assets/75435974/70e9c059-6435-4514-8c5f-92642233bf4e - Any previous errors. Related to mysql and php setup but already fixed it - What you have tried to do yourself to fix the problem. In the '/var/www/html' i tried removing the html and folder and already keeping the config.inc.php file and in the apache sites-enabled files I changed the path to '/var/www/'. Although none of it worked. Point to be noted, I have restarted the apache2 server and rebooted the terminal everytime. Someone said changing the name of the directory from DVWA to dvwa will work but it didn't. Support will only be given for users running the latest pull of code from GitHub. Not a tagged release, not a pre-installed app, not a ZIP you got from a mate. — Reply to this email directly, view it on GitHub <#628>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA4SWPHWUDABBOJP6EI2ILZAXHOZAVCNFSM6AAAAABHHO2BJ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TSMZVGE3TIOI . You are receiving this because you are subscribed to this thread.Message ID: @.>
Tried changing the port to '443' and still get the same error
ent 127.0.0.1:42522] PHP Notice: Array to string conversion in /var/www/dvwa/dvwa/includes/dvwaPage.inc.php on line 77 [Sun May 05 12:37:57.217862 2024] [php7:error] [pid 10356] [client 127.0.0.1:42522] PHP Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /var/www/dvwa/dvwa/includes/dvwaPage.inc.php:535\nStack trace:\n#0 /var/www/dvwa/login.php(8): dvwaDatabaseConnect()\n#1 {main}\n thrown in /var/www/dvwa/dvwa/includes/dvwaPage.inc.php on line 535 [Sun May 05 12:42:11.932531 2024] [mpm_prefork:notice] [pid 10355] AH00169: caught SIGTERM, shutting down [Sun May 05 12:42:12.042984 2024] [mpm_prefork:notice] [pid 17588] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 12:42:12.043075 2024] [core:notice] [pid 17588] AH00094: Command line: '/usr/sbin/apache2' [Sun May 05 12:43:56.750550 2024] [mpm_prefork:notice] [pid 17588] AH00169: caught SIGTERM, shutting down [Sun May 05 12:43:56.803178 2024] [mpm_prefork:notice] [pid 18713] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 12:43:56.804095 2024] [core:notice] [pid 18713] AH00094: Command line: '/usr/sbin/apache2'
and for http The side doesn't load even if it manages to connect
That isn't how things work, if you change the http port to 443 you are now doing http over port 443 not 80 which will work but isn't how things are supposed to be done. Put it back.
You've also not installed all the PHP libraries, go back to the README and follow it step by step.
On Sun, 5 May 2024, 08:17 Sayantani Saha, @.***> wrote:
You are trying to access the site over https but you probably only set Apache up to serve the site on http. Try accessing it over http instead. … <#m4348027560136397332> On Sun, 5 May 2024, 07:36 Sayantani Saha, @.*> wrote: Questions here may or may not be answered depending on the state of the question, to increase your chance, read this before asking Asking For Technical Help https://digi.ninja/blog/asking_for_help.php https://digi.ninja/blog/asking_for_help.php. Basically, the more details you give, the more chance of getting an answer. We need at least: - Where did you get DVWA from? digininja/DVWA - What OS are you installing it on? Ubuntu 18.04 (WSL) - Last five lines from the web server access and error log from the time the error occurred if you got that far. APACHE2 LOG [Sun May 05 11:30:36.405862 2024] [core:notice] [pid 9681] AH00094: Command line: '/usr/sbin/apache2' [Sun May 05 11:40:48.120308 2024] [mpm_prefork:notice] [pid 9681] AH00169: caught SIGTERM, shutting down [Sun May 05 11:40:48.176306 2024] [mpm_prefork:notice] [pid 9877] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 11:40:48.176363 2024] [core:notice] [pid 9877] AH00094: Command line: '/usr/sbin/apache2' [Sun May 05 11:51:17.913314 2024] [mpm_prefork:notice] [pid 9877] AH00169: caught SIGTERM, shutting down [Sun May 05 11:51:17.976538 2024] [mpm_prefork:notice] [pid 10048] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 11:51:17.976593 2024] [core:notice] [pid 10048] AH00094: Command line: '/usr/sbin/apache2' - The error you got when you got stuck. image.png (view on web) https://github.com/digininja/DVWA/assets/75435974/70e9c059-6435-4514-8c5f-92642233bf4e https://github.com/digininja/DVWA/assets/75435974/70e9c059-6435-4514-8c5f-92642233bf4e
- Any previous errors. Related to mysql and php setup but already fixed it
- What you have tried to do yourself to fix the problem. In the '/var/www/html' i tried removing the html and folder and already keeping the config.inc.php file and in the apache sites-enabled files I changed the path to '/var/www/'. Although none of it worked. Point to be noted, I have restarted the apache2 server and rebooted the terminal everytime. Someone said changing the name of the directory from DVWA to dvwa will work but it didn't. Support will only be given for users running the latest pull of code from GitHub. Not a tagged release, not a pre-installed app, not a ZIP you got from a mate. — Reply to this email directly, view it on GitHub <#628 https://github.com/digininja/DVWA/issues/628>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA4SWPHWUDABBOJP6EI2ILZAXHOZAVCNFSM6AAAAABHHO2BJ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TSMZVGE3TIOI https://github.com/notifications/unsubscribe-auth/AAA4SWPHWUDABBOJP6EI2ILZAXHOZAVCNFSM6AAAAABHHO2BJ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TSMZVGE3TIOI . You are receiving this because you are subscribed to this thread.Message ID: @.*>
Tried changing the port to '443' and still get the same error ent 127.0.0.1:42522] PHP Notice: Array to string conversion in /var/www/dvwa/dvwa/includes/dvwaPage.inc.php on line 77 [Sun May 05 12:37:57.217862 2024] [php7:error] [pid 10356] [client 127.0.0.1:42522] PHP Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /var/www/dvwa/dvwa/includes/dvwaPage.inc.php:535\nStack trace:\n#0 /var/www/dvwa/login.php(8): dvwaDatabaseConnect()\n#1 {main}\n thrown in /var/www/dvwa/dvwa/includes/dvwaPage.inc.php on line 535 [Sun May 05 12:42:11.932531 2024] [mpm_prefork:notice] [pid 10355] AH00169: caught SIGTERM, shutting down [Sun May 05 12:42:12.042984 2024] [mpm_prefork:notice] [pid 17588] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 12:42:12.043075 2024] [core:notice] [pid 17588] AH00094: Command line: '/usr/sbin/apache2' [Sun May 05 12:43:56.750550 2024] [mpm_prefork:notice] [pid 17588] AH00169: caught SIGTERM, shutting down [Sun May 05 12:43:56.803178 2024] [mpm_prefork:notice] [pid 18713] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 12:43:56.804095 2024] [core:notice] [pid 18713] AH00094: Command line: '/usr/sbin/apache2'
and for http The side doesn't load even if it manages to connect
— Reply to this email directly, view it on GitHub https://github.com/digininja/DVWA/issues/628#issuecomment-2094662220, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA4SWLPZA5V25RYW2UCPXTZAXMHBAVCNFSM6AAAAABHHO2BJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUGY3DEMRSGA . You are receiving this because you commented.Message ID: @.***>
That isn't how things work, if you change the http port to 443 you are now doing http over port 443 not 80 which will work but isn't how things are supposed to be done. Put it back. You've also not installed all the PHP libraries, go back to the README and follow it step by step. … On Sun, 5 May 2024, 08:17 Sayantani Saha, @.> wrote: You are trying to access the site over https but you probably only set Apache up to serve the site on http. Try accessing it over http instead. … <#m4348027560136397332> On Sun, 5 May 2024, 07:36 Sayantani Saha, @.> wrote: Questions here may or may not be answered depending on the state of the question, to increase your chance, read this before asking Asking For Technical Help https://digi.ninja/blog/asking_for_help.php https://digi.ninja/blog/asking_for_help.php. Basically, the more details you give, the more chance of getting an answer. We need at least: - Where did you get DVWA from? digininja/DVWA - What OS are you installing it on? Ubuntu 18.04 (WSL) - Last five lines from the web server access and error log from the time the error occurred if you got that far. APACHE2 LOG [Sun May 05 11:30:36.405862 2024] [core:notice] [pid 9681] AH00094: Command line: '/usr/sbin/apache2' [Sun May 05 11:40:48.120308 2024] [mpm_prefork:notice] [pid 9681] AH00169: caught SIGTERM, shutting down [Sun May 05 11:40:48.176306 2024] [mpm_prefork:notice] [pid 9877] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 11:40:48.176363 2024] [core:notice] [pid 9877] AH00094: Command line: '/usr/sbin/apache2' [Sun May 05 11:51:17.913314 2024] [mpm_prefork:notice] [pid 9877] AH00169: caught SIGTERM, shutting down [Sun May 05 11:51:17.976538 2024] [mpm_prefork:notice] [pid 10048] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 11:51:17.976593 2024] [core:notice] [pid 10048] AH00094: Command line: '/usr/sbin/apache2' - The error you got when you got stuck. image.png (view on web) https://github.com/digininja/DVWA/assets/75435974/70e9c059-6435-4514-8c5f-92642233bf4e https://github.com/digininja/DVWA/assets/75435974/70e9c059-6435-4514-8c5f-92642233bf4e - Any previous errors. Related to mysql and php setup but already fixed it - What you have tried to do yourself to fix the problem. In the '/var/www/html' i tried removing the html and folder and already keeping the config.inc.php file and in the apache sites-enabled files I changed the path to '/var/www/'. Although none of it worked. Point to be noted, I have restarted the apache2 server and rebooted the terminal everytime. Someone said changing the name of the directory from DVWA to dvwa will work but it didn't. Support will only be given for users running the latest pull of code from GitHub. Not a tagged release, not a pre-installed app, not a ZIP you got from a mate. — Reply to this email directly, view it on GitHub <#628 <#628>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA4SWPHWUDABBOJP6EI2ILZAXHOZAVCNFSM6AAAAABHHO2BJ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TSMZVGE3TIOI https://github.com/notifications/unsubscribe-auth/AAA4SWPHWUDABBOJP6EI2ILZAXHOZAVCNFSM6AAAAABHHO2BJ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TSMZVGE3TIOI . You are receiving this because you are subscribed to this thread.Message ID: @.> Tried changing the port to '443' and still get the same error ent 127.0.0.1:42522] PHP Notice: Array to string conversion in /var/www/dvwa/dvwa/includes/dvwaPage.inc.php on line 77 [Sun May 05 12:37:57.217862 2024] [php7:error] [pid 10356] [client 127.0.0.1:42522] PHP Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /var/www/dvwa/dvwa/includes/dvwaPage.inc.php:535\nStack trace:\n#0 /var/www/dvwa/login.php(8): dvwaDatabaseConnect()\n#1 {main}\n thrown in /var/www/dvwa/dvwa/includes/dvwaPage.inc.php on line 535 [Sun May 05 12:42:11.932531 2024] [mpm_prefork:notice] [pid 10355] AH00169: caught SIGTERM, shutting down [Sun May 05 12:42:12.042984 2024] [mpm_prefork:notice] [pid 17588] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 12:42:12.043075 2024] [core:notice] [pid 17588] AH00094: Command line: '/usr/sbin/apache2' [Sun May 05 12:43:56.750550 2024] [mpm_prefork:notice] [pid 17588] AH00169: caught SIGTERM, shutting down [Sun May 05 12:43:56.803178 2024] [mpm_prefork:notice] [pid 18713] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 12:43:56.804095 2024] [core:notice] [pid 18713] AH00094: Command line: '/usr/sbin/apache2' and for http The side doesn't load even if it manages to connect — Reply to this email directly, view it on GitHub <#628 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA4SWLPZA5V25RYW2UCPXTZAXMHBAVCNFSM6AAAAABHHO2BJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUGY3DEMRSGA . You are receiving this because you commented.Message ID: @.>
Followed the step and replaced sql server with mariadb and some of the dependencies are shown broken but forced installed it. At first the server was opening but the database creation was giving an error, but now the setup.php page displays the code and not the UI it was showing previously :(
If you are forcing things and tried to use SQL server rather than MariaDB then you aren't following the instructions and there are all sorts of things you could have messed up.
The best advice is to nuke that machine and start again and follow the instructions properly next time.
And when replying to tickets, please don't include the full email in the reply, it makes things really hard to read.
On Sun, 5 May 2024, 10:01 Sayantani Saha, @.***> wrote:
That isn't how things work, if you change the http port to 443 you are now doing http over port 443 not 80 which will work but isn't how things are supposed to be done. Put it back. You've also not installed all the PHP libraries, go back to the README and follow it step by step. … <#m2562309393339399231> On Sun, 5 May 2024, 08:17 Sayantani Saha, @.*> wrote: You are trying to access the site over https but you probably only set Apache up to serve the site on http. Try accessing it over http instead. … <#m4348027560136397332> On Sun, 5 May 2024, 07:36 Sayantani Saha, @.> wrote: Questions here may or may not be answered depending on the state of the question, to increase your chance, read this before asking Asking For Technical Help https://digi.ninja/blog/asking_for_help.php https://digi.ninja/blog/asking_for_help.php https://digi.ninja/blog/asking_for_help.php https://digi.ninja/blog/asking_for_help.php. Basically, the more details you give, the more chance of getting an answer. We need at least: - Where did you get DVWA from? digininja/DVWA - What OS are you installing it on? Ubuntu 18.04 (WSL) - Last five lines from the web server access and error log from the time the error occurred if you got that far. APACHE2 LOG [Sun May 05 11:30:36.405862 2024] [core:notice] [pid 9681] AH00094: Command line: '/usr/sbin/apache2' [Sun May 05 11:40:48.120308 2024] [mpm_prefork:notice] [pid 9681] AH00169: caught SIGTERM, shutting down [Sun May 05 11:40:48.176306 2024] [mpm_prefork:notice] [pid 9877] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 11:40:48.176363 2024] [core:notice] [pid 9877] AH00094: Command line: '/usr/sbin/apache2' [Sun May 05 11:51:17.913314 2024] [mpm_prefork:notice] [pid 9877] AH00169: caught SIGTERM, shutting down [Sun May 05 11:51:17.976538 2024] [mpm_prefork:notice] [pid 10048] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 11:51:17.976593 2024] [core:notice] [pid 10048] AH00094: Command line: '/usr/sbin/apache2' - The error you got when you got stuck. image.png (view on web) https://github.com/digininja/DVWA/assets/75435974/70e9c059-6435-4514-8c5f-92642233bf4e https://github.com/digininja/DVWA/assets/75435974/70e9c059-6435-4514-8c5f-92642233bf4e https://github.com/digininja/DVWA/assets/75435974/70e9c059-6435-4514-8c5f-92642233bf4e https://github.com/digininja/DVWA/assets/75435974/70e9c059-6435-4514-8c5f-92642233bf4e
- Any previous errors. Related to mysql and php setup but already fixed it
- What you have tried to do yourself to fix the problem. In the '/var/www/html' i tried removing the html and folder and already keeping the config.inc.php file and in the apache sites-enabled files I changed the path to '/var/www/'. Although none of it worked. Point to be noted, I have restarted the apache2 server and rebooted the terminal everytime. Someone said changing the name of the directory from DVWA to dvwa will work but it didn't. Support will only be given for users running the latest pull of code from GitHub. Not a tagged release, not a pre-installed app, not a ZIP you got from a mate. — Reply to this email directly, view it on GitHub <#628 https://github.com/digininja/DVWA/issues/628 <#628 https://github.com/digininja/DVWA/issues/628>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA4SWPHWUDABBOJP6EI2ILZAXHOZAVCNFSM6AAAAABHHO2BJ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TSMZVGE3TIOI https://github.com/notifications/unsubscribe-auth/AAA4SWPHWUDABBOJP6EI2ILZAXHOZAVCNFSM6AAAAABHHO2BJ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TSMZVGE3TIOI https://github.com/notifications/unsubscribe-auth/AAA4SWPHWUDABBOJP6EI2ILZAXHOZAVCNFSM6AAAAABHHO2BJ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TSMZVGE3TIOI https://github.com/notifications/unsubscribe-auth/AAA4SWPHWUDABBOJP6EI2ILZAXHOZAVCNFSM6AAAAABHHO2BJ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TSMZVGE3TIOI . You are receiving this because you are subscribed to this thread.Message ID: @.> Tried changing the port to '443' and still get the same error ent 127.0.0.1:42522 http://127.0.0.1:42522] PHP Notice: Array to string conversion in /var/www/dvwa/dvwa/includes/dvwaPage.inc.php on line 77 [Sun May 05 12:37:57.217862 2024] [php7:error] [pid 10356] [client 127.0.0.1:42522 http://127.0.0.1:42522] PHP Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /var/www/dvwa/dvwa/includes/dvwaPage.inc.php:535\nStack trace:\n#0 /var/www/dvwa/login.php(8): dvwaDatabaseConnect()\n#1 {main}\n thrown in /var/www/dvwa/dvwa/includes/dvwaPage.inc.php on line 535 [Sun May 05 12:42:11.932531 2024] [mpm_prefork:notice] [pid 10355] AH00169: caught SIGTERM, shutting down [Sun May 05 12:42:12.042984 2024] [mpm_prefork:notice] [pid 17588] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 12:42:12.043075 2024] [core:notice] [pid 17588] AH00094: Command line: '/usr/sbin/apache2' [Sun May 05 12:43:56.750550 2024] [mpm_prefork:notice] [pid 17588] AH00169: caught SIGTERM, shutting down [Sun May 05 12:43:56.803178 2024] [mpm_prefork:notice] [pid 18713] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 12:43:56.804095 2024] [core:notice] [pid 18713] AH00094: Command line: '/usr/sbin/apache2' and for http The side doesn't load even if it manages to connect — Reply to this email directly, view it on GitHub <#628 (comment) https://github.com/digininja/DVWA/issues/628#issuecomment-2094662220>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA4SWLPZA5V25RYW2UCPXTZAXMHBAVCNFSM6AAAAABHHO2BJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUGY3DEMRSGA https://github.com/notifications/unsubscribe-auth/AAA4SWLPZA5V25RYW2UCPXTZAXMHBAVCNFSM6AAAAABHHO2BJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUGY3DEMRSGA . You are receiving this because you commented.Message ID: @.***>
Followed the step and replaced sql server with mariadb and some of the dependencies are shown broken but forced installed it. At first the server was opening but the database creation was giving an error, but now the setup.php page displays the code and not the UI it was showing previously :( image.png (view on web) https://github.com/digininja/DVWA/assets/75435974/3b7728e7-8e7f-434e-857f-28c566228b2f
— Reply to this email directly, view it on GitHub https://github.com/digininja/DVWA/issues/628#issuecomment-2094695567, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA4SWN3KQVFPRJBN3QTNJDZAXYOVAVCNFSM6AAAAABHHO2BJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUGY4TKNJWG4 . You are receiving this because you commented.Message ID: @.***>
If you are forcing things and tried to use SQL server rather than MariaDB then you aren't following the instructions and there are all sorts of things you could have messed up. The best advice is to nuke that machine and start again and follow the instructions properly next time. And when replying to tickets, please don't include the full email in the reply, it makes things really hard to read. Message ID: @.***>
I already had mysql server so I tried with that, but I did nuke the machine and try from the start again but it still has error and few php dependencies give broken errors so I forced installed them. With sql server I was facing issues in database creation, but after installing mariadb the page ends up displaying code.
If you are forcing anything you are doing it wrong. Follow the instructions step by step and it works, do other things and force stuff and it will probably break. I can't help you with a non-standard installation.
And please stop including previous replies on your replies.
On Sun, 5 May 2024, 12:05 Sayantani Saha, @.***> wrote:
If you are forcing things and tried to use SQL server rather than MariaDB then you aren't following the instructions and there are all sorts of things you could have messed up. The best advice is to nuke that machine and start again and follow the instructions properly next time. And when replying to tickets, please don't include the full email in the reply, it makes things really hard to read. Message ID: @.***>
I already had mysql server so I tried with that, but I did nuke the machine and try from the start again but it still has error and few php dependencies give broken errors so I forced installed them. With sql server I was facing issues in database creation, but after installing mariadb the page ends up displaying code.
— Reply to this email directly, view it on GitHub https://github.com/digininja/DVWA/issues/628#issuecomment-2094760208, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA4SWMU7SLQSTOGI6JKLOTZAYG6TAVCNFSM6AAAAABHHO2BJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUG43DAMRQHA . You are receiving this because you commented.Message ID: @.***>
Gone quiet, closing
Questions here may or may not be answered depending on the state of the question, to increase your chance, read this before asking Asking For Technical Help.
Basically, the more details you give, the more chance of getting an answer. We need at least:
Where did you get DVWA from? digininja/DVWA
What OS are you installing it on? Ubuntu 18.04 (WSL)
Last five lines from the web server access and error log from the time the error occurred if you got that far. APACHE2 LOG
[Sun May 05 11:30:36.405862 2024] [core:notice] [pid 9681] AH00094: Command line: '/usr/sbin/apache2' [Sun May 05 11:40:48.120308 2024] [mpm_prefork:notice] [pid 9681] AH00169: caught SIGTERM, shutting down [Sun May 05 11:40:48.176306 2024] [mpm_prefork:notice] [pid 9877] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 11:40:48.176363 2024] [core:notice] [pid 9877] AH00094: Command line: '/usr/sbin/apache2' [Sun May 05 11:51:17.913314 2024] [mpm_prefork:notice] [pid 9877] AH00169: caught SIGTERM, shutting down [Sun May 05 11:51:17.976538 2024] [mpm_prefork:notice] [pid 10048] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Sun May 05 11:51:17.976593 2024] [core:notice] [pid 10048] AH00094: Command line: '/usr/sbin/apache2'
The error you got when you got stuck.
Any previous errors. Related to mysql and php setup but already fixed it
What you have tried to do yourself to fix the problem. In the '/var/www/html' i tried removing the html and folder and already keeping the config.inc.php file and in the apache sites-enabled files I changed the path to '/var/www/'. Although none of it worked. Point to be noted, I have restarted the apache2 server and rebooted the terminal everytime. Someone said changing the name of the directory from DVWA to dvwa will work but it didn't.
Support will only be given for users running the latest pull of code from GitHub. Not a tagged release, not a pre-installed app, not a ZIP you got from a mate.