giandonatoinverso / PHP-Dynamic-Qr-code

PHP Dynamic Qr code is a script that allows the generation and saving of dynamic and static QR codes
MIT License
269 stars 77 forks source link

Error When Running docker-compose #56

Closed qplus7 closed 11 months ago

qplus7 commented 1 year ago

I'm trying to follow along and setup the docker but have run into 2 issues. I have zero experience with docker so I could be missing something.

1) I got an error saying the version was wrong on the docker-compose.yml file. I commented out and the first line and then I was able to move forward. I'm running v1.25 of docker-compose. Should this be a different version?

2) root@lamp /qr/docker# PUID="$(id -u)" PGID="$(id -g)" docker-compose config ERROR: The Compose file './docker-compose.yml' is invalid because: Unsupported config option for services: 'qrcode' Unsupported config option for networks: 'qrcode_network' root@lamp /qr/docker#

Any help is greatly appreciated - thanks in advance!

qplus7 commented 1 year ago

I've made progress but am still not up and running. I was able to get everything installed but when I navigate to http://myLANip:8080/install I get an error. The files are physically located at /mnt/user/appdata/qr/qrcode/install/setup.php

CleanShot 2023-04-15 at 12 43 26@2x

Thanks in advance!

qplus7 commented 1 year ago

Ok, now I'm making more progress! I added a phpinfo.php file in the /install folder and I am able to see it. When I navigate to http://myLANip:8080/install/setup.php I get a blank page.

giandonatoinverso commented 1 year ago

Hi, sorry if I didn't reply earlier, but I don't check emails from github at the weekend. I'm glad you've made progress however the setup.php page should give you a confirmation or error message so a white screen makes me think of a fatal error.

Have you set PHP to full debug mode? It allows you to see any warnings and errors on the screen, moreover I invite you to use an IDE with an integrated debugger (eg PHPStorm) which allows you to trace the execution of the program step by step. Alternatively you should do manual debugging with the php and web server error log file but it is cumbersome

SAC-CS112-Morales-Juan commented 1 year ago

Just came across this container. thank you for your work on this giandonatoinverso.

With that said, I’m running into the same issue as OP with a blank screen only.

No confirmation or error : (

I’ll keep at it to see if I can debug this issue

giandonatoinverso commented 11 months ago

just released 2.0 version