Opened 10 years ago

Closed 10 years ago

#6798 closed defect (fixed)

httpd error_log repeating entry from mythweb - Undefined offset: 1

Reported by: anonymous Owned by: xris
Priority: minor Milestone: unknown
Component: Plugin - MythWeb Version: unknown
Severity: low Keywords: mythweb
Cc: Ticket locked: no

Description

[Mon Aug 03 23:24:05 2009] [error] [client 10.0.1.100] PHP Notice: Undefined offset: 1 in /var/www/html/mythweb/includes/defines.php on line 90, referer: http://10.0.1.xx/mythweb/tv/recorded

Attachments (1)

6798.diff (681 bytes) - added by Joe Ripley <vitaminjoe@…> 10 years ago.
Fix PHP error message in web server logs

Download all attachments as: .zip

Change History (3)

comment:1 Changed 10 years ago by Joe Ripley <vitaminjoe@…>

This happens when the 'http_host' does not have a ':' in it. i.e. http_host = 'mythtv.com' as opposed to 'mythtv.com:80'.

Attached is an example patch to fix this.

-- Joe Ripley vitaminjoe@…

Changed 10 years ago by Joe Ripley <vitaminjoe@…>

Attachment: 6798.diff added

Fix PHP error message in web server logs

comment:2 Changed 10 years ago by Rob Smith

Resolution: fixed
Status: newclosed

Fixed in [21661]

Note: See TracTickets for help on using tickets.