OK, i am trying to use exchange on iphone with zimbra backend. When configuring an exchange account on my iphone using rev 27, i get this error in the log:
[Thu Apr 01 08:18:01 2010] [error] [client 22.214.171.124] PHP Fatal error: Call to undefined function curl_init() in /srv/www/htdocs/sites/z-push/backend/zimbra.php on line 131
Here is line 131-136 of said zimbra.php:
$this->_curl = curl_init();
curl_setopt($this->_curl, CURLOPT_POST, true);
curl_setopt($this->_curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($this->_curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($this->_curl, CURLOPT_SSL_VERIFYHOST, false);
Needless to say, i am unable to sync email,calendars or contacts
FYI, z-push 1.3 RC3 was released yesterday
Guest Ubuntu 12.04LTS x64 and Zimbra 8.0.5
Host CentOS 6.4 x64 :: KVM :: LVM :: Hardware RAID
and php-curl ?
http://domain.here: port. I have tried:
What should this string look like?
The problem with large messages is related to the Mail_mimeDecode::decode function (located in include/mimeDecode.php). Depending on what you have set in your PHP.INI file for maximum memory, if it hits the maximum in this function, it just stops. And the memory needed is much more then the message size.I assume that these last two sections are imposing an arbitrary limit of 1MB on emails that will sync.
However, if an email reaches that limit, the sync should be capable of continuing with other emails in the inbox.
Hopefully someone can figure out what is making it break here.
This post on the Z-Push forums talks a little more about it. If anyone with PHP programming knowledge would be willing to look into this and see if there is a way to tweak this to use less memory or if you can write a new function that isn't so dependent on memory that we could incorporate into the backend, it would be much apperciated. You can contact me directly if you have questions.
I've just bumped into this memory limit too - well done gnosbush! All sorted and back in-sync.
There are currently 7 users browsing this thread. (0 members and 7 guests)