Error accessing ActiveSync

Having trouble installing Group-Office? No worries. Help is on the way.

Moderator: Developers

Schorsch
Posts: 50
Joined: Wed Dec 10, 2008 8:55 pm

Error accessing ActiveSync

Postby Schorsch » Thu Feb 25, 2010 9:15 pm

Hi,

I just installed version 3.4.1 and added z-push as descirbed.
When I open http://my-go-server/modules/z-push/index.php I get the following error:

Fatal error: Class 'BackendGODir' not found in /var/www/office/modules/z-push/index.php on line 125

What is wrong?

Georg

Found it! I copied the GObackend.php to z-push/ and not to z-push/backend/
Maybe you could clearify the install-description.

Georg
peter_stirnberg
Posts: 275
Joined: Tue Dec 13, 2005 7:57 am

Re: Error accessing ActiveSync

Postby peter_stirnberg » Sun Feb 28, 2010 5:33 pm

Hi,

I did the same but get nevertheless this error:

Fatal error: Class 'BackendGODir' not found in /home/www/groupoffice/modules/z-push/index.php on line 125

Peter
Schorsch
Posts: 50
Joined: Wed Dec 10, 2008 8:55 pm

Re: Error accessing ActiveSync

Postby Schorsch » Sun Feb 28, 2010 6:05 pm

Do you have the correct access attributes and owner/group permissions for the manually copied files?

Georg
Schorsch
Posts: 50
Joined: Wed Dec 10, 2008 8:55 pm

Re: Error accessing ActiveSync

Postby Schorsch » Sun Feb 28, 2010 6:18 pm

So, got the installation running, but still get errors when trying to sync with Nokia E71 with "Mail for Exchange".
It connects to the server (can see this in the apache log), but gets a "Systemerror" on the phone.
Are there any debugfiles on the GO-Server for z-push, where I can see details of the error? Or on the phone?

regards
Georg
Schorsch
Posts: 50
Joined: Wed Dec 10, 2008 8:55 pm

Re: Error accessing ActiveSync

Postby Schorsch » Mon Mar 01, 2010 9:47 am

OK, found how to enable debug: just create and chmod 666 an empty file debug.txt in directory GO/modules/z-push/.
In that file I see:
03/01/10 10:38:08 [20892] Start
03/01/10 10:38:08 [20892] Z-Push version: SVN 1.3 RC2 276
03/01/10 10:38:08 [20892] Client IP: 127.0.1.1
03/01/10 10:38:08 [20892] Client supports version 2.5
03/01/10 10:38:08 [20892] BackendGODir::Logon(..,..,..)
03/01/10 10:38:08 [20892] GODir::Logon logged in
03/01/10 10:38:08 [20892] POST cmd: FolderSync
03/01/10 10:38:08 [20892] GODir::GetExporter()
03/01/10 10:38:08 [20892] Initializing folder diff engine
03/01/10 10:38:08 [20892] GODir::GetFolderList()
03/01/10 10:38:08 [20892] GODir::StatFolder(GroupOfficeContacts)
03/01/10 10:38:08 [20892] GODir::GetFolder(GroupOfficeContacts)
03/01/10 10:38:08 [20892] GODir::StatFolder(GroupOfficeTasks)
03/01/10 10:38:08 [20892] GODir::GetFolder(GroupOfficeTasks)
03/01/10 10:38:08 [20892] GODir::StatFolder(GroupOfficeCalendar)
03/01/10 10:38:08 [20892] GODir::GetFolder(GroupOfficeCalendar)
03/01/10 10:38:08 [20892] Logging on to IMAP server
03/01/10 10:38:08 [20892] /var/www/office/modules/z-push/backend/GObackend.php:64 Use of undefined constant IMAP_OPTIONS - assumed 'IMAP_OPTIONS' (8)
03/01/10 10:38:08 [20892] Found 101 folder changes
...
03/01/10 10:38:08 [20892] GODir::GetFolder(Trash)
03/01/10 10:38:08 [20892] GODir::StatFolder(Trash)
03/01/10 10:38:08 [20892] GODir::GetFolder(Trash)
...
03/01/10 10:38:08 [20892] GODir::GetFolder(Sent)
03/01/10 10:38:08 [20892] GODir::StatFolder(Sent)
03/01/10 10:38:08 [20892] GODir::GetFolder(Sent)
...
03/01/10 10:38:09 [20892] GODir::GetFolder(INBOX)
03/01/10 10:38:09 [20892] GODir::StatFolder(INBOX)
03/01/10 10:38:09 [20892] GODir::GetFolder(INBOX)
03/01/10 10:38:09 [20892] GODir::GetFolder(GroupOfficeTasks)
03/01/10 10:38:09 [20892] GODir::StatFolder(GroupOfficeTasks)
03/01/10 10:38:09 [20892] GODir::GetFolder(GroupOfficeTasks)
03/01/10 10:38:09 [20892] GODir::GetFolder(GroupOfficeContacts)
03/01/10 10:38:09 [20892] GODir::StatFolder(GroupOfficeContacts)
03/01/10 10:38:09 [20892] GODir::GetFolder(GroupOfficeContacts)
03/01/10 10:38:09 [20892] GODir::GetFolder(GroupOfficeCalendar)
03/01/10 10:38:09 [20892] GODir::StatFolder(GroupOfficeCalendar)
03/01/10 10:38:09 [20892] GODir::GetFolder(GroupOfficeCalendar)
03/01/10 10:38:09 [20892] GODir::GetFolder(Gesendet)
03/01/10 10:38:09 [20892] GODir::StatFolder(Gesendet)
03/01/10 10:38:09 [20892] GODir::GetFolder(Gesendet)
03/01/10 10:38:09 [20892] GODir::GetFolder(Drafts)
03/01/10 10:38:09 [20892] GODir::StatFolder(Drafts)
03/01/10 10:38:09 [20892] GODir::GetFolder(Drafts)
03/01/10 10:38:09 [20892] GODir::GetFolder(Adressb&APw-cher)
03/01/10 10:38:09 [20892] GODir::StatFolder(Adressb&APw-cher)
03/01/10 10:38:09 [20892] GODir::GetFolder(Adressb&APw-cher)
03/01/10 10:38:09 [20892] IMAP-errors: Connection failed to localhost,143: Connection refused
03/01/10 10:38:09 [20892] IMAP-errors: SECURITY PROBLEM: insecure server advertised AUTH=PLAIN
03/01/10 10:38:09 [20892] IMAP connection closed
03/01/10 10:38:09 [20892] end
03/01/10 10:38:09 [20892] --------

