Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error With No Values #7

Closed
aljawaid opened this issue Feb 3, 2023 · 6 comments
Closed

Error With No Values #7

aljawaid opened this issue Feb 3, 2023 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@aljawaid
Copy link
Collaborator

aljawaid commented Feb 3, 2023

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
@aljawaid aljawaid added the bug Something isn't working label Feb 3, 2023
@creecros
Copy link
Owner

creecros commented Feb 3, 2023

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

@creecros
Copy link
Owner

creecros commented Feb 3, 2023

you also need php81-fileinfo

I put all this under requirements in the Readme

@creecros creecros closed this as completed Feb 3, 2023
@aljawaid
Copy link
Collaborator Author

aljawaid commented Feb 3, 2023

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

@creecros
Copy link
Owner

creecros commented Feb 3, 2023

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 added a commit that referenced this issue Feb 3, 2023
@aljawaid
Copy link
Collaborator Author

aljawaid commented Feb 3, 2023

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
Copy link
Owner

creecros commented Feb 4, 2023

the OP_READONLY is a php-imap constant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants