Opened 14 years ago

Closed 14 years ago

#732 closed defect (fixed)

Latest mythweb (8081) fails on new_code

Reported by: mythtv@… Owned by: xris
Priority: minor Milestone: unknown
Component: mythweb Version:
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I had to comment out the if line in includes/init.php :

// temporary
//    if (new_code != 'new_code' || !new_code)
        define('new_code', false);

Otherwise, I receive these error messages and I get zero content on any page :

[Tue Nov 29 22:18:41 2005] [error] [client 192.168.1.3] PHP Notice:  Use of undefined constant new_code - assumed 'new_code' in /var/www/html/mythweb/includes/init.php on line 20
[Tue Nov 29 22:18:41 2005] [error] [client 192.168.1.3] PHP Notice:  Use of undefined constant new_code - assumed 'new_code' in /var/www/html/mythweb/includes/init.php on line 20
[Tue Nov 29 22:18:41 2005] [error] [client 192.168.1.3] PHP Notice:  Undefined index:  PATH_INFO in /var/www/html/mythweb/includes/init.php on line 34
[Tue Nov 29 22:18:41 2005] [error] [client 192.168.1.3] PHP Notice:  Undefined index:  PATH_INFO in /var/www/html/mythweb/includes/init.php on line 36
[Tue Nov 29 22:18:41 2005] [error] [client 192.168.1.3] PHP Notice:  Undefined index:  PATH_INFO in /var/www/html/mythweb/includes/init.php on line 38
[Tue Nov 29 22:18:41 2005] [error] [client 192.168.1.3] PHP Fatal error:  Call to undefined function load_all_channels() in /var/www/html/mythweb/program_listing.php on line 44

With it commented out, I see no problems.

Change History (1)

comment:1 Changed 14 years ago by xris

Resolution: fixed
Status: newclosed

(In [8084]) f'd up that this fixes it, but this closes #732

Note: See TracTickets for help on using tickets.