The device tells me "Systemfehler. Versuchen Sie es später erneut." = "System error. Try again later."

mail.log shows no error:
Mar 1 10:38:08 srv-mail dovecot: imap-login: Login: user=<nnn@ddd.ccc>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Mar 1 10:38:09 srv-mail dovecot: IMAP(nnn@ddd.ccc): Disconnected: Logged out bytes=79/7830

Any suggestions?

Georg
peter_stirnberg
Posts: 275
Joined: Tue Dec 13, 2005 7:57 am

Re: Error accessing ActiveSync

Postby peter_stirnberg » Mon Mar 01, 2010 5:36 pm

Schorsch wrote:Do you have the correct access attributes and owner/group permissions for the manually copied files?

Georg
Hi,

after updating to the last release it works.

Peter
peter_stirnberg
Posts: 275
Joined: Tue Dec 13, 2005 7:57 am

Re: Error accessing ActiveSync

Postby peter_stirnberg » Mon Mar 01, 2010 6:27 pm

Syncing with IPhone doesn't work.
The first initial sync works fine and as it should.
Then I created an appointment on the iPhone and it appears twice in GO. Next sync it appears 4 times, then 6 times and so on. After deleting on the iPhone it stops incrementing and I have to remove them in GO to get i clear.

This is a log excerpt:
#
03/01/10 19:24:20 [18122] Z-Push version: SVN 1.3 RC2 276
03/01/10 19:24:20 [18122] Client IP: xx.xx.xx.xx (commented out)
03/01/10 19:24:20 [18122] Client supports version 2.5
03/01/10 19:24:20 [18122] /home/www/groupoffice/modules/z-push/backend/config.php:5 Constant BASE_PATH already defined (8)
03/01/10 19:24:20 [18122] /home/www/groupoffice/modules/z-push/backend/config.php:27 Constant STATE_DIR already defined (8)
03/01/10 19:24:20 [18122] /home/www/groupoffice/modules/z-push/backend/config.php:30 Constant SCRIPT_TIMEOUT already defined (8)
03/01/10 19:24:20 [18122] /home/www/groupoffice/modules/z-push/backend/config.php:33 Constant MAX_EMBEDDED_SIZE already defined (8)
03/01/10 19:24:20 [18122] /home/www/groupoffice/modules/z-push/backend/config.php:36 Constant PROVISIONING already defined (8)
03/01/10 19:24:20 [18122] /home/www/groupoffice/modules/z-push/backend/config.php:42 Constant LOOSE_PROVISIONING already defined (8)
03/01/10 19:24:20 [18122] BackendGODir::Logon(USERNAME,..,..)
03/01/10 19:24:20 [18122] GODir::Logon logged in
03/01/10 19:24:20 [18122] POST cmd: Sync
03/01/10 19:24:20 [18122] Sync folder:Calendar
03/01/10 19:24:20 [18122] BackendGODir::GetWasteBasket()
03/01/10 19:24:20 [18122] /home/www/groupoffice/modules/z-push/backend/GObackend.php:125 Undefined property: BackendGODir::$_wasteID (8)
03/01/10 19:24:20 [18122] GODir::StatMessage(GroupOfficeCalendar, 11630)
03/01/10 19:24:20 [18122] GODir::DeleteMessage(GroupOfficeCalendar, 11630)

Peter
mschering
Site Admin
Site Admin
Posts: 8295
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Re: Error accessing ActiveSync

Postby mschering » Tue Mar 02, 2010 2:12 pm

mv config.php from modules/z-push/backend to modules/z-push
Best regards,

Merijn Schering
Intermesh
Schorsch
Posts: 50
Joined: Wed Dec 10, 2008 8:55 pm

Re: Error accessing ActiveSync

Postby Schorsch » Tue Mar 02, 2010 4:32 pm

Hi,

config.php is in modules/z-push already.
Do you have any suggestions regarding my error:

03/01/10 10:38:09 [20892] IMAP-errors: Connection failed to localhost,143: Connection refused
03/01/10 10:38:09 [20892] IMAP-errors: SECURITY PROBLEM: insecure server advertised AUTH=PLAIN
03/01/10 10:38:09 [20892] IMAP connection closed

Georg

Who is online

Users browsing this forum: No registered users and 1 guest

cron