{"action":"created","issue":{"url":"https://api.github.com/repos/ethicalhack3r/DVWA/issues/198","repository_url":"https://api.github.com/repos/ethicalhack3r/DVWA","labels_url":"https://api.github.com/repos/ethicalhack3r/DVWA/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/ethicalhack3r/DVWA/issues/198/comments","events_url":"https://api.github.com/repos/ethicalhack3r/DVWA/issues/198/events","html_url":"https://github.com/ethicalhack3r/DVWA/issues/198","id":277651607,"number":198,"title":"PHP Notice:  Undefined variable: DBMS_errorFunc","user":{"login":"mike-bailey","id":7607089,"avatar_url":"https://avatars2.githubusercontent.com/u/7607089?v=4","gravatar_id":"","url":"https://api.github.com/users/mike-bailey","html_url":"https://github.com/mike-bailey","followers_url":"https://api.github.com/users/mike-bailey/followers","following_url":"https://api.github.com/users/mike-bailey/following{/other_user}","gists_url":"https://api.github.com/users/mike-bailey/gists{/gist_id}","starred_url":"https://api.github.com/users/mike-bailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mike-bailey/subscriptions","organizations_url":"https://api.github.com/users/mike-bailey/orgs","repos_url":"https://api.github.com/users/mike-bailey/repos","events_url":"https://api.github.com/users/mike-bailey/events{/privacy}","received_events_url":"https://api.github.com/users/mike-bailey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-29T07:12:28Z","updated_at":"2018-05-25T17:51:28Z","closed_at":"2018-05-25T17:51:28Z","author_association":"COLLABORATOR","body":"As the issue explains:\r\n\r\n```\r\n[Wed Nov 29 07:09:21.471922 2017] [:error] [pid 7] [client 172.17.0.1:35282] PHP Notice:  Undefined variable: DBMS_errorFunc in /var/www/html/dvwa/includes/dvwaPage.inc.php on line 471\r\n```\r\n\r\nDockerfile to reproduce:\r\n```\r\nFROM ubuntu:latest\r\n\r\n\r\n\r\n# Timezone\r\nENV PHP_MEMORY_LIMIT    512M\r\nENV MAX_UPLOAD          50M\r\nENV PHP_MAX_FILE_UPLOAD 200\r\nENV PHP_MAX_POST        100M\r\n\r\n\r\n# install mysql, apache and php and php extensions, tzdata, wget\r\nRUN apt update\r\nRUN bash -c \"debconf-set-selections <<< 'mariadb-server mariadb-server/root_password password p@ssw0rd'\"\r\nRUN bash -c \"debconf-set-selections <<< 'mariadb-server mariadb-server/root_password_again password p@ssw0rd'\"\r\nRUN apt install -y mariadb-server\r\nRUN apt install -y apache2\r\nRUN apt install -y curl wget\r\nRUN apt install -y tzdata\r\nRUN apt install -y php\r\nRUN apt install -y php-cli\r\nRUN apt install -y git\r\nRUN apt install -y php-gd\r\nRUN apt install -y php-mysqli\r\nRUN apt install -y php-mcrypt\r\nRUN apt install -y  musl\r\nRUN apt install -y libapache2-mod-php\r\nRUN service apache2 restart\r\nRUN  mkdir /var/run/mysqld\r\nRUN chown -R mysql:mysql /var/lib/mysql /var/run/mysqld\r\nRUN service mysql start\r\n\r\n\r\n# check php ver\r\nRUN php -v\r\n\r\n\r\n\r\nRUN rm -rf /var/www/html/*\r\nRUN git clone https://github.com/ethicalhack3r/DVWA.git /var/www/html\r\n\r\n\r\nRUN chown -R www-data:www-data /var/www/html\r\nRUN cp /var/www/html/config/config.inc.php.dist /var/www/html/config/config.inc.php\r\nRUN ls /etc/php/*/\r\nRUN sed -i \"s/allow_url_include =.*/allow_url_include = On/\" /etc/php/*/apache2/php.ini\r\nRUN bash /etc/apache2/envvars\r\n\r\nEXPOSE 80\r\nEXPOSE 3306\r\n\r\nCMD [\"apache2ctl\",\"-DFOREGROUND\",\"-e debug\"]\r\n```"},"comment":{"url":"https://api.github.com/repos/ethicalhack3r/DVWA/issues/comments/392133144","html_url":"https://github.com/ethicalhack3r/DVWA/issues/198#issuecomment-392133144","issue_url":"https://api.github.com/repos/ethicalhack3r/DVWA/issues/198","id":392133144,"user":{"login":"mike-bailey","id":7607089,"avatar_url":"https://avatars2.githubusercontent.com/u/7607089?v=4","gravatar_id":"","url":"https://api.github.com/users/mike-bailey","html_url":"https://github.com/mike-bailey","followers_url":"https://api.github.com/users/mike-bailey/followers","following_url":"https://api.github.com/users/mike-bailey/following{/other_user}","gists_url":"https://api.github.com/users/mike-bailey/gists{/gist_id}","starred_url":"https://api.github.com/users/mike-bailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mike-bailey/subscriptions","organizations_url":"https://api.github.com/users/mike-bailey/orgs","repos_url":"https://api.github.com/users/mike-bailey/repos","events_url":"https://api.github.com/users/mike-bailey/events{/privacy}","received_events_url":"https://api.github.com/users/mike-bailey/received_events","type":"User","site_admin":false},"created_at":"2018-05-25T17:51:28Z","updated_at":"2018-05-25T17:51:28Z","author_association":"COLLABORATOR","body":"I never saw you comment this lol RIP closing as stale"}}
{"actor":{"display_login":"mike-bailey"}}