-
mrad Newbie

-
Posts: 5
Threads: 3
Joined: Jun 2016
Reputation:
0
02-24-2017, 07:54 AM
(This post was last modified: 02-24-2017, 07:56 AM by mrad.)
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?
-
mrad Newbie

-
Posts: 5
Threads: 3
Joined: Jun 2016
Reputation:
0
(02-24-2017, 08: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
-
skunkbad Senior Citizen
    
-
Posts: 1,300
Threads: 63
Joined: Oct 2014
Reputation:
86
02-28-2017, 02:58 PM
(This post was last modified: 02-28-2017, 02:59 PM by skunkbad.)
(02-28-2017, 03:05 AM)mrad Wrote: (02-24-2017, 08: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.
-
mrad Newbie

-
Posts: 5
Threads: 3
Joined: Jun 2016
Reputation:
0
(02-28-2017, 02:58 PM)skunkbad Wrote: (02-28-2017, 03:05 AM)mrad Wrote: (02-24-2017, 08: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.
|