The data is actually returned, but you'll see this at the bottom:
Uncaught Error: Call to undefined function mysql_close() in C:\inetpub\thesportsdb\api\v1\json\1\search_all_leagues.php:56
Stack trace:
#0 {main}
thrown in <b>C:\inetpub\thesportsdb\api\v1\json\1\search_all_leagues.php</b> on line <b>56</b><br />
Cheers,
Nick.
Posted: 25 Jan 2017 18:48
zag
Posts: 3,848 Joined: 2020
Thanks fixed ^^
Currently working on the daily soccer importers for all leagues. Hopefully that will be by tonight.
Posted: 25 Jan 2017 20:01
zag
Posts: 3,848 Joined: 2020
I think that's all the artwork uploads fixed now.
Let me now if you notice any errors.
Hi Zag! Just added the badge for Frankfurt Skyliners, but it's not showed on the "Latest Team Edits" section in the front page
Posted: 25 Jan 2017 20:20
zag
Posts: 3,848 Joined: 2020
Hi Zag! Just added the badge for Frankfurt Skyliners, but it's not showed on the "Latest Team Edits" section in the front page
...and same issue on "Latest Player Edits" with Chris Pressley
Posted: 25 Jan 2017 21:52
zag
Posts: 3,848 Joined: 2020
...and same issue on "Latest Player Edits" with Chris Pressley
Thanks its fixed now, but only showing 1 player.
It might take a few edits to show up nicely.
Posted: 26 Jan 2017 11:29
zag
Posts: 3,848 Joined: 2020
Soccer results for all leagues should now be fixed.
Even all the lower leagues should be working.
This will take at least 24hrs to sync fully
Posted: 26 Jan 2017 13:05
zag
Posts: 3,848 Joined: 2020
Hi Zag,
Great work on the new site! I have noticed that the league tables are not currently working.
Traceback (most recent call last):
File "CUsers/User/Documents/Uni/Year 3/Project/Addon/addon.py", line 29, in <module>
table = api.Lookups().Table(leagueid=4329,objects=True)
File "C:\Users\User\Documents\Uni\Year 3\Project\script.module.thesportsdb-master\lib\thesportsdb\thesportsdb.py", line 106, in Table
data = json.load(urllib2.urlopen(url))
File "C:\Users\User\AppData\Local\Programs\Python\lib\json\__init__.py", line 291, in load
**kw)
File "C:\Users\User\AppData\Local\Programs\Python\lib\json\__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "C:\Users\User\AppData\Local\Programs\Python\lib\json\decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\User\AppData\Local\Programs\Python\lib\json\decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded"
ValueError: No JSON object could be decoded
Cheers,
Rob.
Posted: 26 Jan 2017 21:15
zag
Posts: 3,848 Joined: 2020
Thanks keep any errors coming...
Adding events should work again.
Posted: 27 Jan 2017 13:57
zag
Posts: 3,848 Joined: 2020
Hall of fame, fanart and add player is back!
Hopefully this is a much better page now:
https://www.thesportsdb.com/hall_of_fame.php
Posted: 27 Jan 2017 15:29
zag
Posts: 3,848 Joined: 2020
Hall of fame, fanart and add player is back!
Hopefully this is a much better page now:
https://www.thesportsdb.com/hall_of_fame.php
Nice work! It looks awesome!
Posted: 27 Jan 2017 16:11
zag
Posts: 3,848 Joined: 2020
And your feature request of former teams is done also
See Zlatan for an example
https://www.thesportsdb.com/player/34152577
NOTE: The years joined and departed are optional but nice so it shows in order.
Posted: 27 Jan 2017 16:21
zag
Posts: 3,848 Joined: 2020
When trying to print the league tables using the python module using the following code
And your feature request of former teams is done also
See Zlatan for an example
https://www.thesportsdb.com/player/34152577
NOTE: The years joined and departed are optional but nice so it shows in order.
Wow!!! Thank you!!!
Posted: 27 Jan 2017 16:44
zag
Posts: 3,848 Joined: 2020
BTW, what do you think about changing the team name by year. Just tested on Fernando Alonso and due to the team long name, badges are not displayed aligned.
Posted: 27 Jan 2017 17:23
zag
Posts: 3,848 Joined: 2020
Good idea! done.
Posted: 28 Jan 2017 10:13
zag
Posts: 3,848 Joined: 2020
While adding former teams, if team logo is missing, at player level, if you add it after, nothing is displayed even adding the missing badge to the team.
See an example at Marcus Slaughter. The missing logo is related to German BBL / Bremerhaven
Posted: 28 Jan 2017 11:43
zag
Posts: 3,848 Joined: 2020
Ok should be fixed ^^
Also added a "On TV" feature. Just go to the events page and click "Add TV" then select the channel from the list.
Hopefully it should show the icon then on the events page.
If we get a load filled out, maybe we can create an App to show all matches on TV Something I always wanted...
PS: I think it would be great to be able to also choose the country because, for example, here in Spain, Premier League games are broadcasted through Movistar FĂștbol, but I guess that it's not the same channel in England