The same is displayed using the sample update URL from the developer wiki. Is there a problem with the API or should I be using a newer method to update series data?<?xml version="1.0" encoding="UTF-8" ?>
Logging your IP. Have a nice day!
Updates.php Broken?
Forum rules
This forum is now read-only. Support for TheTVDB.com is now available at https://support.thetvdb.com/
This forum is now read-only. Support for TheTVDB.com is now available at https://support.thetvdb.com/
When attempting to get a list of series/episodes and even the server time (using type=none) I am receiving the following in my browser:
-
- Posts: 1
- Joined: Thu Dec 29, 2011 12:20 pm
This is not a TvDb issue. Most probably you're using a WordPress Multisite and trying to access the file.
No WordPress here I'm afraid. I have a cron job that executes a PHP script every hour. It retrieves a list of series and episodes that have changed in the last hour and updates my database accordingly. Until today I could load http://www.thetvdb.com/api/Updates.php?type=none and get the correct XML response. However, I now see the response that I've included in the original post.
I'm having the same problem. For the past 5 hours http://www.thetvdb.com/api/Updates.php?type=none isn't loading. It keeps returning
I have tried it in other browsers and from different ip-addresses with no success.
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
Logging your IP. Have a nice day!
I've fixed the problem. Unfortunately it means a different way of doing things. Reading through the Developer API Documentation a bit more thoroughly it appears that the Update.php method is now deprecated, which would explain why it has stopped working.b4s5 wrote:I'm having the same problem. For the past 5 hours http://www.thetvdb.com/api/Updates.php?type=none isn't loading.
You now need to use the method outlined at http://thetvdb.com/wiki/index.php/API:Update_Records - which can still return an XML response, but for a minimum of 24 hours worth of updates. Each record in the XML response has a timestamp allocated, so it is possible to filter the results to a timeframe of your own (i.e. in my case only show records that have changed in the last hour).
The new XML file is accessed via http://thetvdb.com/api/[API_KEY]/updates/
Hope this helps. I've spent the last couple of hours updating my code to use this as the new source for updates.
-
- Site Moderator
- Posts: 6007
- Joined: Tue Apr 28, 2009 9:28 am
Just so you know, there was an error on the site causing the "Have a nice day" message which should be resolved now.
I knew that would happen! Ah well, I guess it's better to be using the newer update method if the old one is deprecated?hikaricore wrote:Just so you know, there was an error on the site causing the "Have a nice day" message which should be resolved now.