Ropke Posted November 15, 2016 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 6 Reputation: 0 Joined: 11/15/16 Last Seen: March 1, 2018 Share Posted November 15, 2016 Hello! When i try to register new account, I'll get " Something bad happened. Report to an administrator ASAP. " But login is OK and i was set DebugMode = true But no errors throw Someone can help me? Thanks Link to comment Share on other sites More sharing options...
0 Akkarin Posted November 15, 2016 Group: Forum Manager Topic Count: 282 Topics Per Day: 0.06 Content Count: 3144 Reputation: 1630 Joined: 03/26/12 Last Seen: April 15 Share Posted November 15, 2016 1 hour ago, Cyro said: check your cp_tables in mysql! you might deleted one of them by mistake try deleting all cp tables and reinstalling fluxcp! Stop giving duff info to other users. This isn't the first time. If you don't have an answer to the problem, or have no constructive instructions on how to fix the problem, or to assist with debugging, don't post an answer. Perhaps one day, someone will delete your account by mistake. Back on-topic. 35 minutes ago, Ropke said: Thanks Cyro. After debugging the code I found the problem, it was the password policy .. I will improve the error message "The password can not contain the user" Solved. The error is produced when none of the conditions for registering match the criteria. https://github.com/rathena/FluxCP/blob/5280fcdd11811e0a311cffafedc14f7bc01d6e88/modules/account/create.php#L152 If your error was based on the user's password containing the username, you would be presented with that error, not the one you have provided. case Flux_RegisterError::PASSWORD_HAS_USERNAME: $errorMessage = Flux::message ('PasswordHasUsername'); break; The first place to look is in your error logs. Not all errors are displayed on the pages themselves, so you need to check in /data/logs/errors/exceptions/ and /data/logs/mysql/errors/. Link to comment Share on other sites More sharing options...
0 Ropke Posted November 15, 2016 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 6 Reputation: 0 Joined: 11/15/16 Last Seen: March 1, 2018 Author Share Posted November 15, 2016 27 minutes ago, Cyro said: check your cp_tables in mysql! you might deleted one of them by mistake try deleting all cp tables and reinstalling fluxcp! Thanks Cyro. After debugging the code I found the problem, it was the password policy .. I will improve the error message "The password can not contain the user" Solved. Link to comment Share on other sites More sharing options...
0 Ropke Posted November 15, 2016 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 6 Reputation: 0 Joined: 11/15/16 Last Seen: March 1, 2018 Author Share Posted November 15, 2016 Exactly, I discovered this by opening the register function inside php and debugging. Thank you for your attention. Link to comment Share on other sites More sharing options...
-2 Cyro Posted November 15, 2016 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted November 15, 2016 (edited) check your cp_tables in mysql! you might deleted one of them by mistake try deleting all cp tables and reinstalling fluxcp! Edited November 15, 2016 by Cyro Link to comment Share on other sites More sharing options...
Question
Ropke
Hello!
When i try to register new account, I'll get " Something bad happened. Report to an administrator ASAP. "
But login is OK and i was set DebugMode = true
But no errors throw
Someone can help me?
Thanks
Link to comment
Share on other sites
4 answers to this question
Recommended Posts