ServerAuth icon indicating copy to clipboard operation
ServerAuth copied to clipboard

Admin does not register

Open AndreyNazarchuk opened this issue 10 years ago • 8 comments

Hello, I went to the ServerAuthWebApi index page and it said to make an admin password, so I did and then it keeps asking, seems as if admin_config.php never gets created. Please fix this issue

AndreyNazarchuk avatar Nov 27 '15 20:11 AndreyNazarchuk

Check folder permissions with CHMOD command. The script may not have write permissions on the folder

Flavius12 avatar Nov 27 '15 20:11 Flavius12

Alright, I gave it write perms, and made the admin account, but when I push login or register it gotes to an empty page

AndreyNazarchuk avatar Nov 27 '15 20:11 AndreyNazarchuk

Your PHP version.

legoboy0215 avatar Nov 28 '15 00:11 legoboy0215

5.6 On Nov 27, 2015 4:02 PM, "legoboy0215" [email protected] wrote:

Your PHP version.

— Reply to this email directly or view it on GitHub https://github.com/EvolSoft/ServerAuth/issues/54#issuecomment-160228110.

AndreyNazarchuk avatar Nov 28 '15 00:11 AndreyNazarchuk

I had to generate one myself, but now if I push login or register its blank On Dec 28, 2015 9:49 AM, "DevBrad" [email protected] wrote:

I can't seem to register an admin account either. Every file has a 777 permission level.

— Reply to this email directly or view it on GitHub https://github.com/EvolSoft/ServerAuth/issues/54#issuecomment-167612243.

AndreyNazarchuk avatar Dec 28 '15 19:12 AndreyNazarchuk

@AndreyNazarchuk what do you mean for I had to generate one myself?

Flavius12 avatar Dec 28 '15 19:12 Flavius12

I looked at how the plugin generated the admin config once you filled in the information, so I put that code into the onEnable() function and got the right file. On Dec 28, 2015 11:34 AM, "Flavius12" [email protected] wrote:

@AndreyNazarchuk https://github.com/AndreyNazarchuk what do you mean for I had to generate one myself?

— Reply to this email directly or view it on GitHub https://github.com/EvolSoft/ServerAuth/issues/54#issuecomment-167635478.

AndreyNazarchuk avatar Dec 28 '15 21:12 AndreyNazarchuk

@AndreyNazarchuk Edit ServerAuth Account Manager config.php file and enable debug. Then try to register your admin account and see if there are errors. If you see errors, post them here

Flavius12 avatar Jan 03 '16 12:01 Flavius12