Site
Home / Forum / General Discussion / Bugs reporting

Bugs reporting


Posted: 07 Oct 2020 14:23
cydalby


Posts: 346
Joined: 2020

Unable to add timeline events for players second teams such as internationals.

Appreciate not all players are in the team but https://www.thesportsdb.com/event/1057496 shows no players in the timeline dropdown

Posted: 07 Oct 2020 14:53

zag


Posts: 3,511
Joined: 2020

Unable to add timeline events for players second teams such as internationals.

Appreciate not all players are in the team but https://www.thesportsdb.com/event/1057496 shows no players in the timeline dropdown


Fixed I hope, they will need to be added as a 2nd team though to show up.

Posted: 10 Oct 2020 18:58
MalteS19

Posts: 2
Joined: 2020

Hey guys,
not sure if that's the correct way of posting things like that but the league tables of the soccer leagues contain partially quite wrong information and I wanted to make you aware of that in case this is an unknown issue!

Posted: 10 Oct 2020 21:24

zag


Posts: 3,511
Joined: 2020

Hey guys,
not sure if that's the correct way of posting things like that but the league tables of the soccer leagues contain partially quite wrong information and I wanted to make you aware of that in case this is an unknown issue!


Hi yes this is a well known issue and high on my todo list to fix, but also it indicates issues with the scores somewhere as well so useful.

Any ideas which league? I think the postponed events might be causing an issue.

MalteS19
Posted: 10 Oct 2020 22:17

Ovokx

Posts: 1,768
Joined: 2020

tried to add lineups for UEFA Nations League events, but it looks that secondary teams in players are not detected

Posted: 11 Oct 2020 08:20
MalteS19

Posts: 2
Joined: 2020

Hey guys,
not sure if that's the correct way of posting things like that but the league tables of the soccer leagues contain partially quite wrong information and I wanted to make you aware of that in case this is an unknown issue!

Hi yes this is a well known issue and high on my todo list to fix, but also it indicates issues with the scores somewhere as well so useful.

Any ideas which league? I think the postponed events might be causing an issue.



I first noticed it at the english Premier League. It's possible that postponed events cause errors like that as well, so I looked at other european leagues without postponed events, like german Bundesliga and french Ligue 1. Unlike the other ligues which have postponed events, these two have more correct tables and just mistakes in the goal related statistics. So maybe the postponed events mess around with values like games played, while they all have a second, common issue that interferes with the goals.

zag
Posted: 11 Oct 2020 21:06
cydalby


Posts: 346
Joined: 2020

Not quite a bug, probably more my phone but I’ve noticed that sometimes timeline events duplicate.

Would it be possible to add a check to see if that minute & player already exists?

Example:

https://www.thesportsdb.com/event.php?e=1052246&r3=333

Posted: 16 Oct 2020 20:13
smudgie

Posts: 364
Joined: 2020

When entering info under deceased, the born field is returned simply as deceased not the date of birth
example https://www.thesportsdb.com/player/34172757

Posted: 23 Oct 2020 20:02
cydalby


Posts: 346
Joined: 2020

Warning: Invalid argument supplied for foreach() in C:\inetpub\thesportsdb.com\sync_apifootball_event_lineup_away.php on line 171

Found when trying to sync the Leeds lineup tonight

Posted: 24 Oct 2020 21:29

zag


Posts: 3,511
Joined: 2020

Warning: Invalid argument supplied for foreach() in C:\inetpub\thesportsdb.com\sync_apifootball_event_lineup_away.php on line 171

Found when trying to sync the Leeds lineup tonight


Fixed I hope, bad API call is now handled.

Posted: 02 Nov 2020 18:06
cydalby


Posts: 346
Joined: 2020

Some of the MLS fixtures from last night were postponed, ive manually updated them but they keep resetting to show as not postponed

Posted: 02 Nov 2020 19:28

zag


Posts: 3,511
Joined: 2020

Some of the MLS fixtures from last night were postponed, ive manually updated them but they keep resetting to show as not postponed

I'd leave postponed matches to the importer as it should be automatic. They probably simply have a delay in applying it.

Posted: 03 Nov 2020 10:00
cydalby


Posts: 346
Joined: 2020

Events Last API is returning the last5 events from the season, not the previous 5 games for that team.

e.g. https://www.thesportsdb.com/api/v1/json/1/eventslast.php?id=134779

EDIT seems to only be an issue with my apiKey, apiKey of 1 returns normal data.

zag
Posted: 04 Nov 2020 12:25

zag


Posts: 3,511
Joined: 2020

Events Last API is returning the last5 events from the season, not the previous 5 games for that team.

e.g. https://www.thesportsdb.com/api/v1/json/1/eventslast.php?id=134779

EDIT seems to only be an issue with my apiKey, apiKey of 1 returns normal data.


sorry I broke that yesterday trying to enhance the speed. I've reverted the change now, can you confirm it works again?

Posted: 07 Nov 2020 21:24
cydalby


Posts: 346
Joined: 2020

Not sure if its my side, but seeing some super slow responses from the api over the past week. Notably the v2 and the eventday endpoint

Posted: 09 Nov 2020 19:16
curswine


Posts: 935
Joined: 2020

cURL Error #:Failed to connect to v2.api-football.com port 80: Timed out

I'm getting this error in a few places, editing leagues, looking up club API IDs, and syncing lineups

Posted: 14 Nov 2020 13:41

Ovokx

Posts: 1,768
Joined: 2020

 Warning: imagealphablending() expects parameter 1 to be resource, null given in C:\inetpub\thesportsdb.com\uploadleaguebadge.php on line 61

Warning: imagesavealpha() expects parameter 1 to be resource, null given in C:\inetpub\thesportsdb.com\uploadleaguebadge.php on line 62

Warning: imagecopyresampled() expects parameter 1 to be resource, null given in C:\inetpub\thesportsdb.com\uploadleaguebadge.php on line 63
Problem In resampling


Error got while trying to update a badge and it can't be uploaded

Posted: 14 Nov 2020 14:06
curswine


Posts: 935
Joined: 2020

Can you say which team it is affecting?

I can see if it is a problem on my end too.

Posted: 14 Nov 2020 14:59

Ovokx

Posts: 1,768
Joined: 2020

sorry, I didn't mention it. It was at league level (Italian Serie A - Basketball)

Posted: 14 Nov 2020 15:32
curswine


Posts: 935
Joined: 2020

sorry, I didn't mention it. It was at league level (Italian Serie A - Basketball)

I just tried it myself and got the same error.

Posted: 16 Nov 2020 09:46

zag


Posts: 3,511
Joined: 2020

Thanks, yes I see the error.

We are now creating a "tiny" thumb as well as original and small thumb. I just forgot to set a size for it...

I've fixed the bug and now the league badges should also have a tiny option. This will make page loading faster around the site I hope.

Original
https://www.thesportsdb.com/images/media/league/badge/po61x21605520348.png
Small
https://www.thesportsdb.com/images/media/league/badge/po61x21605520348.png/preview
Tiny
https://www.thesportsdb.com/images/media/league/badge/po61x21605520348.png/tiny

Posted: 19 Nov 2020 14:49
cydalby


Posts: 346
Joined: 2020

When trying to sync lineups manually, the sync tool prioritises name match over idApiFootball.

For example, when I try to sync the home lineups for Sao Paulo, the retired goalkeeper Luciano is added to the team instead of Luciano da Rocha Neves (34173117) who has the correct idApiFootball in the player page

Posted: 22 Nov 2020 00:07

zag


Posts: 3,511
Joined: 2020

When trying to sync lineups manually, the sync tool prioritises name match over idApiFootball.

For example, when I try to sync the home lineups for Sao Paulo, the retired goalkeeper Luciano is added to the team instead of Luciano da Rocha Neves (34173117) who has the correct idApiFootball in the player page


Actually this is just my batch attempt at matching players via names initially.

I can confirm the lineup sync is using the Apifootball ID as the sync source, so editing that for the players and fixing any dupes or mis matches for any players will fix the sync.

Posted: 01 Dec 2020 13:36
cydalby


Posts: 346
Joined: 2020

When trying to sync lineups manually, the sync tool prioritises name match over idApiFootball.

For example, when I try to sync the home lineups for Sao Paulo, the retired goalkeeper Luciano is added to the team instead of Luciano da Rocha Neves (34173117) who has the correct idApiFootball in the player page


This is still happening, when I try to sync lineups for Shanghai SIPG, Óscar the Celta Vigo manager is being added instead of Oscar who has the correct apiFootballId on the player page. This doesn't seem to be matching on id but on name

EDIT Apologies, I see what you meant earlier, the wrong player has the id mapped so is choosing that first, when that is removed it corrects itself


zag
Posted: 16 Dec 2020 17:49
curswine


Posts: 935
Joined: 2020

It doesn't appear as though the thumbs for last season's A-League have been pulled through to the new season which starts in a few weeks' time.

https://www.thesportsdb.com/season.php?l=4356&s=2020-2021


Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 225 to 250 (Total: 470)