Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asset-Label QR-Code not working for newly created Assets since upgrading to 6.0.1 #11145

Closed
2 tasks done
AccelerentIT opened this issue May 18, 2022 · 3 comments
Closed
2 tasks done

Comments

@AccelerentIT
Copy link

Debug mode

Describe the bug

After updating to 6.0.1 the QR-Code on Labels are not working for newly created assets.
Old assets for which we allready generated the Labels are working fine.

image

Error Call to undefined function Com\Tecnick\Barcode\imagecreate()

It looks like it wants to access the QR-Code via IP, which of course wont work because of SSL Error. Maybe that has something to do with the error?

https://10.65.113.238/hardware/874/qr_code for example.

APP_URL is set to the public domain.

Reproduction steps

  1. Create new Asset
  2. Click "Generate Label'
  3. Label loads but with broken QR-Code
    ...

Expected behavior

QR-Code on Label is visible.

Screenshots

No response

Snipe-IT Version

v6.0.1

Operating System

Ubuntu 20.04.4

Web Server

Apache

PHP Version

8.0

Operating System

No response

Browser

No response

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

Error
Call to undefined function Com\Tecnick\Barcode\imagecreate()
https://10.65.113.238/hardware/874/qr_code

Additional context

No response

@snipe
Copy link
Owner

snipe commented May 18, 2022

I can't reproduce this on the demo.

@AccelerentIT
Copy link
Author

I forgot to install php8.0-gd after upgrading PHP. It's working fine now.
Thanks :)

@snipe
Copy link
Owner

snipe commented May 18, 2022

Great, thanks for the follow up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants