Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in admin/core/general #869

Closed
H4nSolo opened this issue Nov 26, 2017 · 6 comments
Closed

Bug in admin/core/general #869

H4nSolo opened this issue Nov 26, 2017 · 6 comments

Comments

@H4nSolo
Copy link
Contributor

H4nSolo commented Nov 26, 2017

  • What kind of issue is it (Question, Bug, etc.)?
    Bug

  • In which version of NamelessMC did it occur (1.x.x)?
    Latest Nameless V2 (Repo from Github)

  • How would you describe the issue?
    **Bug in the admin/core/&view=general
    When you send up the Form, you will redirected to the Site again but you see only the Header of the Page "Core"
    After i have enabled the Debugger, i get this:

On the Core/generel Site the Private User Profile Option Form:

  • Notice: Undefined offset: 0 in ...\modules\Core\pages\admin\core.php on line 503
  • Notice: Trying to get property of non-object in ...\modules\Core\pages\admin\core.php on line 506

On Submit:

  • Notice: Undefined offset: 0 in ...\neu\modules\Core\pages\admin\core.php on line 284
  • Notice: Trying to get property of non-object in ...\modules\Core\pages\admin\core.php on line 284
  • Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1' in ...\core\classes\DB.php:77 Stack trace: #0 ...\core\classes\DB.php(77): PDOStatement->execute() Update index.php #1 ...\core\classes\DB.php(197): DB->createQuery('UPDATE nl2_sett...', Array) Nameless Installation: Stuck on Account #2 ...\core\classes\Queries.php(45): DB->update('settings', NULL, Array) [Request] Moderator Log? More Customizable Permissions? #3 ...\modules\Core\pages\admin\core.php(288): Queries->update('settings', NULL, Array) Changed API action for getting latest donations. #4 ...\index.php(69): require('...') German translation added #5 {main} thrown in ...\core\classes\DB.php on line 77**
  • Do you have (relevant) resources about this issue (Logs, pictures, etc.)?
    No, but I can create some if necessary

  • Do you have an idea how or where the issue occurs?
    ** No**

@partydragen
Copy link
Member

partydragen commented Nov 26, 2017

Be sure you updated all new database changes
In Settings table And Users Table

1 in Settings Table
And 2 In Users Table

And the new permissions in groups table

@IsS127
Copy link
Member

IsS127 commented Nov 26, 2017

Add private_profile in users as a new field.
Add private_profile as a option in settings

@H4nSolo
Copy link
Contributor Author

H4nSolo commented Nov 26, 2017

i have cleared my old Nameless v2 Install Version & Database and reinstall the new v2 from Github but the Errors comes again.
Other changes in the Core (like Debugger or other thing) are running but only the General Tab is buggy :(

@IsS127
Copy link
Member

IsS127 commented Nov 26, 2017

So you removed EVERYTHING in ftp and installed it again?

@H4nSolo
Copy link
Contributor Author

H4nSolo commented Nov 26, 2017

yes i tested it local with my xampp on Windows

IsS127 added a commit that referenced this issue Nov 26, 2017
@IsS127
Copy link
Member

IsS127 commented Nov 26, 2017

Found the issue, should be fixed in ddc5e5a, Just reinstall and it should query now. Or you can just add private_profile, value 1 in the settings.
If this didnt work just reopen it.
Thanks for reporting this!

@IsS127 IsS127 closed this as completed Nov 26, 2017
samerton pushed a commit that referenced this issue Sep 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants