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

email_config error #158

Closed
tswagger opened this issue Jul 15, 2016 · 4 comments
Closed

email_config error #158

tswagger opened this issue Jul 15, 2016 · 4 comments

Comments

@tswagger
Copy link
Contributor

Getting a error when using an email config file. When config file is named email.php it does NOT need to be initialized in CI3.
Severity: Notice
Message: Undefined index: email_config
Filename: libraries/Aauth.php
Line Number: 912

Suggested fix:
change line 912 from
if(is_array($this->config_vars['email_config'])){
to
if(isset($this->config_vars['email_config']) && is_array($this->config_vars['email_config'])){

I am not sure if there are other ramifications to this suggested fix, but it eliminated the error I was getting.

@tswagger
Copy link
Contributor Author

also on line 478

@REJack
Copy link
Collaborator

REJack commented Jul 16, 2016

Hi Tim,

The error comes because the email_config isn't in the aauth's config file.

I'm doesn't know the trick with email.php 😵 , i fix it now and create a release for it.

REJack added a commit that referenced this issue Jul 16, 2016
@REJack
Copy link
Collaborator

REJack commented Jul 16, 2016

Fix is released 😄, now the email.php should work.

@REJack
Copy link
Collaborator

REJack commented Jul 20, 2016

I'll close this issue, if the problem is still there reopen the issue 😃.

@REJack REJack closed this as completed Jul 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants