[GH-ISSUE #7] PHP Fatal error: Class 'Hm_Auth_IMAP' not found #4

Closed
opened 2026-02-25 21:33:52 +03:00 by kerem · 6 comments
Owner

Originally created by @gevatter on GitHub (May 4, 2015).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/7

Originally assigned to: @jasonmunro on GitHub.

I copied the sample ini file and the only thing i changed is auth_type=IMAP.

PHP Fatal error:  Class 'Hm_Auth_IMAP' not found in /var/www/cypht/hm3-master/lib/session.php on line 118

I am aware that the comment says the imap module must be enabled but it is present in the "modules" line at the end of the file. Am I missing something, is there something else what needs to be done? I din't find a hint what to do.

Originally created by @gevatter on GitHub (May 4, 2015). Original GitHub issue: https://github.com/cypht-org/cypht/issues/7 Originally assigned to: @jasonmunro on GitHub. I copied the sample ini file and the only thing i changed is `auth_type=IMAP`. ``` PHP Fatal error: Class 'Hm_Auth_IMAP' not found in /var/www/cypht/hm3-master/lib/session.php on line 118 ``` I am aware that the comment says `the imap module must be enabled` but it is present in the "modules" line at the end of the file. Am I missing something, is there something else what needs to be done? I din't find a hint what to do.
kerem 2026-02-25 21:33:52 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@jasonmunro commented on GitHub (May 4, 2015):

Could be a bug, I don't use the IMAP authentication very often :) I will setup a test and see if I can reproduce this.

<!-- gh-comment-id:98766270 --> @jasonmunro commented on GitHub (May 4, 2015): Could be a bug, I don't use the IMAP authentication very often :) I will setup a test and see if I can reproduce this.
Author
Owner

@jasonmunro commented on GitHub (May 4, 2015):

Definitely a bug. Working on a fix now!

<!-- gh-comment-id:98766756 --> @jasonmunro commented on GitHub (May 4, 2015): Definitely a bug. Working on a fix now!
Author
Owner

@jasonmunro commented on GitHub (May 4, 2015):

Should be resolved, sorry about that! I moved the module set specific auth classes to the module code, but that creates some issues with not loading when we need them to. I will come up with a better fix, but in the meantime I moved them back to lib/ to resolve this issue. Thanks for the feedback again!

<!-- gh-comment-id:98776775 --> @jasonmunro commented on GitHub (May 4, 2015): Should be resolved, sorry about that! I moved the module set specific auth classes to the module code, but that creates some issues with not loading when we need them to. I will come up with a better fix, but in the meantime I moved them back to lib/ to resolve this issue. Thanks for the feedback again!
Author
Owner

@gevatter commented on GitHub (May 4, 2015):

No need to be sorry, thank you for your amazing quick answers :)

Unforunaliy I still get an error:

 Fatal error: Class 'Hm_IMAP' not found in /var/www/cypht/hm3-master/lib/auth.php on line 193

I cloned the whole repo in a clean envoronment to be sure.

<!-- gh-comment-id:98805333 --> @gevatter commented on GitHub (May 4, 2015): No need to be sorry, thank you for your amazing quick answers :) Unforunaliy I still get an error: ``` Fatal error: Class 'Hm_IMAP' not found in /var/www/cypht/hm3-master/lib/auth.php on line 193 ``` I cloned the whole repo in a clean envoronment to be sure.
Author
Owner

@jasonmunro commented on GitHub (May 4, 2015):

Well I did a pretty crappy job fixing that then, didn't I :) I had some local changes that partially masked this. Once I rewound that I was able to reproduce. It should be all fixed up now. I also noticed the default module list in the sample ini file is incorrect, so you will want to update that before trying again. github.com/jasonmunro/hm3@d742069842. (be sure to rerun the config_gen.php script after updating your ini file). Thanks for the great feedback, I love getting this fixed up!

<!-- gh-comment-id:98828413 --> @jasonmunro commented on GitHub (May 4, 2015): Well I did a pretty crappy job fixing that then, didn't I :) I had some local changes that partially masked this. Once I rewound that I was able to reproduce. It should be all fixed up now. I also noticed the default module list in the sample ini file is incorrect, so you will want to update that before trying again. https://github.com/jasonmunro/hm3/commit/d74206984238ad23d681d55c0b292019ea24a865. (be sure to rerun the config_gen.php script after updating your ini file). Thanks for the great feedback, I love getting this fixed up!
Author
Owner

@gevatter commented on GitHub (May 4, 2015):

Works for me now, thank you verry much. And thank you for this tool in general. I will continue reporting if there are things to report.

<!-- gh-comment-id:98834461 --> @gevatter commented on GitHub (May 4, 2015): Works for me now, thank you verry much. And thank you for this tool in general. I will continue reporting if there are things to report.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#4
No description provided.