CodeIgniter Forums
Community auth not working - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7)
+--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13)
+--- Thread: Community auth not working (/showthread.php?tid=62265)

Pages: 1 2


RE: Community auth not working - skunkbad - 08-09-2015

vsuri, I got your private message and downloaded your files. If you would please make a MySQL database dump of your freshcode3 database, and make it available, I'll be able to provide you with some feedback.


RE: Community auth not working - skunkbad - 08-09-2015

vsuri, I played around with your code/database, and then it occurred to me that your Authentication.php library was different than mine. It looked like you had tried to make some modifications. I replaced your Authentication.php with a fresh copy, and instantly I could log in. I can't take the time to diagnose your customizations, but I think you will find that if you add them back in one by one, you'll find where you broke Community Auth.


RE: Community auth not working - vsuri - 08-09-2015

thanks , i will re-check and try to resolve this one myself. Thanks again


RE: Community auth not working - ethan sohail - 01-18-2016

Hi skunkbad!
I have just used your Community Auth in Codeignitor 3.0.3 and it was working very stable and smoothly in my local machine but when I upload it in my server of godadday in which my domain is SSL enabled it just say all time.

"Login Error #1/5: Invalid Username, Email Address, or Password.
Username, email address and password are all case sensitive."

I have tried all tricks you people discussed earlier posts but nothing worked for me.
Rest of all its function is working, I mean I can create user. Run 'simple_verification' which as usual say no body is logged in. but its just not working at all.

here is my log records:

DEBUG - 2016-01-18 14:16:45 --> Config file loaded: /home/jindagi/public_html/application/third_party/community_auth/config/db_tables.php
DEBUG - 2016-01-18 14:16:45 --> Config file loaded: /home/jindagi/public_html/application/third_party/community_auth/config/authentication.php
DEBUG - 2016-01-18 14:16:45 --> Encryption: Auto-configured driver 'openssl'.
DEBUG - 2016-01-18 14:16:45 -->
string = skunkbottgg
password = PepeLePew7
form_token =
token_jar = ["8b9a5313","67afde97","89125316","4ff9767e","6ab35d35","ebbfcc39","f99febca","389c6992","aacb2df9","a83dcfb4","0cf2a9a4","89220fc9","801a6bd1","f9ae7e1a","ea3d8b4a","47900b65","f34497dd","48ee3a61","59b69465","3d23e411"]
DEBUG - 2016-01-18 14:16:45 --> Total execution time: 0.0187
DEBUG - 2016-01-18 14:16:45 --> UTF-8 Support Enabled
DEBUG - 2016-01-18 14:16:46 --> UTF-8 Support Enabled
DEBUG - 2016-01-18 14:16:46 --> UTF-8 Support Enabled
DEBUG - 2016-01-18 14:18:19 --> UTF-8 Support Enabled
DEBUG - 2016-01-18 14:18:19 --> Global POST, GET and COOKIE data sanitized
DEBUG - 2016-01-18 14:18:19 --> Config file loaded: /home/jindagi/public_html/application/third_party/community_auth/config/db_tables.php
DEBUG - 2016-01-18 14:18:19 --> Config file loaded: /home/jindagi/public_html/application/third_party/community_auth/config/authentication.php
DEBUG - 2016-01-18 14:18:19 --> Encryption: Auto-configured driver 'openssl'.
DEBUG - 2016-01-18 14:18:19 --> UTF-8 Support Enabled
DEBUG - 2016-01-18 14:18:19 --> Global POST, GET and COOKIE data sanitized
DEBUG - 2016-01-18 14:18:19 --> Config file loaded: /home/jindagi/public_html/application/third_party/community_auth/config/db_tables.php
DEBUG - 2016-01-18 14:18:19 --> Config file loaded: /home/jindagi/public_html/application/third_party/community_auth/config/authentication.php
DEBUG - 2016-01-18 14:18:19 --> Encryption: Auto-configured driver 'openssl'.
DEBUG - 2016-01-18 14:18:19 --> Total execution time: 0.0118
DEBUG - 2016-01-18 14:18:19 --> UTF-8 Support Enabled
DEBUG - 2016-01-18 14:18:19 --> UTF-8 Support Enabled
DEBUG - 2016-01-18 14:18:19 --> UTF-8 Support Enabled
DEBUG - 2016-01-18 14:18:39 --> UTF-8 Support Enabled
DEBUG - 2016-01-18 14:18:39 --> Global POST, GET and COOKIE data sanitized
DEBUG - 2016-01-18 14:18:39 --> Config file loaded: /home/jindagi/public_html/application/third_party/community_auth/config/db_tables.php
DEBUG - 2016-01-18 14:18:39 --> Config file loaded: /home/jindagi/public_html/application/third_party/community_auth/config/authentication.php
DEBUG - 2016-01-18 14:18:39 --> Encryption: Auto-configured driver 'openssl'.
DEBUG - 2016-01-18 14:18:39 --> Total execution time: 0.0571
DEBUG - 2016-01-18 14:18:39 --> UTF-8 Support Enabled
DEBUG - 2016-01-18 14:18:39 --> UTF-8 Support Enabled
DEBUG - 2016-01-18 14:18:39 --> UTF-8 Support Enabled
DEBUG - 2016-01-18 14:18:46 --> UTF-8 Support Enabled
DEBUG - 2016-01-18 14:18:46 --> Global POST, GET and COOKIE data sanitized
DEBUG - 2016-01-18 14:18:46 --> Config file loaded: /home/jindagi/public_html/application/third_party/community_auth/config/db_tables.php
DEBUG - 2016-01-18 14:18:46 --> Config file loaded: /home/jindagi/public_html/application/third_party/community_auth/config/authentication.php
DEBUG - 2016-01-18 14:18:46 --> Encryption: Auto-configured driver 'openssl'.
DEBUG - 2016-01-18 14:18:46 --> Total execution time: 0.0102
DEBUG - 2016-01-18 14:18:47 --> UTF-8 Support Enabled
DEBUG - 2016-01-18 14:18:47 --> UTF-8 Support Enabled


RE: Community auth not working - skunkbad - 01-18-2016

So, here is the important part:


Code:
DEBUG - 2016-01-18 14:16:45 -->
string = skunkbottgg
password = PepeLePew7
form_token =
token_jar = ["8b9a5313","67afde97","89125316","4ff9767e","6ab35d35","ebbfcc39","f99febca","389c6992","aacb2df9","a83dcfb4","0cf2a9a4","89220fc9","801a6bd1","f9ae7e1a","ea3d8b4a","47900b65","f34497dd","48ee3a61","59b69465","3d23e411"]


What this is telling me is that there was no posted form token. So, the first thing I'd do is check why there is no form token. When you view the page source, do you not see the #form_token hidden input? If it's there, does it not have a value? If there is no form token to match the tokens in the token jar, you'll never be able to log in.

My past experiences with Godaddy are similar to everyone elses. At some point, you'll know what I'm talking about.

Like the others, I can help you if provided access to the Godaddy account, but I'd like you to try to figure it out first.

Also, clear cookies. Also, try password reset.