therecluse26 / PHP-Login

A login system built with PHP, MySQL, jQuery and Bootstrap
MIT License
836 stars 442 forks source link

superAdmin does not work? #184

Closed Xirez closed 6 years ago

Xirez commented 6 years ago

Hello, thank you for providing this repository!

I do however have a problem, i have used the automatic installer, everything seems to work, except the super admin role. Wich makes me unable to configure the last stape of the installer. Aswell as all the bootstrap is broken, and all i get is raw html data echo'ed out.

After installation, i have my user in the members table, listed as admin. But the admin table is empty. I tried to add the data in there myself, but i am not sure how it should be enterd or what values i would need to put in there for my user to be listed as super admin.

If i could get some help here it would be very appreciate!

therecluse26 commented 6 years ago

Hey @Xirez it might be a good idea for you to wait a week or so for me to get some of my recent updates pushed out, because they're substantial, just to eliminate the need for redoing your work. Keep an eye out for version 3.1 to drop soon, it will have roles and permissions totally restructured, which means you would have to probably redo a lot of this work at that time.

If you still have issues at that point, let me know and I'll see if we can hop on a remote session and walk through some of this. :)

Xirez commented 6 years ago

Alright, thank you for answearing! Exciting times ahead! I will wait around for version 3.1 and try that version out instead. Thank you again for this beautiful script man!

therecluse26 commented 6 years ago

No problem! I'm just happy people are getting something out of it :)

I'll also try to provide some more actual API documentation shortly after the next point release, so keep an eye out for that as well

Jtag-Nathan commented 6 years ago

Absoloutely love your work on this ! it is easy enough to create php forms for a basic login stuff but this makes things 100% easier and with extra features ! any ideas on when version 3.1 will be out as I also have the issue of just raw html as I see many of the files currently do not have bootstrap included in them. Once v3.1 is released I will be installing this on my bootstrap template I use ready for my next site :)

therecluse26 commented 6 years ago

Thanks man! It shouldn't be more than a week or two before it's out. I'm tweaking a few things (and I of course decided last night to refactor the entire thing to fit more in line with PSR-4 standards, so that'll add some extra time for testing and all that) right now and making sure that the role/permission functions work well together at this point, but after that, I'll release it. Some new documentation will be needed at that point as well. Not too much longer though!

On May 22 2018, at 2:43 am, Nathan911765 notifications@github.com wrote:

Absoloutely love your work on this ! it is easy enough to create php forms for a basic login stuff but this makes things 100% easier and with extra features ! any ideas on when version 3.1 will be out as I also have the issue of just raw html as I see many of the files currently do not have bootstrap included in them. Once v3.1 is released I will be installing this on my bootstrap template I use ready for my next site :) — You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://github.com/therecluse26/PHP-Login/issues/184#issuecomment-390880429), or mute the thread (https://github.com/notifications/unsubscribe-auth/AH24AnuMeRWUujdrMKq7qkdHPC60JCAoks5t07OXgaJpZM4UFvlO).

Jtag-Nathan commented 6 years ago

Sounds awesome ! I couldn't get the 3.0 to work properly bootstrap wasn't linking properly I will await the v3.1 :) it will be used as my backed login system for a administration panel for a new project I am building thanks for the awesome work keep it up ! I have yet to master web dev stuff mainly php and html !

therecluse26 commented 6 years ago

Nice! What are you building with it? I always like to hear about how my library is being used :)

(this update should make development easier too as I've included some more user-friendly methods of validating permissions and so forth) On May 24 2018, at 6:26 am, Nathan911765 notifications@github.com wrote:

Sounds awesome ! I couldn't get the 3.0 to work properly bootstrap wasn't linking properly I will await the v3.1 :) it will be used as my backed login system for a administration panel for a new project I am building thanks for the awesome work keep it up ! I have yet to master web dev stuff mainly php and html ! — You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://github.com/therecluse26/PHP-Login/issues/184#issuecomment-391665893), or mute the thread (https://github.com/notifications/unsubscribe-auth/AH24AtUvGa-d9niszqbyki6GHpYa5UfRks5t1orngaJpZM4UFvlO).

therecluse26 commented 6 years ago

Just released version 3.1! Give it a go and let me know if you have any issues.

Btw, there's a migration tool in the /install directory for migrating the database from legacy versions to the new version. You'll want to install the app as new and then run the migration tool to pull the database over.

therecluse26 commented 6 years ago

@Xirez @Nathan911765 I released version 3.1, just fyi :) Give it a shot and let me know what you think!

therecluse26 commented 6 years ago

There were quite a few bugs uncovered by you guys, which I've patched so if you haven't already, you might want to do another git pull to bring those fixes in