cloudy

Author Topic: Graphic Sun Position  (Read 799 times)

0 Members and 2 Guests are viewing this topic.

Offline tman1991

  • Posts: 524
  • Tucson, AZ (US)
  • OS/Browser:
  • Windows 7/Server 2008 R2
  • Firefox 9.0.1
    • Countryside Manor
Re: Graphic Sun Position
« Reply #15 on: December 29, 2011, 08:08:55 PM »
are those lines unchanged?

$mrise = $clientrawextra[558];
$millum = $clientrawextra[560];

Is something corrupt in your clientrawextra.txt? 

hmm looking at your clientrawextra.txt file

10:25AM thats mrise

28 thats milum

not sure why its not reading it
« Last Edit: December 29, 2011, 08:12:06 PM by tman1991 »

Offline RonParWX

  • Posts: 12
  • Paradise, CA
    • none
  • OS/Browser:
  • Windows 7/Server 2008 R2
  • Firefox 8.0.1
    • Paradise Weather Station
Re: Graphic Sun Position
« Reply #16 on: December 29, 2011, 08:21:33 PM »
are those lines unchanged?

$mrise = $clientrawextra[558];
$millum = $clientrawextra[560];

Is something corrupt in your clientrawextra.txt? 

hmm looking at your clientrawextra.txt file

10:25AM thats mrise

28 thats milum

not sure why its not reading it

$mrise = $clientrawextra[558];
$millum = $clientrawextra[560];

Those lines are unchanged. I also ran my clientrawextra.txt in a parser and it shows those two lines are working.

Offline tman1991

  • Posts: 524
  • Tucson, AZ (US)
  • OS/Browser:
  • Windows 7/Server 2008 R2
  • Firefox 9.0.1
    • Countryside Manor
Re: Graphic Sun Position
« Reply #17 on: December 29, 2011, 08:39:06 PM »
i noticed on your initial posting u commented out

include ("graphsconf.php");

$clientrawextra = get_raw("${hostloc}clientrawextra.txt");

in this block of code..

include ("graphsconf.php");
include ($jploc."jpgraph.php");
include ($jploc."jpgraph_scatter.php");
include ($jploc."jpgraph_line.php");
include ($jploc."jpgraph_date.php");
$clientrawextra = get_raw("${hostloc}clientrawextra.txt");

(i changed the includes to be more friendly for me)..

Did you move the $clientrawextra call out in a location where its not being read correctly?