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

Top Fragger issue #108

Closed
Aerwix opened this issue Feb 21, 2020 · 5 comments
Closed

Top Fragger issue #108

Aerwix opened this issue Feb 21, 2020 · 5 comments

Comments

@Aerwix
Copy link

Aerwix commented Feb 21, 2020

#11 # Server configuration

  • Operating System: Debian 10
  • Web Server (+ version): nginx
  • PHP Version: 7.0 debug or something like that
  • Server name and version (for example: TFS 0.3): otx4 based on 1.2 TFS
  • MyAAC Version: 8

Client configuration (Your Computer)

  • Browser: Google Chrome
  • Operating System: Windows 10

Description:

I tried to add a new page called "Top Fraggers", found the code and tested with 7.12 and 7.11 and was working everything fine.
Working on 7.11, 7.12 https://media.discordapp.net/attachments/454438436619943936/680234065001316373/unknown.png

And then send it to my VPS which is 8.0 (dev mode)
https://media.discordapp.net/attachments/454438436619943936/680234145741275156/unknown.png

Steps To Reproduce:

Create a new page with the /admin helper
Insert PHP code:
https://gist.github.com/Aerwix/e821c19f1dd0a1d1b31036fd0b45a705

@slawkens
Copy link
Owner

Hello,

The solution would be to change $SQL to $db.

But I will look into it when I'm back from work, so it will work with $SQL too.

Thanks for the detailed report.

@Aerwix
Copy link
Author

Aerwix commented Feb 23, 2020

Hello Slawkens,

Actually swapped from $SQL to $db but...

Now:

Thanks for your help. :)

@slawkens
Copy link
Owner

Hello,

I just fixed it in this commit - fcfad7c

@slawkens
Copy link
Owner

slawkens commented Mar 9, 2020

Hello @Aerwix,

Did that commit fix your issue?

@Aerwix
Copy link
Author

Aerwix commented Mar 9, 2020

Hello @slawkens

Actually yes, now is working fine.

Proof: https://demera.online/?topfraggers

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

2 participants