[mythtv-commits] Ticket #732: Latest mythweb (8081) fails on new_code

MythTV mythtv at cvs.mythtv.org
Tue Nov 29 23:29:03 EST 2005


#732: Latest mythweb (8081) fails on new_code
-------------------------------------+--------------------------------------
 Reporter:  mythtv at keithandjill.com  |       Owner:  xris
     Type:  defect                   |      Status:  new 
 Priority:  minor                    |   Milestone:      
Component:  mythweb                  |     Version:      
 Severity:  medium                   |  
-------------------------------------+--------------------------------------
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.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/732>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list