guweb icon indicating copy to clipboard operation
guweb copied to clipboard

Leaderboard and scores on profiles not working

Open Zordon1337 opened this issue 2 years ago • 18 comments

leaderboard not working

i get only "there are no players to display!" even if scores is showing in osu

this is what i see on site image

and this is what i see in osu image

Profile stats not working

*this is what i see on player profile image

Note: on admin page Recent scores works

image

little info

bancho.py version: 4.3.2 guweb version: 1.30

Zordon1337 avatar Apr 23 '22 09:04 Zordon1337

this sounds like it can’t reach gulag’s api. can you go into the developer console in your browser and check if any errors occur when you go onto leaderboards/profiles? if i had to guess, either your gulag is down or CORS isn’t set up.

tsunyoku avatar Apr 23 '22 10:04 tsunyoku

when i go to profile i get this image

on leaderboard i get nothing before i was getting image

Zordon1337 avatar Apr 23 '22 10:04 Zordon1337

you’re using an out of date version of guweb, the API urls changed from this quite a while ago

tsunyoku avatar Apr 23 '22 10:04 tsunyoku

i must even replace .html files?

Zordon1337 avatar Apr 23 '22 10:04 Zordon1337

the js files are where the api is called but i can’t guarantee your current html files will work

tsunyoku avatar Apr 23 '22 10:04 tsunyoku

still i get same problem

Zordon1337 avatar Apr 23 '22 10:04 Zordon1337

check the API urls its using

tsunyoku avatar Apr 23 '22 10:04 tsunyoku

in js?

Zordon1337 avatar Apr 23 '22 10:04 Zordon1337

are you getting 404 on gulag again like this

when i go to profile i get this image

on leaderboard i get nothing before i was getting image

tsunyoku avatar Apr 23 '22 10:04 tsunyoku

only profile score errors image

Zordon1337 avatar Apr 23 '22 10:04 Zordon1337

these are still the old urls so it can’t be up to date

tsunyoku avatar Apr 23 '22 10:04 tsunyoku

i deleted guweb folder and installed everything again

Zordon1337 avatar Apr 23 '22 10:04 Zordon1337

there is no magic, it it using the wrong urls, so it is out of date. i literally cannot help you anymore, i have told you what to do

tsunyoku avatar Apr 23 '22 10:04 tsunyoku

here is setup logs maybe this will help image

Zordon1337 avatar Apr 23 '22 10:04 Zordon1337

now i started getting this on leaderboard page image

Zordon1337 avatar Apr 23 '22 10:04 Zordon1337

wipe ur cf cache

7ez avatar Apr 23 '22 12:04 7ez

how

Zordon1337 avatar Apr 23 '22 13:04 Zordon1337

cloudflare dashboard

7ez avatar Apr 23 '22 15:04 7ez