Hi Steve,
Unfortunately after several hours not getting anywhere. I have tried it in two separate instances of CMX and just can't get it to produce a snowSumData.txt file. If have tried numerous differences in the snowSumData.php settings lines 31 and 157 to see if I could find the correct one but no luck. MXdiags says it is processing program, and have used php-win.exe and php.exe but the same result. I have checked the CumulusMX\data folder Properties and it has Read only ticked. When I change that and Save the next time looking at it it is again ticked Read only.
I tried to run it from Run as C:\Programs-Added\PHP\php-8.2.1-nts-Win32-vs16-x64\php.exe C:\KomokaWeather\CumulusMX\webMX\snowSumData.php
and it just flashes to a DOS screen without any info.
Also tried it from the DOS cmd (I really don't know how it all works, but just tried to follow similar to the Run for HansR Cumulusutils) and that shows:
Code: Select all
C:\>Programs-Added\PHP\php-8.2.1-nts-Win32-vs16-x64\php.exe C:\KomokaWeather\CumulusMX\webMX\snowSumData.php
Fatal error: Uncaught PDOException: could not find driver in C:\KomokaWeather\CumulusMX\webMX\snowSumData.php:39
Stack trace:
#0 C:\KomokaWeather\CumulusMX\webMX\snowSumData.php(39): PDO->__construct('sqlite:\\KomokaW...')
#1 {main}
thrown in C:\KomokaWeather\CumulusMX\webMX\snowSumData.php on line 39
and
Code: Select all
C:\>Programs-Added\PHP\php-8.2.1-nts-Win32-vs16-x64\php.exe C:\KomokaWeather\CumulusMXwll\webMX\snowSumData.php
Fatal error: Uncaught PDOException: could not find driver in C:\KomokaWeather\CumulusMXwll\webMX\snowSumData.php:39
Stack trace:
#0 C:\KomokaWeather\CumulusMXwll\webMX\snowSumData.php(39): PDO->__construct('sqlite:KomokaWe...')
#1 {main}
thrown in C:\KomokaWeather\CumulusMXwll\webMX\snowSumData.php on line 39
C:\>
Line 39 in snowSumData.php is
So presumably it can't find the \CumulusMX or \CumulusMXwll\data\diary.db but beyond me to fully understand and how to fix it
Any further thoughts, or suggestions to try?
Enjoy,
Paul