What is this and How did it get here?



  • How did this line get added to the top of /usr/local/www/diag_logs_vpn.log and what is it's purpose?  Don't see commit for it in git file history.  It spews out a bunch of warnings.
    #!/usr/local/bin/php

    
    #!/usr/local/bin/php 
    Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/diag_logs_vpn.php:2) in /usr/local/www/guiconfig.inc on line 75 Call Stack: 0.0000 118536 1\. {main}() /usr/local/www/diag_logs_vpn.php:0 0.0006 119668 2\. require('/usr/local/www/guiconfig.inc') /usr/local/www/diag_logs_vpn.php:76 0.0006 138208 3\. header() /usr/local/www/guiconfig.inc:75 
    Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/diag_logs_vpn.php:2) in /usr/local/www/guiconfig.inc on line 76 Call Stack: 0.0000 118536 1\. {main}() /usr/local/www/diag_logs_vpn.php:0 0.0006 119668 2\. require('/usr/local/www/guiconfig.inc') /usr/local/www/diag_logs_vpn.php:76 0.0008 138404 3\. header() /usr/local/www/guiconfig.inc:76 
    Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/diag_logs_vpn.php:2) in /usr/local/www/guiconfig.inc on line 77 Call Stack: 0.0000 118536 1\. {main}() /usr/local/www/diag_logs_vpn.php:0 0.0006 119668 2\. require('/usr/local/www/guiconfig.inc') /usr/local/www/diag_logs_vpn.php:76 0.0010 138348 3\. header() /usr/local/www/guiconfig.inc:77 
    Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/diag_logs_vpn.php:2) in /usr/local/www/guiconfig.inc on line 78 Call Stack: 0.0000 118536 1\. {main}() /usr/local/www/diag_logs_vpn.php:0 0.0006 119668 2\. require('/usr/local/www/guiconfig.inc') /usr/local/www/diag_logs_vpn.php:76 0.0012 138348 3\. header() /usr/local/www/guiconfig.inc:78 
    Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/diag_logs_vpn.php:2) in /usr/local/www/guiconfig.inc on line 81 Call Stack: 0.0000 118536 1\. {main}() /usr/local/www/diag_logs_vpn.php:0 0.0006 119668 2\. require('/usr/local/www/guiconfig.inc') /usr/local/www/diag_logs_vpn.php:76 0.0013 138348 3\. header() /usr/local/www/guiconfig.inc:81 
    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /usr/local/www/diag_logs_vpn.php:2) in /etc/inc/auth.inc on line 1550 Call Stack: 0.0000 118536 1\. {main}() /usr/local/www/diag_logs_vpn.php:0 0.0006 119668 2\. require('/usr/local/www/guiconfig.inc') /usr/local/www/diag_logs_vpn.php:76 0.0014 138572 3\. require_once('/etc/inc/authgui.inc') /usr/local/www/guiconfig.inc:82 0.0107 360256 4\. session_auth() /etc/inc/authgui.inc:65 0.0107 361400 5\. session_start() /etc/inc/auth.inc:1550 
    Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/diag_logs_vpn.php:2) in /usr/local/www/head.inc on line 62 Call Stack: 0.0000 118536 1\. {main}() /usr/local/www/diag_logs_vpn.php:0 0.0115 430916 2\. include('/usr/local/www/head.inc') /usr/local/www/diag_logs_vpn.php:152 0.0119 644724 3\. header() /usr/local/www/head.inc:62 
    
    

Log in to reply