creecros / Mailmagik

Kanboard Plugin - Send emails to Kanboard and convert to tasks or comments
MIT License
22 stars 3 forks source link

Error With No Values #7

Closed aljawaid closed 1 year ago

aljawaid commented 1 year ago

This error is after installing (folder starts with capital K), and when accessing Task Email sidebar menu inside a task. no mailbox details have been entered in settings yet.

[php7:error] [pid 1183151] [client 86.000.166.135:59386] PHP Fatal error:  Uncaught Error: Undefined constant 'OP_READONLY' in /var/www/my.domain/public_html/plugins/Kbphpimap/Controller/EmailViewController.php:180
creecros commented 1 year ago

that's a different error, and it's because your server doesn't have php-imap installed.

creecros commented 1 year ago

you also need php81-fileinfo

I put all this under requirements in the Readme

aljawaid commented 1 year ago

oh ok, I ignored it as i am not using docker, will look into it

creecros commented 1 year ago

I dont know your os, but the docker uses alpine.

if you are Debian, it would be apt install, you need to find the right package for your os. probably still php-imap, and assuming your php 8.1, then php81-fileinfo. just guessing.

aljawaid commented 1 year ago

done it, also updated the readme for my php version, but still same error. I will put some email settings in and see how i get on

creecros commented 1 year ago

the OP_READONLY is a php-imap constant.