[App_rpt-users] Allmon / astdb.php

Ramesh Dhami (VA3UV) Ramesh at va3uv.com
Sun Dec 30 15:35:08 EST 2012


Hi Guys;

Thanks to Jon, VA3RQ, for pointing out that the astdb on node 2248 is 
not updating.

On investigation, I see the following issue when trying to run the 
astdb.php script:

PHP Warning:  fopen(astdb.txt): failed to open stream: Success in 
/var/www/html/allmon/astdb.php on line 16


astdb.txt does exist; I have tried playing around with the permissions 
but no luck!


Looking at the astdb.php script I see the following:

$db = "astdb.txt";
#$db1 = "/var/www_tnp/html/astdb.txt";
if (! $fh = fopen($db, 'c')) {
     die("Cannot open $db.");


I have tried to set the explicit path for $db as well - but no luck.

Any ideas?

Thx!

Ramesh.




More information about the App_rpt-users mailing list