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

ImageMacigckException #19

Open
yopicon2 opened this issue Jan 31, 2021 · 2 comments
Open

ImageMacigckException #19

yopicon2 opened this issue Jan 31, 2021 · 2 comments

Comments

@yopicon2
Copy link

Hi!

Thanks in advanced for the code!

I run it locally and it has no trouble.

But when a uset in a Ubuntu 20.04 with nginx or amazon lambda, it throws this exception:

ImagickException Object ( [message:protected] => Invalid filename provided [string:Exception:private] => [code:protected] => 1 [file:protected] => /var/www/qr.saas.com.ar/vendor/khanamiryan/qrcode-detector-decoder/lib/QrReader.php [line:protected] => 32 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/www/qr.saas.com.ar/vendor/khanamiryan/qrcode-detector-decoder/lib/QrReader.php [line] => 32 [function] => readimage [class] => Imagick [type] => -> ) [1] => Array ( [file] => /var/www/qr.saas.com.ar/vendor/libern/qr-code-reader/src/QRCodeReader.php [line] => 21 [function] => __construct [class] => Zxing\QrReader [type] => -> ) [2] => Array ( [file] => /var/www/qr.saas.com.ar/index.php [line] => 13 [function] => decode [class] => Libern\QRCodeReader\QRCodeReader [type] => -> ) ) [previous:Exception:private] => ) 1

Any clue?

I am not using any framework. i've installed it with composer.

@yopicon2
Copy link
Author

I'm using this example on Ubuntu 20.04
decoder.saas.html.zip

@IacopoOrtis
Copy link

IacopoOrtis commented Jun 17, 2021

One sec I will download a zip file posted from a stranger... The print_r is very messy without format. Have you already installed imagick on your server with apt install ?

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