Welcome Guest, Not a member yet? Register   Sign In
Community Auth - a database error when logging in

(This post was last modified: 04-12-2017, 02:32 PM by skunkbad.)

This is what I had to do with your files to get things working:

1) Set the value of base_url in config/config to an actual domain.

2) Changed "admin" on line 41 of controllers/Examples.php to "superuser". You changed the names of the roles in config/authentication, but they are not appropriate for the examples. If you want to use the examples without altering them, then you need to change your roles back to the way they come from the Community Auth repo.

That's all it took for me to get it working.

Also, if you want to confirm things are just the way they are on my system (Ubuntu 16.04), then you can use the dev installer located at /community_auth/sh/.development_install.sh. I put that in /var/www, and then run it. I have a complete working install in about 5 seconds. I am of course using virtual hosts... but its worth a try to see if it works for you.

Messages In This Thread
RE: Community Auth - a database error when logging in - by skunkbad - 04-12-2017, 02:28 PM

Theme © iAndrew 2016 - Forum software by © MyBB