PHP code dissapeared / No output?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

I even asked A.I. about this issues and cannot resolve this problem
ive had since yesterday...

ive been working on a script for a week or so..    - Scheduled task /
cron job. But if i activate manually, i see output to screen.

At the end of one script, I include a new php file and activate a function..

 include_once ("INS_NwSQL.php");
echo "GO TO do_new_scan()<br />\n";
flush();
    do_new_scan();
    sleep(2); // optional short delay between rounds

Everthings working fine, but the all of a sudden - my new function
will not work (no output to screen, No log files saved - just blnk -
NO HTML output at all..

On my screen, i do see the output of:- echo "GO TO do_new_scan()<br />\n";

However NOTHING after then..

Ive gone through php code validators - no errors,
ive got this in my new / second file (just immediately after the
function activates)

error_reporting(E_ALL);

$t=date("Ymd");
$path =$GLOBALS["BASEPATH"]."/logs/GB_ERROR-$t.txt";
ini_set('display_errors', 1); ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
ini_set('error_log',$path); //override php's default error log directory


has anyone got ideas as to force some output (or errors) to the screen
/ log file ?
















-- 

Gordon.



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux