• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Community Auth: Can't login

#1
I have installed Community Auth, created the example user by calling /index.php/examples/create_user. 
I verified the user exists in the database. 
However, when I try to log in, I enter the login details, and submit, the same login page is shown. When I call /index.php/examples/simple_verification then it shows nobody is logged in.

I have the plain installation as described here:
https://community-auth.com/documentation/installation


This is the log:

Code:
DEBUG - 2017-02-24 15:51:25 --> UTF-8 Support Enabled
DEBUG - 2017-02-24 15:51:25 --> Global POST, GET and COOKIE data sanitized
DEBUG - 2017-02-24 15:51:25 --> Config file loaded: /Applications/MAMP/htdocs/daf-dashboard-from-local/application/config/development/db_tables.php
DEBUG - 2017-02-24 15:51:25 --> Config file loaded: /Applications/MAMP/htdocs/daf-dashboard-from-local/application/third_party/community_auth/config/db_tables.php
DEBUG - 2017-02-24 15:51:25 --> Config file loaded: /Applications/MAMP/htdocs/daf-dashboard-from-local/application/config/development/authentication.php
DEBUG - 2017-02-24 15:51:25 --> Config file loaded: /Applications/MAMP/htdocs/daf-dashboard-from-local/application/third_party/community_auth/config/authentication.php
DEBUG - 2017-02-24 15:51:25 --> Encryption: Auto-configured driver 'openssl'.
DEBUG - 2017-02-24 15:51:25 -->
string     = skunkbot
password   = PepeLePew7
form_token = 5d68e74e
token_jar  = ["a393633d","5d68e74e"]
DEBUG - 2017-02-24 15:51:25 --> Form_validation class already loaded. Second attempt ignored.
DEBUG - 2017-02-24 15:51:25 --> Config file loaded: /Applications/MAMP/htdocs/daf-dashboard-from-local/application/config/development/examples/password_strength.php
DEBUG - 2017-02-24 15:51:25 --> Config file loaded: /Applications/MAMP/htdocs/daf-dashboard-from-local/application/third_party/community_auth/config/examples/password_strength.php
DEBUG - 2017-02-24 15:51:25 --> Config file loaded: /Applications/MAMP/htdocs/daf-dashboard-from-local/application/config/development/form_validation/examples/login.php
DEBUG - 2017-02-24 15:51:25 --> Config file loaded: /Applications/MAMP/htdocs/daf-dashboard-from-local/application/third_party/community_auth/config/form_validation/examples/login.php
DEBUG - 2017-02-24 15:51:25 --> Total execution time: 0.6470
DEBUG - 2017-02-24 15:51:25 --> UTF-8 Support Enabled
DEBUG - 2017-02-24 15:51:25 --> Global POST, GET and COOKIE data sanitized
DEBUG - 2017-02-24 15:51:25 --> Config file loaded: /Applications/MAMP/htdocs/daf-dashboard-from-local/application/config/development/db_tables.php
DEBUG - 2017-02-24 15:51:25 --> Config file loaded: /Applications/MAMP/htdocs/daf-dashboard-from-local/application/third_party/community_auth/config/db_tables.php
DEBUG - 2017-02-24 15:51:25 --> Config file loaded: /Applications/MAMP/htdocs/daf-dashboard-from-local/application/config/development/authentication.php
DEBUG - 2017-02-24 15:51:25 --> Config file loaded: /Applications/MAMP/htdocs/daf-dashboard-from-local/application/third_party/community_auth/config/authentication.php
DEBUG - 2017-02-24 15:51:25 --> Encryption: Auto-configured driver 'openssl'.
DEBUG - 2017-02-24 15:51:25 --> Total execution time: 0.0342
DEBUG - 2017-02-24 15:51:26 --> UTF-8 Support Enabled
DEBUG - 2017-02-24 15:51:26 --> Global POST, GET and COOKIE data sanitized
DEBUG - 2017-02-24 15:51:26 --> Config file loaded: /Applications/MAMP/htdocs/daf-dashboard-from-local/application/config/development/db_tables.php
DEBUG - 2017-02-24 15:51:26 --> Config file loaded: /Applications/MAMP/htdocs/daf-dashboard-from-local/application/third_party/community_auth/config/db_tables.php
DEBUG - 2017-02-24 15:51:26 --> Config file loaded: /Applications/MAMP/htdocs/daf-dashboard-from-local/application/config/development/authentication.php
DEBUG - 2017-02-24 15:51:26 --> Config file loaded: /Applications/MAMP/htdocs/daf-dashboard-from-local/application/third_party/community_auth/config/authentication.php
DEBUG - 2017-02-24 15:51:26 --> Encryption: Auto-configured driver 'openssl'.
DEBUG - 2017-02-24 15:51:26 --> Total execution time: 0.0383
So, everything seems to be fine but I am not seeing the Examples page. Instead I am seeing the Login page again.

Any advice?
Reply

#2
You 100% positive you've got the latest version? If so then you might consider zipping up your site, creating a database dump, and making them available for me to review. Being that I am the creator, I can tell you where you went wrong, but I need to see what you've got.
Reply

#3
(02-24-2017, 09:31 PM)skunkbad Wrote: You 100% positive you've got the latest version? If so then you might consider zipping up your site, creating a database dump, and making them available for me to review. Being that I am the creator, I can tell you where you went wrong, but I need to see what you've got.

Hi Skunkbad,

I am pretty sure I have downloaded the Community Auth from:

https://bitbucket.org/skunkbad/community...master.zip

That is through the link on the https://community-auth.com/ website.

There are 2 dumps in the zipped file in /database-dumps, one with the CREATE DATABASE dump and one without.

The application uses different config files for development, testing and production. Whereas I run into this problem with development config, and not have tried the testing and production config.

I have sent you a download link in private message.

Best regards,
mrad
Reply

#4
(02-28-2017, 04:05 AM)mrad Wrote:
(02-24-2017, 09:31 PM)skunkbad Wrote: You 100% positive you've got the latest version? If so then you might consider zipping up your site, creating a database dump, and making them available for me to review. Being that I am the creator, I can tell you where you went wrong, but I need to see what you've got.

Hi Skunkbad,

I am pretty sure I have downloaded the Community Auth from:

https://bitbucket.org/skunkbad/community...master.zip

That is through the link on the https://community-auth.com/ website.

There are 2 dumps in the zipped file in /database-dumps, one with the CREATE DATABASE dump and one without.

The application uses different config files for development, testing and production. Whereas I run into this problem with development config, and not have tried the testing and production config.

I have sent you a download link in private message.

Best regards,
mrad


I could not respond to your private message, because you do not have private messaging enabled, but here's what I found:

1) If you had created the user with user level 9 instead of 1, you would be able to login. The user creation is purposely creating a user level 1 by default, in case somebody forgets to remove the examples controller. Change your user level to 9.

2) Your MY_controller.php file needs to be renamed to MY_Controller.php. That's all I did, and it works.
Reply

#5
(02-28-2017, 03:58 PM)skunkbad Wrote:
(02-28-2017, 04:05 AM)mrad Wrote:
(02-24-2017, 09:31 PM)skunkbad Wrote: You 100% positive you've got the latest version? If so then you might consider zipping up your site, creating a database dump, and making them available for me to review. Being that I am the creator, I can tell you where you went wrong, but I need to see what you've got.

Hi Skunkbad,

I am pretty sure I have downloaded the Community Auth from:

https://bitbucket.org/skunkbad/community...master.zip

That is through the link on the https://community-auth.com/ website.

There are 2 dumps in the zipped file in /database-dumps, one with the CREATE DATABASE dump and one without.

The application uses different config files for development, testing and production. Whereas I run into this problem with development config, and not have tried the testing and production config.

I have sent you a download link in private message.

Best regards,
mrad


I could not respond to your private message, because you do not have private messaging enabled, but here's what I found:

1) If you had created the user with user level 9 instead of 1, you would be able to login. The user creation is purposely creating a user level 1 by default, in case somebody forgets to remove the examples controller. Change your user level to 9.

2) Your MY_controller.php file needs to be renamed to MY_Controller.php. That's all I did, and it works.

I replied you in pm.
Reply

#6
Again, I cannot respond to you via PM, because you have not enabled PMs.

You're problems point to something outside of Community Auth, and without having physical access to your server there's nothing I can do or suggest. Since I, using your code and database, was able to make it work, you'll need to either provide physical access to your server, or debug on your own.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.