Site
Home / Forum / General Discussion / Re: New site todo

Re: New site todo


Posted: 28 Jan 2017 12:43

zag
Posts: 1,558
Joined: Oct 2016

Should be fixed, you can also add multiple channels so I don't think the country is needed. I will store it just in case

Posted: 28 Jan 2017 14:30

ovokx
Posts: 830
Joined: Jan 2017

Great! Added all the events of this weekend to those channels

Some others spanish channels missing for other sports are:

Movistar Deportes 1
Movistar Deportes 2
BeIn Sports

Posted: 28 Jan 2017 18:20

robsteeleavfc
Posts: 5
Joined: Jan 2017



Any idea what API method that is using?

I can't see any errors in the log yet.


I am just using the standard python module that is available from GitHub.
I am setting API to the key you provided me with and when I try and execute that line it throws the error.

Sorry if what I have just explained isn't relevant, I am new to this

Thanks,
Rob

Posted: 28 Jan 2017 20:17

zag
Posts: 1,558
Joined: Oct 2016


I am just using the standard python module that is available from GitHub.
I am setting API to the key you provided me with and when I try and execute that line it throws the error.

Sorry if what I have just explained isn't relevant, I am new to this

Thanks,
Rob


Ahh I think the Python module you are calling this method?

https://www.thesportsdb.com/api/v1/json/ ... php?l=4328

I've fixed it up now, can you confirm its now working?

Posted: 28 Jan 2017 21:00

zag
Posts: 1,558
Joined: Oct 2016

Also you can now click the TV channel logo on the events page and see a complete listing of all the Live Matches

Example

https://www.thesportsdb.com/tv.php?c=8631

Posted: 29 Jan 2017 10:30

ovokx
Posts: 830
Joined: Jan 2017

Nice one Zag! What about adding on this page the current/next game on this channel? Something like this:





Posted: 29 Jan 2017 14:57

zag
Posts: 1,558
Joined: Oct 2016

Excellent idea!

done

https://www.thesportsdb.com/tv.php?c=8466

Posted: 29 Jan 2017 15:14

ovokx
Posts: 830
Joined: Jan 2017



Posted: 29 Jan 2017 15:31

robsteeleavfc
Posts: 5
Joined: Jan 2017



Ahh I think the Python module you are calling this method?

https://www.thesportsdb.com/api/v1/json/ ... php?l=4328

I've fixed it up now, can you confirm its now working?


Hi Zag,

Sorry for the delay, I can confirm that this is now working correctly.

Thank you!

Posted: 30 Jan 2017 16:04

zag
Posts: 1,558
Joined: Oct 2016

Excellent, thanks for the update.

