Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Mobility

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-06-2011, 06:37 AM
New Member
 
Posts: 4
Exclamation z-push 1.5.5 + zimbrabackend 51

Hi,

I head z-push and zimbra backend configured and active sync worked on nokia/iphone and android.

now i am taring to do it again and i it dose not work, in the debug file a can see my email bat on my phone no email get downloaded.

Quote:
10/06/11 15:34:31 [12325] [vukomir] Start
10/06/11 15:34:31 [12325] [vukomir] Z-Push version: 1.5.5-790
10/06/11 15:34:31 [12325] [vukomir] Client IP: 213.233.66.13
10/06/11 15:34:31 [12325] [vukomir] Client supports version 2.5
10/06/11 15:34:31 [12325] [vukomir] /home/xxx/public_html/z-push/backend/zimbra.php:446 include_once(z_RTF.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory (2)
10/06/11 15:34:31 [12325] [vukomir] /home/xxx/public_html/z-push/backend/zimbra.php:446 include_once() [<a href='function.include'>function.include</a>]: Failed opening 'z_RTF.php' for inclusion (include_path='/home/xxx/public_html/z-push/include/:/home/xxx/public_html/z-push/:.:/usr/share/pear:/usr/share/php:/usr/share/php/:/usr/share/php5/:/usr/share/pear/') (2)
10/06/11 15:34:31 [12325] [vukomir] PHP version: 5.2.10 - z-push Zimbra Backend version: 51
10/06/11 15:34:31 [12325] [vukomir] START Logon { username = vukomir; domain = xxx.com; password = <hidden> }
10/06/11 15:34:31 [12325] [vukomir] END Logon { connected = true; uid = vukomir }
10/06/11 15:34:31 [12325] [vukomir] START Setup { userid = xxxx.com\vukomir; devid = SAMSUNG1358537046833033; protocolversion = 2.5; useragent = SAMSUNG-GT-I9100/100.20304 }
10/06/11 15:34:31 [12325] [vukomir] Smart Folders ENABLED - User Profile files will be ignored
10/06/11 15:34:31 [12325] [vukomir] /home/xxx/public_html/z-push/backend/zimbra.php:1238 Undefined index: view (8)
10/06/11 15:34:31 [12325] [vukomir] END Setup { 65 Folders Loaded }
10/06/11 15:34:31 [12325] [vukomir] POST cmd: Provision
10/06/11 15:34:31 [12325] [vukomir] START Logoff
10/06/11 15:34:32 [12325] [vukomir] MEMORY - REAL Now (1,048,576) Peak [2,883,584] - ALLOCATED Now (419,636) Peak [2,397,172] - END Logoff
10/06/11 15:34:32 [12325] [vukomir] end
10/06/11 15:34:32 [12325] [vukomir] --------
config.php

PHP Code:
 <?php
        
if (function_exists("date_default_timezone_set")){
    
date_default_timezone_set("Europe/Bucharest");
    }

    
define('BASE_PATH'dirname($_SERVER['SCRIPT_FILENAME']) . "/");

    
ini_set('include_path',
                        
BASE_PATH"include/" PATH_SEPARATOR .
                        
BASE_PATHPATH_SEPARATOR .
                        
ini_get('include_path') . PATH_SEPARATOR .
                        
"/usr/share/php/" PATH_SEPARATOR .
                        
"/usr/share/php5/" PATH_SEPARATOR .
                        
"/usr/share/pear/");
    
define('STATE_DIR'BASE_PATH.'/state');
    
define('SCRIPT_TIMEOUT'0);
    
define('MAX_EMBEDDED_SIZE'1048576);
    
define('PROVISIONING'false);
    
define('LOOSE_PROVISIONING'true);
    
define('SYNC_CONFLICT_DEFAULT'SYNC_CONFLICT_OVERWRITE_PIM);
    
define('SYNC_FILTERTIME_MAX'SYNC_FILTERTYPE_ALL);
    
$BACKEND_PROVIDER "BackendZimbra";
    
define('ZIMBRA_USER_DIR''zimbra');
    
define('ZIMBRA_SYNC_CONTACT_PICTURES'true);
    
define('ZIMBRA_VIRTUAL_CONTACTS',true);
    
define('ZIMBRA_VIRTUAL_APPOINTMENTS',true);
    
define('ZIMBRA_VIRTUAL_TASKS',true);
    
define('ZIMBRA_IGNORE_EMAILED_CONTACTS',true);
    
define('ZIMBRA_HTML',false);
    
define('ZIMBRA_ENFORCE_VALID_EMAIL',true);
    
define('ZIMBRA_SMART_FOLDERS',true);
    
define('ZIMBRA_DEBUG',true);
define('ZIMBRA_NOKIA_MFE_FIX',true);
define('ZIMBRA_NOKIA_MFE_ALWAYS_OVERWRITE',true);
    
define('IMAP_SERVER''mail.xxx.com');
    
define('IMAP_PORT'993);
    
define('IMAP_OPTIONS''/notls/norsh');
    
define('IMAP_DEFAULTFROM''username');
    
define('IMAP_SENTFOLDER''');
    
define('IMAP_INLINE_FORWARD'true);
    
define('IMAP_USE_IMAPMAIL'true);
    
define('MAILDIR_BASE''/tmp');
    
define('MAILDIR_SUBDIR''Maildir');
    
define('VCARDDIR_DIR''/home/%u/.kde/share/apps/kabc/stdvcf');
    
define('SEARCH_PROVIDER''');
?>

can someone help me with this problem, i have searched on google bat with no luck
Reply With Quote
  #2 (permalink)  
Old 10-08-2011, 01:43 AM
Elite Member
 
Posts: 469
Default

Does your config.php file actually have a

define('ZIMBRA_URL', 'http://yourZimbraMailServer');

It is not shown - but I don't know if you missed it in a copy/paste ?

What OS and Web server are you using ?

Do you have the state directory created ?

Is the state directory writeable by the web server ?

Last edited by liverpoolfcfan; 10-08-2011 at 02:42 AM..
Reply With Quote
  #3 (permalink)  
Old 10-08-2011, 02:54 AM
New Member
 
Posts: 4
Default

Quote:
Originally Posted by liverpoolfcfan View Post
Does your config.php file actually have a

define('ZIMBRA_URL', 'http://yourZimbraMailServer');

It is not shown - but I don't know if you missed it in a copy/paste ?

What OS and Web server are you using ?

Do you have the state directory created ?

Is the state directory writeable by the web server ?
Hi,

i have ZIMBRA_URL set in the configure file, it's a copy/paste mistake.

os is CENTOS 5 and state directory is writable.

Code:
10/08/11 11:51:59 [24939] [vukomir] Start
10/08/11 11:51:59 [24939] [vukomir] Z-Push version: 1.5.5-790
10/08/11 11:51:59 [24939] [vukomir] Client IP: 79.114.26.71
10/08/11 11:51:59 [24939] [vukomir] Client supports version 1.0
10/08/11 11:51:59 [24939] [vukomir] PHP version: 5.2.10 - z-push Zimbra Backend version: 51
10/08/11 11:51:59 [24939] [vukomir] START Logon { username = vukomir; domain = xxx.com; password = <hidden> }
10/08/11 11:52:00 [24939] [vukomir] END Logon { connected = true; uid = vukomir }
10/08/11 11:52:00 [24939] [vukomir] START Setup { userid = xxx.com\vukomir; devid = SAMSUNG1358537046833033; protocolversion = 1.0; useragent = unknown }
10/08/11 11:52:00 [24939] [vukomir] Smart Folders ENABLED - User Profile files will be ignored
10/08/11 11:52:00 [24939] [vukomir] /home/xxxx/public_html/z-push.xxx.com/backend/zimbra.php:1238 Undefined index:  view (8)
10/08/11 11:52:00 [24939] [vukomir] END Setup { 65 Folders Loaded }
10/08/11 11:52:00 [24939] [vukomir] POST cmd: Sync
10/08/11 11:52:00 [24939] [vukomir] Sync folder:Email
10/08/11 11:52:00 [24939] [vukomir] START ImportMessageMove - { id=13585; newfolder=f3 }
10/08/11 11:52:00 [24939] [vukomir] START MoveMessage { folderid = f2; id = 13585; newfolderid = f3}
10/08/11 11:52:00 [24939] [vukomir] END MoveMessage { true }
10/08/11 11:52:00 [24939] [vukomir] END ImportMessageMove - { true }
10/08/11 11:52:00 [24939] [vukomir] START ImportMessageMove - { id=13586; newfolder=f3 }
10/08/11 11:52:00 [24939] [vukomir] START MoveMessage { folderid = f2; id = 13586; newfolderid = f3}
10/08/11 11:52:00 [24939] [vukomir] END MoveMessage { true }
10/08/11 11:52:00 [24939] [vukomir] END ImportMessageMove - { true }
10/08/11 11:52:00 [24939] [vukomir] START ImportMessageMove - { id=13581; newfolder=f3 }
10/08/11 11:52:00 [24939] [vukomir] START MoveMessage { folderid = f2; id = 13581; newfolderid = f3}
10/08/11 11:52:00 [24939] [vukomir] END MoveMessage { true }
10/08/11 11:52:00 [24939] [vukomir] END ImportMessageMove - { true }
10/08/11 11:52:00 [24939] [vukomir] START ImportMessageMove - { id=13582; newfolder=f3 }
10/08/11 11:52:00 [24939] [vukomir] START MoveMessage { folderid = f2; id = 13582; newfolderid = f3}
10/08/11 11:52:00 [24939] [vukomir] END MoveMessage { true }
10/08/11 11:52:00 [24939] [vukomir] END ImportMessageMove - { true }
10/08/11 11:52:00 [24939] [vukomir] START ImportMessageMove - { id=13583; newfolder=f3 }
10/08/11 11:52:00 [24939] [vukomir] START MoveMessage { folderid = f2; id = 13583; newfolderid = f3}
10/08/11 11:52:01 [24939] [vukomir] END MoveMessage { true }
10/08/11 11:52:01 [24939] [vukomir] END ImportMessageMove - { true }
10/08/11 11:52:01 [24939] [vukomir] START ImportMessageMove - { id=13584; newfolder=f3 }
10/08/11 11:52:01 [24939] [vukomir] START MoveMessage { folderid = f2; id = 13584; newfolderid = f3}
10/08/11 11:52:01 [24939] [vukomir] END MoveMessage { true }
10/08/11 11:52:01 [24939] [vukomir] END ImportMessageMove - { true }
10/08/11 11:52:01 [24939] [vukomir] START ImportMessageMove - { id=13574; newfolder=f3 }
10/08/11 11:52:01 [24939] [vukomir] START MoveMessage { folderid = f2; id = 13574; newfolderid = f3}
10/08/11 11:52:01 [24939] [vukomir] END MoveMessage { true }
10/08/11 11:52:01 [24939] [vukomir] END ImportMessageMove - { true }
10/08/11 11:52:01 [24939] [vukomir] START ImportMessageMove - { id=13575; newfolder=f3 }
10/08/11 11:52:01 [24939] [vukomir] START MoveMessage { folderid = f2; id = 13575; newfolderid = f3}
10/08/11 11:52:01 [24939] [vukomir] END MoveMessage { true }
10/08/11 11:52:01 [24939] [vukomir] END ImportMessageMove - { true }
10/08/11 11:52:01 [24939] [vukomir] START ImportMessageMove - { id=13573; newfolder=f3 }
10/08/11 11:52:01 [24939] [vukomir] START MoveMessage { folderid = f2; id = 13573; newfolderid = f3}
10/08/11 11:52:01 [24939] [vukomir] END MoveMessage { true }
10/08/11 11:52:01 [24939] [vukomir] END ImportMessageMove - { true }
10/08/11 11:52:01 [24939] [vukomir] START ImportMessageMove - { id=13579; newfolder=f3 }
10/08/11 11:52:01 [24939] [vukomir] START MoveMessage { folderid = f2; id = 13579; newfolderid = f3}
10/08/11 11:52:01 [24939] [vukomir] END MoveMessage { true }
10/08/11 11:52:01 [24939] [vukomir] END ImportMessageMove - { true }
10/08/11 11:52:01 [24939] [vukomir] START ImportMessageMove - { id=13580; newfolder=f3 }
10/08/11 11:52:01 [24939] [vukomir] START MoveMessage { folderid = f2; id = 13580; newfolderid = f3}
10/08/11 11:52:01 [24939] [vukomir] END MoveMessage { true }
10/08/11 11:52:01 [24939] [vukomir] END ImportMessageMove - { true }
10/08/11 11:52:01 [24939] [vukomir] START ImportMessageMove - { id=13576; newfolder=f3 }
10/08/11 11:52:01 [24939] [vukomir] START MoveMessage { folderid = f2; id = 13576; newfolderid = f3}
10/08/11 11:52:01 [24939] [vukomir] END MoveMessage { true }
10/08/11 11:52:01 [24939] [vukomir] END ImportMessageMove - { true }
10/08/11 11:52:01 [24939] [vukomir] START ImportMessageMove - { id=13578; newfolder=f3 }
10/08/11 11:52:01 [24939] [vukomir] START MoveMessage { folderid = f2; id = 13578; newfolderid = f3}
10/08/11 11:52:01 [24939] [vukomir] END MoveMessage { true }
10/08/11 11:52:01 [24939] [vukomir] END ImportMessageMove - { true }
10/08/11 11:52:01 [24939] [vukomir] Processed 13 incoming changes
10/08/11 11:52:01 [24939] [vukomir] Initializing message diff engine
10/08/11 11:52:01 [24939] [vukomir] 128 messages in state
10/08/11 11:52:01 [24939] [vukomir] START GetMessageList { folderid = f2; cutoffdate = 1316857921; virtual = 0; offset = 0 }
10/08/11 11:52:01 [24939] [vukomir] START GetMessageList { folderid = f2; cutoffdate = 1316857921; virtual = 1; offset = 100 }
10/08/11 11:52:01 [24939] [vukomir] END GetMessageList MESSAGES { count = 3 }
10/08/11 11:52:01 [24939] [vukomir] END GetMessageList MESSAGES { count = 103 }
10/08/11 11:52:01 [24939] [vukomir] Found 27 message changes
10/08/11 11:52:01 [24939] [vukomir] START StatMessage (fid = f2 - id = 13597 )
10/08/11 11:52:01 [24939] [vukomir] END StatMessage MESSAGE
10/08/11 11:52:01 [24939] [vukomir] START GetMessage { fid = f2; id = 13597; truncsize = 1048576; bodypreference = ; mimesupport = 0 }
10/08/11 11:52:01 [24939] [vukomir]          MEMORY - REAL Now (3,407,872) Peak [3,407,872] - ALLOCATED Now (2,162,592) Peak [2,925,924] - GetMessage START
10/08/11 11:52:02 [24939] [vukomir] START Date4ActiveSync { date = 1318063414000; tz = UTC; adjust4Utc = ; allDay =  }
10/08/11 11:52:02 [24939] [vukomir] END Date4ActiveSync { ts = 1318063414 }
10/08/11 11:52:02 [24939] [vukomir] No body preference
10/08/11 11:52:02 [24939] [vukomir] END GetMessage
10/08/11 11:52:02 [24939] [vukomir] START Logoff
10/08/11 11:52:02 [24939] [vukomir]          MEMORY - REAL Now (1,572,864) Peak [3,407,872] - ALLOCATED Now (474,968) Peak [2,925,924] - END Logoff
10/08/11 11:52:02 [24939] [vukomir] end
10/08/11 11:52:02 [24939] [vukomir] --------

this is in the debug file, thanks.

br,
Vukomir
Reply With Quote
  #4 (permalink)  
Old 10-08-2011, 09:07 AM
Elite Member
 
Posts: 469
Default

Do you have any Filter by Conversation or something like that set on the client that might prevent the emails displaying? I have seen that before on Windows mobile.

The messages show that there are messages there and they are being manipulated.
Reply With Quote
  #5 (permalink)  
Old 10-17-2011, 01:11 AM
Special Member
 
Posts: 165
Default

Hi there,

I have set up the same server and when I access that through Internet its even prompting for the password that means I am through with the Z-push and now the main query I have is.

I have android 2.2 not sure how to configure the account on my wireless device? should that be configured in Exchange Activesync or Simple IMAP/POP?
Reply With Quote
  #6 (permalink)  
Old 10-17-2011, 01:47 AM
Elite Member
 
Posts: 469
Default

Quote:
Originally Posted by blason View Post
Hi there,

I have set up the same server and when I access that through Internet its even prompting for the password that means I am through with the Z-push and now the main query I have is.
Not entirely true. It is possible to get to the initial test login prompt but still not have everything set up correctly. However, let's assume you have everything right for now.

Quote:
I have android 2.2 not sure how to configure the account on my wireless device? should that be configured in Exchange Activesync or Simple IMAP/POP?
If you want to use z-push and the zimbra backend then you need to configure your mail client as Exchange Activesync.
Reply With Quote
  #7 (permalink)  
Old 10-17-2011, 01:58 AM
Special Member
 
Posts: 165
Default

Ok - but I am able to login successfully when I hit Microsoft-Server-ActiveSync with the user I created on my zimbra and now I am proceeding further further to set up Exchange Active Sync but still no luck When I configure the account after providing creds it just accepts smoothly prompts me to sync which data would you like to sync and that step I am seeing on my Android is

"Failed to Create the account. Please try again later" I have my z-push set up on different server. May I know where can I see the debug logs?
Reply With Quote
  #8 (permalink)  
Old 10-17-2011, 06:47 AM
Special Member
 
Posts: 165
Default

Any clue what this error indicates, I see this in z-push's Apache Server logs. Does that need a mysql connectivity which is failing?


[Mon Oct 17 23:01:58 2011] [error] [client 42.105.152.132] PHP Fatal error: Call to undefined function mysql_query() in /var/www/html/z-push/backend/zimbra.php on line 3926
[Mon Oct 17 23:04:41 2011] [error] [client 42.105.152.132] PHP Fatal error: Call to undefined function mysql_query() in /var/www/html/z-push/backend/zimbra.php on line 3926
[Mon Oct 17 23:05:41 2011] [error] [client 42.105.152.132] PHP Fatal error: Call to undefined function mysql_query() in /var/www/html/z-push/backend/zimbra.php on line 3926
[Mon Oct 17 23:10:58 2011] [error] [client 42.105.152.132] PHP Fatal error: Call to undefined function mysql_query() in /var/www/html/z-push/backend/zimbra.php on line 3926
Reply With Quote
  #9 (permalink)  
Old 10-17-2011, 07:48 AM
Special Member
 
Posts: 165
Default

The above error is rectified and I am able to get in through however I am unable to see any email or calendar entries created on zimbra not sure why
Reply With Quote
  #10 (permalink)  
Old 10-18-2011, 08:58 AM
Elite Member
 
Posts: 469
Default

Quote:
Originally Posted by blason View Post
Any clue what this error indicates, I see this in z-push's Apache Server logs. Does that need a mysql connectivity which is failing?


[Mon Oct 17 23:01:58 2011] [error] [client 42.105.152.132] PHP Fatal error: Call to undefined function mysql_query() in /var/www/html/z-push/backend/zimbra.php on line 3926
[Mon Oct 17 23:04:41 2011] [error] [client 42.105.152.132] PHP Fatal error: Call to undefined function mysql_query() in /var/www/html/z-push/backend/zimbra.php on line 3926
[Mon Oct 17 23:05:41 2011] [error] [client 42.105.152.132] PHP Fatal error: Call to undefined function mysql_query() in /var/www/html/z-push/backend/zimbra.php on line 3926
[Mon Oct 17 23:10:58 2011] [error] [client 42.105.152.132] PHP Fatal error: Call to undefined function mysql_query() in /var/www/html/z-push/backend/zimbra.php on line 3926
Based on the line number quoted - it appears you have downloaded Release 48 ?

Please download Release 51 to start with.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.