Forum Discussion

newchannel's avatar
newchannel
Roku Guru
14 years ago

Have you had this problem categories won't open?

Channel has been side loaded and working while building. Files stored on a temp server during the build. I can get into the categories but for last few days I can't get it to work when I click a category. I have checked the temp server and files still there and I can access them both through a browser and ftp. I have unplugged device and also changed the package to the last one that I was using and it did the same. Other channels still work but my side loaded one is the only one with this trouble.

What else should I check?

4 Replies

  • destruk's avatar
    destruk
    Streaming Star
    When you are connected to the brightscript debugger, what does it say when you try to open a category?
    Did you validate the category xml files or check them for proper xml structure? What happens when you replace the xml files with the 'last known working' backup - does the channel still fail with the same problem?
    Are you double-encoding spaces to be %2520 when loading subcategories or feeds or are they single encoded as %20?
  • Thanks for the reply.

    I got it fixed. The server with the php code that runs my ad rotation was down. When I took the code out of the posterscreen.brs and then side loaded again the channel was working. So I guess if my other server is down it stops my whole channel working.

    Thanks again,
  • destruk's avatar
    destruk
    Streaming Star
    When trying to parse or receive a response from a request, you can change the "return invalid" to something else, or check if it truly was invalid or a timeout and branch your code to handle those issues - like, display an "unable to contact server dialog box".