Opened 17 years ago
Closed 17 years ago
#3430 closed defect (wontfix)
myth_trunk/mythplugins/mythweb/modules/tv/includes/objects/Program.php buffer too small.
Reported by: | anonymous | Owned by: | xris |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythweb | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
When using mythweb and having a large number of video sources (5 different satellites (82W, 91W, 61.5W, 110W, 119W) and OTA antenna) the guide will not load when you click "Listings". The buffer is too small to load all the data and therefore depanding on the version you will either get an error or just a white empty page. Older version produced some standard error regarding buffer size, latest head does not.
If the following line is added to Program.php which is located at myth_trunk/mythplugins/mythweb/modules/tv/includes/objects/
ini_set("memory_limit","85M"); everything will load! 85M seems like an ultimate number for this setup as it is the smallest value when it will load.
I don't know if making the buffer static is a good idea but it solves this problem.
Or you could set this in your own php.ini file, which is where settings like this should go, not in mythweb.