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
I'm getting PKPasses of size 0Kb #53
Comments
Getting a pass file of a size of 0kb probably means that the Zip compression fails. Please check if you have the zip extension installed and it is active on your system. |
Alright. I'll do that. Thanks :) |
Okay, that makes it a little less likely that is the problem. Can you try adding the following two lines at the top of the example code and see if it outputs any errors?
|
Just tried it. No difference. No errors. Just spits out the same empty file. :/ |
HTTPS is not necessary for only downloading the pass, only for downloading it on an iDevice. I honestly don't have any other ideas, other than trying to test the ZIPArchive library standalone and looking if it works then. It works on my mac with the default settings, so not sure what's causing this. |
Hey, |
Gonna go try this right away! Thanks :D |
This worked perfectly! Thank you so much! :D Just added a "echo $file" before the return statement in the create() function. |
By adding an explicit `echo` statement in the create function if `$output` is true.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I've followed all the steps in the readme to get the example.php working. I've added all the certificates correctly as far as I can tell. I'm hosting the whole thing on localhost. Is this a problem?
When I access it on the iPhone it says file cannot be downloaded and when I click on it on my mac, it says the file cannot be opened.
Any advice would be great. Thanks!
The text was updated successfully, but these errors were encountered: