snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

The imagick PHP extension has been installed according to the official instructions, but installing snipe it version 6.0.8 cannot generate a valid QR code

Open hehehebigking opened this issue 1 year ago • 3 comments

Debug mode

Describe the bug

The imagick PHP extension has been installed according to the official instructions, but installing snipe it version 6.0.8 cannot generate a valid QR code and cannot be solved

Reproduction steps

The imagick PHP extension has been installed according to the official instructions, but installing snipe it version 6.0.8 cannot generate a valid QR code and cannot be solved

Expected behavior

The imagick PHP extension has been installed according to the official instructions, but installing snipe it version 6.0.8 cannot generate a valid QR code and cannot be solved

Screenshots

123

Snipe-IT Version

6.0.8

Operating System

centos7

Web Server

nginx

PHP Version

7.4

Operating System

win10

Browser

google

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

hehehebigking avatar Jul 27 '22 15:07 hehehebigking

We'd need to see what's in your error logs. Does the QR code image file actually exist? What do you see when you right click and try to access the QR code in your browser?

snipe avatar Jul 27 '22 18:07 snipe

Thank you for your answer, I have already answered this question in discord, because the app url configuration of my env file does not start with http or https, so this error occurs, but after I use it, I found 2 new problems. The first problem is that after the asset generates a QR code, I can scan it with my mobile phone and can access it normally, but the page is not automatically scaled and typed according to the mobile phone, so the whole page will look very messy. The second problem is that I choose to change the language in the settings and it doesn't take effect, snipeit still displays the default language, how should I solve these two problems

hehehebigking avatar Jul 28 '22 06:07 hehehebigking

this is my log file,I don't see any other new errors appearing laravel.log

hehehebigking avatar Jul 28 '22 06:07 hehehebigking