-
Notifications
You must be signed in to change notification settings - Fork 48
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
Error on OpenBSD 7.3 - php 8.2 #5
Comments
Thanks for raising this. Which version of Zimbra are you running and do you know if it isthe Synacor or the Zextra build? |
Hello, it's on Zimbra 8.8.15, Zimbra backend. I'll be testing it and report back ASAP. Thank you! |
Hi @matidau, I want to confirm that your patch has resolved the issue I described. Thank you! I have noticed another problem, but I believe it is more related to the Zimbra Backend. On my iPhone, everything appears to be functioning correctly. However, on Android (using the Nine mail client), I am unable to download or open attachments. Instead, I receive the following error message: "Fatal error: /z-push/backend/zimbra/zimbraHttpStreamWrapper.php:111 - Uncaught TypeError: fread(): Argument #1 ($stream) must be of type resource, bool given in /z-push/backend/zimbra/zimbraHttpStreamWrapper.php:111" Should I report this issue to the Zimbra Backend developers? Thank you, |
Are you using the latest codebase for z-push from here, or using the fix posted on the Z-Push Zimbra Backend sourceforge ticket? If code from here then I believe you shouldn't experience that problem. If you used my old fix from the Sourceforge site - please see a correction I just made to it. https://sourceforge.net/p/zimbrabackend/support-requests/185/#934b Only the STREAMER_TYPE_STREAM_ASPLAIN type should use the resource converter. Using it on STREAMER_TYPE_STREAM_BASE64 broke downloads of attachments. Uncomment the original line for that and delete the three lines that were added. |
Yes, it is happening with the codebase pulled from here today via "git clone". |
I've created a separate issue for this. #8 |
Describe the bug
When using the Zimbra Backend and syncing contacts with the iPhones, the contact sync stops and restarts at around 60. The error log prints an error.
Expected behavior
Correct syncing
Logs
"PHP message: PHP Fatal error: Uncaught Error: Attempt to assign property "flags" on bool in /z-push/lib/default/diffbackend/exportchangesdiff.p
hp:163"
Server (please complete the following information):
Smartphone (please complete the following information):
Additional context
As a workaround, I've modified that part this way:
if (is_object($message)) {
$message->flags = (isset($change["flags"])) ? $change["flags"] : 0;
}
But I'm not sure it's ok. It seems to be working and contact sync finishes.
The text was updated successfully, but these errors were encountered: