06-30-2023, 11:15 AM
Dear HelpdeskZ team,
I hope this email finds you well. I am currently facing an issue with setting up email forwarding using IMAP in HelpdeskZ. I have installed HelpdeskZ on Ionos and followed the instructions to add the command line "/usr/local/bin/php /PATH_TO_HELPDESK/index.php imap_fetcher" in my cronjob.
However, when the cron job runs, I receive the following error message:
"Parse error: syntax error, unexpected ':' in /TicketSystem/index.php on line 28"
Upon investigating, I found that the line causing the error is as follows:
require realpath(HDZ_PATH . 'app/Config/Paths.php') ?: HDZ_PATH . 'app/Config/Paths.php';
Please note that my PHP version is 8.1 on Ionos, and I have used the latest version of HelpdeskZ.
Could you please assist me in resolving this issue? I would appreciate any guidance or suggestions you can provide to help me successfully forward emails using IMAP in HelpdeskZ.
Thank you for your attention to this matter.
Best regards,
Sanjay Addagudi
I hope this email finds you well. I am currently facing an issue with setting up email forwarding using IMAP in HelpdeskZ. I have installed HelpdeskZ on Ionos and followed the instructions to add the command line "/usr/local/bin/php /PATH_TO_HELPDESK/index.php imap_fetcher" in my cronjob.
However, when the cron job runs, I receive the following error message:
"Parse error: syntax error, unexpected ':' in /TicketSystem/index.php on line 28"
Upon investigating, I found that the line causing the error is as follows:
require realpath(HDZ_PATH . 'app/Config/Paths.php') ?: HDZ_PATH . 'app/Config/Paths.php';
Please note that my PHP version is 8.1 on Ionos, and I have used the latest version of HelpdeskZ.
Could you please assist me in resolving this issue? I would appreciate any guidance or suggestions you can provide to help me successfully forward emails using IMAP in HelpdeskZ.
Thank you for your attention to this matter.
Best regards,
Sanjay Addagudi