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

Bugs with maps #151

Open
4F-Beep opened this issue May 15, 2021 · 14 comments
Open

Bugs with maps #151

4F-Beep opened this issue May 15, 2021 · 14 comments
Labels
bug Something isn't working

Comments

@4F-Beep
Copy link

4F-Beep commented May 15, 2021

Congratulations for your work

Describe the bug
Bug with maps
Impossible to play some maps
i can add them
i can juke them
But i cant play them, they stay in jukebox

In log file, there's an error
[09:06:32] Hook->execute(): Exception: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #5 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'evosc.pbs.score' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by (SQL: select players.id, Login, Rating, Map, pbs.Score from players left join mx-karma on mx-karma.Player = players.id and mx-karma.Map = 44 left join pbs on pbs.player_id = players.id where players.id in (17) group by players.id, Login, Rating, Map)

Expected behavior
Explain what should have happened, or not.

To Reproduce
Please explain what led to the issue.
Example:
evosc_2021-05-15.txt

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots/Logs
If any available, add screenshots/logs to help explain your problem.

EvoSC (please complete the following information):

  • EvoSC-Version: 0.99.7
  • Game: TM2020

When using git (please complete the following information):

  • Current-Commit: [e.g. bb3eefb] (get with git rev-parse HEAD)
@4F-Beep 4F-Beep added the bug Something isn't working label May 15, 2021
@4F-Beep
Copy link
Author

4F-Beep commented Jun 7, 2021

Server is ok without evosc

The problem is about my evosc

What you do you think about that?

Thanks for answer

@snixtho
Copy link
Member

snixtho commented Jun 7, 2021

Your EvoSC version (0.99.7) is several months old, what happens if you update to the latest version, 0.99.22?

@4F-Beep
Copy link
Author

4F-Beep commented Jun 7, 2021

Thanks for your answer

I updated with "git pull"

Now, I have PHP fatal error

@4F-Beep
Copy link
Author

4F-Beep commented Jun 7, 2021

Here's the terminal
..................................................PHP Fatal error: Uncaught Error: Class 'Mexitek\PHPColors\Color' not found in /home/sebastien/Bureau/TMserver/EvoSC/vendor/latte/latte/src/Latte/Engine.php(190) : eval()'d code:98
Stack trace:
#0 /home/sebastien/Bureau/TMserver/EvoSC/vendor/latte/latte/src/Latte/Runtime/Template.php(205): Templatee33b184567->main()
#1 /home/sebastien/Bureau/TMserver/EvoSC/vendor/latte/latte/src/Latte/Runtime/Template.php(247): Latte\Runtime\Template->render()
#2 /home/sebastien/Bureau/TMserver/EvoSC/vendor/latte/latte/src/Latte/Runtime/Template.php(351): Latte\Runtime\Template->Latte\Runtime{closure}()
#3 /home/sebastien/Bureau/TMserver/EvoSC/vendor/latte/latte/src/Latte/Runtime/Template.php(250): Latte\Runtime\Template->filter()
#4 /home/sebastien/Bureau/TMserver/EvoSC/vendor/latte/latte/src/Latte/Engine.php(190) : eval()'d code(17): Latte\Runtime\Template->renderToContentType()
#5 /home/sebastien/Bureau/TMserver/EvoSC/vendor/latte/latte/src/Latte/Runtime/Template.php(205): Templatef5bf56786f->main()
#6 /home/sebastien/Bureau/TMserver/EvoSC in /home/sebastien/Bureau/TMserver/EvoSC/vendor/latte/latte/src/Latte/Engine.php(190) : eval()'d code on line 98

@araszka
Copy link
Member

araszka commented Jun 7, 2021

You may want to call composer install --no-dev -o after pulling, to make sure you have all required packages installed.

@4F-Beep
Copy link
Author

4F-Beep commented Jun 7, 2021

Big thanks

@4F-Beep
Copy link
Author

4F-Beep commented Jun 7, 2021

But maps are not played

server is ok without evoSC

When EvoSC is running some maps cant be played :(

@4F-Beep
Copy link
Author

4F-Beep commented Jun 9, 2021

Someone have an idea about these maps not played?
Without evoSC, maps rotation is ok.

@4F-Beep
Copy link
Author

4F-Beep commented Jun 14, 2021

Here's error in log file
[09:06:32] Hook->execute(): Exception: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #5 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'evosc.pbs.score' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by (SQL: select players.id, Login, Rating, Map, pbs.Score from players left join mx-karma on mx-karma.Player = players.id and mx-karma.Map = 44 left join pbs on pbs.player_id = players.id where players.id in (17) group by players.id, Login, Rating, Map)

Someone know what's is the problem?
txt file is on top of thread

@4F-Beep
Copy link
Author

4F-Beep commented Jul 26, 2021

Nobody knows about this error.

Need help :)

Thanks for return

@snixtho
Copy link
Member

snixtho commented Jul 26, 2021

Which version of MySQL do you use?

@araszka
Copy link
Member

araszka commented Jul 26, 2021

Please try with the latest develop version

@4F-Beep
Copy link
Author

4F-Beep commented Jul 26, 2021

thx for return,
i dont know about version, i installed automaticly with linux
i ll try with the next

@4F-Beep
Copy link
Author

4F-Beep commented Jul 26, 2021

version (); donne
8.0.23 - ubuntu 20.04.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants