Page 1 of 1

datasummary.php prblem

Posted: Mon 18 Jul 2011 11:00 am
by inaciovieira
hi, i have treid every thing anda can't put the anualdata.php ok, i can opne the file but id dosent apear nothing, has you can see.
Can any one help. thanks
http://meteocasas.com/historico/datasummary.php

Re: datasummary.php prblem

Posted: Mon 18 Jul 2011 12:19 pm
by JennyLeez
inaciovieira wrote:hi, i have treid every thing anda can't put the anualdata.php ok, i can opne the file but id dosent apear nothing, has you can see.
Can any one help. thanks
http://meteocasas.com/historico/datasummary.php
Make sure you have set the path correct in readDayfile.php
13 lines down
$dayfile='../cumulus/dayfile.txt';
This should be in the same folder on your server as datasummary.php

Re: datasummary.php prblem

Posted: Mon 18 Jul 2011 3:25 pm
by inaciovieira
as you can see in this picture and readDayfile.php okay, just do not seem to me the data.
I have the folder on the server like
httpdics/historico/datasummary.php like ca see in the picture

Re: datasummary.php prblem

Posted: Mon 18 Jul 2011 4:12 pm
by inaciovieira
I already solved the problem in data summary.php. The problem was in

Code: Select all

$field_delimiter = ',';

$date_delimiter  = '/';
i have to modificate to

Code: Select all

$field_delimiter = ';';

$date_delimiter  = '-';
Thanks.


Ps: If the admin wants can delete the topic.

Re: datasummary.php prblem

Posted: Mon 18 Jul 2011 11:06 pm
by JennyLeez
inaciovieira wrote:I already solved the problem in data summary.php. The problem was in

Code: Select all

$field_delimiter = ',';

$date_delimiter  = '/';
i have to modificate to

Code: Select all

$field_delimiter = ';';

$date_delimiter  = '-';
Thanks.
Well thats strange, mine works fine with
$field_delimiter = ',';
$date_delimiter = '/';

*shrug*
:)

Re: datasummary.php prblem

Posted: Tue 19 Jul 2011 8:02 am
by inaciovieira
on may daifile.txt the
field_delimiter is ; and the date_delimiter is -