Closed Lovasz-Akos closed 11 months ago
managed to get the non-docker version running, it seems windows handles relative paths weirdly so I had to change the config file to point to my environment.php with an absolute path
trying to log in, I get this error message
Warning: mysqli::__construct(): php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\xampp\htdocs\qrcode\lib\MysqliDb\MysqliDb.php on line 323
Warning: mysqli::__construct(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\xampp\htdocs\qrcode\lib\MysqliDb\MysqliDb.php on line 323
Fatal error: Uncaught Exception: Connect Error 2002: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\xampp\htdocs\qrcode\lib\MysqliDb\MysqliDb.php:326 Stack trace: #0 C:\xampp\htdocs\qrcode\lib\MysqliDb\MysqliDb.php(415): MysqliDb->connect('default') #1 C:\xampp\htdocs\qrcode\lib\MysqliDb\MysqliDb.php(1988): MysqliDb->mysqli() #2 C:\xampp\htdocs\qrcode\lib\MysqliDb\MysqliDb.php(1594): MysqliDb->_prepareQuery() #3 C:\xampp\htdocs\qrcode\lib\MysqliDb\MysqliDb.php(738): MysqliDb->_buildQuery(1) #4 C:\xampp\htdocs\qrcode\lib\MysqliDb\MysqliDb.php(764): MysqliDb->get('admin_accounts', 1, '*') #5 C:\xampp\htdocs\qrcode\authenticate.php(25): MysqliDb->getOne('admin_accounts') #6 {main} thrown in C:\xampp\htdocs\qrcode\lib\MysqliDb\MysqliDb.php on line 326
@0xRenegade could you find a solution to the problem?
trying to log in, I get this error message
Warning: mysqli::__construct(): php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\xampp\htdocs\qrcode\lib\MysqliDb\MysqliDb.php on line 323 Warning: mysqli::__construct(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\xampp\htdocs\qrcode\lib\MysqliDb\MysqliDb.php on line 323 Fatal error: Uncaught Exception: Connect Error 2002: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\xampp\htdocs\qrcode\lib\MysqliDb\MysqliDb.php:326 Stack trace: #0 C:\xampp\htdocs\qrcode\lib\MysqliDb\MysqliDb.php(415): MysqliDb->connect('default') #1 C:\xampp\htdocs\qrcode\lib\MysqliDb\MysqliDb.php(1988): MysqliDb->mysqli() #2 C:\xampp\htdocs\qrcode\lib\MysqliDb\MysqliDb.php(1594): MysqliDb->_prepareQuery() #3 C:\xampp\htdocs\qrcode\lib\MysqliDb\MysqliDb.php(738): MysqliDb->_buildQuery(1) #4 C:\xampp\htdocs\qrcode\lib\MysqliDb\MysqliDb.php(764): MysqliDb->get('admin_accounts', 1, '*') #5 C:\xampp\htdocs\qrcode\authenticate.php(25): MysqliDb->getOne('admin_accounts') #6 {main} thrown in C:\xampp\htdocs\qrcode\lib\MysqliDb\MysqliDb.php on line 326
Did you set your database information in environment.php? Also to fix the docker error, try this:
https://github.com/giandonatoinverso/PHP-Dynamic-Qr-code/tree/master/docker#readme
just released 2.0 version
Trying to run the project locally I get this error when trying to open the install.php
I can't get the docker image started either
Am I missing requirements or trying to start it in a completely wrong way?