NHL past matches sync is now [color=#008000:1p5rif90]online

Posted: 30 Jan 2017 18:15

ovokx
Posts: 830
Joined: Jan 2017

Great! Added all the events of this weekend to those channels

Some others spanish channels missing for other sports are:

Movistar Deportes 1
Movistar Deportes 2
BeIn Sports


Together with the quoted ones, these ones are also missing:

Movistar Golf
Esport 3

Thank you!

Posted: 31 Jan 2017 01:28

starburst007
Posts: 9
Joined: Jan 2017

I noticed that renaming an event is sending me to a 404 error page. Is this common or is there something i'm doing incorrect?

Posted: 31 Jan 2017 08:33

zag
Posts: 1,558
Joined: Oct 2016

I noticed that renaming an event is sending me to a 404 error page. Is this common or is there something i'm doing incorrect?

I can't even remember if I wrote that feature yet , any idea what url its trying to access?

Posted: 31 Jan 2017 11:11

zag
Posts: 1,558
Joined: Oct 2016

New TV channels and logos added as requested

Also see new TV Landing page from the top menu bar

https://www.thesportsdb.com/tv_main.php

Posted: 31 Jan 2017 11:28

robsteeleavfc
Posts: 5
Joined: Jan 2017

Hi Zag,

I have noticed a small error in the search for players at a team. For example I have added Rushian Hepburn-Murphy at Villa and Ademola Lookman at Everton as they did not exist on the database.

However when I use the search

players = api.Search().Players(team="Everton"
for player in players:
print(player.strPlayer)

Lookman does not get printed out. Transferring players from one side to another is working correctly as I have tested this.

Thanks,
Rob

Posted: 31 Jan 2017 12:02

zag
Posts: 1,558
Joined: Oct 2016

Hi Zag,

Lookman does not get printed out. Transferring players from one side to another is working correctly as I have tested this.


I can't help too much with the Python module as not an expert in that launguage, but I can conform our API is working as it should for those players

You can test any player search with this URL, to check the backend data

https://www.thesportsdb.com/api/v1/json/ ... %20Lookman

Posted: 31 Jan 2017 20:34

zag
Posts: 1,558
Joined: Oct 2016

New team landing page

https://www.thesportsdb.com/teams_main.php
https://www.thesportsdb.com/players_main.php
https://www.thesportsdb.com/events_main.php

Shows a few random and popular teams/players to get people browsing.

Posted: 31 Jan 2017 21:44

ovokx
Posts: 830
Joined: Jan 2017

Great idea!

Posted: 09 Feb 2017 14:07

zag
Posts: 1,558
Joined: Oct 2016

English Premiership rugby is now automated

I might be able to do "rugby pro 12" as well if there is demand for that.

EDIT: Did both as the API was nice and easy to use

https://www.thesportsdb.com/league/4414
https://www.thesportsdb.com/league/4446

Posted: 17 Feb 2017 11:41

zag
Posts: 1,558
Joined: Oct 2016

Big update today, I've added Cycling, Tennis and Cricket to the sports lineup.

https://www.thesportsdb.com/sport/tennis
https://www.thesportsdb.com/sport/cricket
https://www.thesportsdb.com/sport/cycling

Posted: 18 Feb 2017 10:41

ovokx
Posts: 830
Joined: Jan 2017

In order to be able to add players to these new sports, playing positions are missing which are mandatory to add new players to the db

Posted: 18 Feb 2017 10:59

ovokx
Posts: 830
Joined: Jan 2017

Also I have added the first Tennis event (ABN AMRO World Tennis Tournament - Final) and it can't be editable. If you try to enter on it to add details, it returns the next error:

Fatal error: Uncaught Error: Call to undefined method ezSQL_mysqli::sql_return_on_error() in C:\inetpub\thesportsdb\forum\phpbb\session.php:1580 Stack trace: #0 C:\inetpub\thesportsdb\forum\includes\functions.php(4995): phpbb\session->update_session_infos() #1 C:\inetpub\thesportsdb\forum\includes\functions.php(4083): page_header('Information') #2 [internal function]: msg_handler(512, 'You have an err...', 'C:\\inetpub\\thes...', 272, Array) #3 C:\inetpub\thesportsdb\includes\ez_sql_mysqli.php(272): trigger_error('You have an err...', 512) #4 C:\inetpub\thesportsdb\includes\ez_sql_core.php(164): ezSQL_mysqli->query('SELECT * FROM t...') #5 C:\inetpub\thesportsdb\event.php(137): ezSQLcore->get_row('SELECT * FROM t...') #6 {main} thrown in C:\inetpub\thesportsdb\forum\phpbb\session.php on line 1580


Posted: 18 Feb 2017 11:07

ovokx
Posts: 830
Joined: Jan 2017

Similar issue on cycling, but the event is not created

Fatal error: Uncaught Error: Call to undefined method ezSQL_mysqli::sql_return_on_error() in C:\inetpub\thesportsdb\forum\phpbb\session.php:1580 Stack trace: #0 C:\inetpub\thesportsdb\forum\includes\functions.php(4995): phpbb\session->update_session_infos() #1 C:\inetpub\thesportsdb\forum\includes\functions.php(4083): page_header('Information') #2 [internal function]: msg_handler(512, 'Incorrect integ...', 'C:\\inetpub\\thes...', 272, Array) #3 C:\inetpub\thesportsdb\includes\ez_sql_mysqli.php(272): trigger_error('Incorrect integ...', 512) #4 C:\inetpub\thesportsdb\edit_event_add_process.php(211): ezSQL_mysqli->query('INSERT INTO edi...') #5 {main} thrown in C:\inetpub\thesportsdb\forum\phpbb\session.php on line 1580


Posted: 18 Feb 2017 11:20

ovokx
Posts: 830
Joined: Jan 2017

Also I have found another error adding fanart to Tennis league:

Fatal error: Uncaught Error: Call to undefined method ezSQL_mysqli::sql_return_on_error() in C:\inetpub\thesportsdb\forum\phpbb\session.php:1580 Stack trace: #0 C:\inetpub\thesportsdb\forum\includes\functions.php(4995): phpbb\session->update_session_infos() #1 C:\inetpub\thesportsdb\forum\includes\functions.php(4083): page_header('Information') #2 [internal function]: msg_handler(512, 'Incorrect integ...', 'C:\\inetpub\\thes...', 272, Array) #3 C:\inetpub\thesportsdb\includes\ez_sql_mysqli.php(272): trigger_error('Incorrect integ...', 512) #4 C:\inetpub\thesportsdb\uploadleaguefanart1.php(63): ezSQL_mysqli->query('INSERT INTO edi...') #5 {main} thrown in C:\inetpub\thesportsdb\forum\phpbb\session.php on line 1580




Posted: 18 Feb 2017 13:00

zag
Posts: 1,558
Joined: Oct 2016

OK, I should have tested first! Should all be fixed

The league fanart error has apparently been around for a while, its working now though.

EDIT: Also added a few playing positions for the new sports. Let me know if there are any more, or we want some honours added


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 25 to 50 (Total: 452)