Welcome Guest, Not a member yet? Register   Sign In
Community Auth: Cannot make it work with CI 3.1.11
#1

Dear skunkbad,

I have intalled Community Auth on a fresh CI 3.1.11 following the instruciones in https://community-auth.com/.

I can see the login form but notihing happens when I write legitime or wrong credentilals; the form simply reloads.


If I click on "Can't access your account?" I get the following PHP error
PHP Code:
A PHP Error was encountered

Severity
Warning

Message
Cannot modify header information headers already sent by (output started at /home/app_iotopentech/app.iotopentech.io/application/controllers/Examples.php:401)

Filenamelibraries/Tokens.php

Line Number
242

Backtrace
:

File: /home/app_iotopentech/app.iotopentech.io/application/third_party/community_auth/libraries/Tokens.php
Line
242
Function: setcookie

File
: /home/app_iotopentech/app.iotopentech.io/application/third_party/community_auth/libraries/Tokens.php
Line
199
Function: save_tokens_cookie

File
: /home/app_iotopentech/app.iotopentech.io/application/third_party/community_auth/libraries/Tokens.php
Line
214
Function: generate_form_token

File
: /home/app_iotopentech/app.iotopentech.io/application/third_party/community_auth/helpers/MY_form_helper.php
Line
79
Function: token

File
: /home/app_iotopentech/app.iotopentech.io/application/third_party/community_auth/views/examples/recover_form.php
Line
109
Function: form_open

File
: /home/app_iotopentech/app.iotopentech.io/application/controllers/Examples.php
Line
403
Function: view

File
: /home/app_iotopentech/app.iotopentech.io/index.php
Line
315
Function: require_once 
[url=https://app.iotopentech.io/index.php/examples/recover][/url]

Besides, I have configured log threshold to 2, but nothing appears in the log file related to the credentials.
PHP Code:
DEBUG 2019-10-12 17:42:25 --> UTF-8 Support Enabled
DEBUG 
2019-10-12 17:42:25 --> Global POSTGET and COOKIE data sanitized
DEBUG 
2019-10-12 17:42:25 --> Config file loaded: /home/app_iotopentech/app.iotopentech.io/application/third_party/community_auth/config/db_tables.php
DEBUG 
2019-10-12 17:42:25 --> Config file loaded: /home/app_iotopentech/app.iotopentech.io/application/third_party/community_auth/config/authentication.php
DEBUG 
2019-10-12 17:42:25 --> Session"sess_save_path" is empty; using "session.save_path" value from php.ini.
DEBUG 2019-10-12 17:42:25 --> EncryptionAuto-configured driver 'openssl'.
DEBUG 2019-10-12 17:42:25 --> Total execution time0.0072 
Please could you help me?

Kind regards from Madrid.
Reply


Messages In This Thread
Community Auth: Cannot make it work with CI 3.1.11 - by jfmateos - 10-13-2019, 12:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB