Modify

Ticket #6798 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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

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

Change History

comment:1 Changed 3 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 3 years ago by Joe Ripley <vitaminjoe@…>

Fix PHP error message in web server logs

comment:2 Changed 3 years ago by kormoc

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [21661]

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.