[mythtv-users] Bug: Large listings not displayed in mythweb

Clint Gilders techservices at onlinehobbyist.com
Tue Mar 9 10:04:01 EST 2004

If this is an already known bug I apologize.   I'm new to myth and have 
searched the archives and didn't find mention of it.

I just setup a myth box using Knoppmyth R4V2.  I use the Star Choice 
satellite service up here in Canada and when I went to view the listings 
(about 365 channels) in mythweb all that was displayed was a blank page. 
   Once I trimmed out the channels I don't use (about 150) I was able to 
get the listings to work.

Also, if I click on the "Movies" link I get this error:

Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 
(tried to allocate 35 bytes) in 
/usr/share/mythtv/mythweb/includes/programs.php on line 316

I would imagine this was caused by the huge amounts of data that 
includes/programs.php is dealing with.

It might be wise to add an initial check for the total number of 
channels and if over a certain number to do the database queries in 
several steps (maybe do this in load_all_channels()).   Maybe add paging 
to the listings page?

Clint Gilders <techservices at onlinehobbyist.com>
Director of Technology Services
OnlineHobbyist.com, Inc.

More information about the mythtv-users mailing list