LinHES Forums
http://forum.linhes.org/

error from programs.php when trying to list programs
http://forum.linhes.org/viewtopic.php?f=6&t=1606
Page 1 of 1

Author:  notivo [ Tue Jun 01, 2004 8:27 pm ]
Post subject:  error from programs.php when trying to list programs

anyone else getting this:

Fatal Error at /usr/share/mythtv/mythweb/includes/programs.php, line 103:
load_all_program_data() attempted with an empty $Channels array

Author:  Sean [ Tue Jun 01, 2004 10:42 pm ]
Post subject: 

Do you have TV listings on your box? I got this before successfully grabbing any tv listings data.

Author:  notivo [ Wed Jun 02, 2004 8:03 am ]
Post subject: 

yes I do, as a matter of fact I re-set all my channels and deleted all my programming and it still says that.

I'm very familiar with PHP, I may try to debug this one myself, I guess, it'll just be a while before I can dig into it.

The "status" page seems to list the next 10 programs to be recorded just fine....

Author:  notivo [ Wed Jun 02, 2004 4:16 pm ]
Post subject: 

ok, I looked at the database, and the code form the channels which is included as channels.php in programs.php

and load_all_channels function seems to be calling this SQL:

SELECT * FROM channel GROUP BY channum,callsign ORDER BY (channum + 0), chanid

which returns my list of channels, how is this not getting to programs.php!?

Author:  notivo [ Wed Jun 02, 2004 4:19 pm ]
Post subject: 

wow I just made an edit to my program schedules and edited one schedule which was recording on an invalid channel and that seemed to have fixed this problem. Strange....

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/