Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Unable to export calendar and contacts Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
batpets
Newbie
Newbie


Joined: 15 December 2025
Location: Bulgaria
Online Status: Offline
Posts: 2
Posted: 15 December 2025 at 5:44am | IP Logged Quote batpets

Hello, I am trying to do a calendar and contacts export regarding this howto https://afterlogic.com/docs/webmail-pro/developers-guide/batch-export-of-contacts-and-calendars
My webmail pro version is 8.2.3-build-a3 installed as standard package.
Default server php version is 8.2, but it seems that provided script is not compatible with php 8.0 or higher. So I tried running it on php 7.4, but still has some errors:

sudo -u www-data /usr/bin/php7.4 export_contacts_calendars.php
PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/html/modules/Calendar/Storages/Sabredav.php on line 858
PHP Fatal error: Uncaught Aurora\System\Exceptions\ApiException: ApiException in /var/www/html/system/Module/AbstractModule.php:930
Stack trace:
#0 /var/www/html/system/Module/Decorator.php(42): Aurora\System\Module\AbstractModule->CallMethod()
#1 /var/www/html/export_contacts_calendars.php(14): Aurora\System\Module\Decorator->__call()
#2 {main}
thrown in /var/www/html/system/Module/AbstractModule.php on line 930

/var/www/html/ is the document root of the webmail and script is located in same directory. System is ubuntu 18.04

Can you advice me how to fix this?
Thank you in advance.
Back to Top View batpets's Profile Search for other posts by batpets
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6171
Posted: 15 December 2025 at 5:58am | IP Logged Quote Igor

I'm afraid that version is way too old, 2018 if I'm right, PHP 8 didn't even exist back then. I would recommend upgrading to the latest version.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
batpets
Newbie
Newbie


Joined: 15 December 2025
Location: Bulgaria
Online Status: Offline
Posts: 2
Posted: 15 December 2025 at 6:59am | IP Logged Quote batpets

Thank you for suggestion, but somehow I need to export data for further upgrade. I have the old php versions also installed. Is it possible to run the export or script is written for newer webmail version
Back to Top View batpets's Profile Search for other posts by batpets
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide