Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

a PHP import script for DayFile and Monthly log files

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
User avatar
nikokara
Posts: 11
Joined: Fri Oct 14, 2011 3:13 pm
Weather Station: OlympData Offset
Operating System: Winxp
Location: Greece

Re: a PHP import script for DayFile and Monthly log files

Postby nikokara » Fri Nov 08, 2013 11:57 pm

mcrossley wrote:Ah, I see the problem. The script is missing a LF after the error message. So it should read...

Error: Failed to open file: ./data/Jan11log.txt
07/11/13 - 18:17:53

It can't find your file.


Thank You for your time

Yes you are right. It can't find my file (the file was here, bud with other localication ( Ιαν11log.txt))

A corection maybe for the next version of the script (v. 2.5)

About line 338 instead of
echo "Error: Failed to open file: $param_file"; This ===> Echo "Error: Failed to open file: $param_file " . $lf;

User avatar
Toxic17
Posts: 542
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: a PHP import script for DayFile and Monthly log files

Postby Toxic17 » Sun Aug 20, 2017 12:56 pm

HI

I found a script here:

http://wiki.sandaysoft.com/files/Import ... e_v3-0.txt

v3.0 but it is not listed or mentioned on the wiki page here: http://wiki.sandaysoft.com/a/ImportCumulusFile

is this a beta version?
Regards Simon

https://www.conligwx.org
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

User avatar
mcrossley
Posts: 4979
Joined: Thu Jan 07, 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Jessie Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: a PHP import script for DayFile and Monthly log files

Postby mcrossley » Mon Aug 21, 2017 5:20 pm

I probably just got distracted and forgot to update the Wiki page!

Let me know if it works - I don't use that script any longer since switching to MX.

User avatar
Toxic17
Posts: 542
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: a PHP import script for DayFile and Monthly log files

Postby Toxic17 » Mon Aug 21, 2017 7:31 pm

mcrossley wrote:I probably just got distracted and forgot to update the Wiki page!

Let me know if it works - I don't use that script any longer since switching to MX.


yep needed it on saturday after a hard disk failure.

my hdd image was about a month old but my mysql dump hadnt been working since around that time! so used the script to import the dayfile/monthly data back into the db.. it worked!

Script I used though was v2.8 and not the 3.0 i had found. was unsure it was official yet.
Regards Simon

https://www.conligwx.org
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image


Return to “3rd Party Tools”

Who is online

Users browsing this forum: No registered users and 5 guests