Replies: 4 comments 5 replies
-
Hi @xBelo, are you talking about real green pass or test green pass supplied by EU? I tried a lots, but without issue. Would you mind helping me to dig inside the problem? Thanks. |
Beta Was this translation helpful? Give feedback.
-
hi, PHP Warning: zlib_decode(): data error in /var/vhost/[...xyz...]/app/vendor/masterix21/green-pass/src/Services/Decoder.php on line 34 we are on debian 10, apache2, PHP 8.0.10 if we try to encode / decode simple strings zlib is working fine ... |
Beta Was this translation helpful? Give feedback.
-
What kind of green pass are you reading? Vaccine? Test? Recovery? I tried the library with all my friends' green-passes, and it works: I have no idea. Add a PR to fix the issue, or send me the green pass that causes the problem. Thanks |
Beta Was this translation helpful? Give feedback.
-
@xBelo, please check if your reader includes carriage characters (or something else) at the end of the string. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm testing your code on one of my servers.
Unfortunately, not all green passes are read: the ones that are tested in TestCase.php obviously work, others on the net too.
But if I try my own and other people's gp, they are not recognized. In the error log I see this: "PHP Warning: zlib_decode (): data error"
Can you tell me how to solve this problem? Thanks
Beta Was this translation helpful? Give feedback.
All reactions