Opened 14 years ago

Closed 14 years ago

#8578 closed defect (fixed)

MythWeb channel setup warns about missing channel icons

Reported by: sphery Owned by: Rob Smith
Priority: minor Milestone: 0.24
Component: Plugin - MythWeb Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Navigating to MythWeb Settings|TV|Channel Info before ever going to the MythWeb Program Listings page (such that the data/tv_icons directory hasn't been created/populated) results in a warning for each channel, such as:

Warning at /srv/www/htdocs/modules/tv/classes/Channel.php, line 109:
copy(data/tv_icons/nbc4.jpg): failed to open stream: No such file or directory

Simply going to the Program Listings page creates and populates the data/tv_icons directory and prevents the error.

To test, rm -r data/tv_icons , then go directly to the MythWeb Settings|TV|Channel Info page.

Change History (3)

comment:1 Changed 14 years ago by robertm

Status: newassigned

comment:2 Changed 14 years ago by Rob Smith

Milestone: unknown0.24

comment:3 Changed 14 years ago by Rob Smith

Resolution: fixed
Status: assignedclosed

(In [26124]) Fixes #8578, this should shut up invalid warnings when channel icons are not present

Note: See TracTickets for help on using tickets.