FM Analysis > FM Scope Script Files

FM Monitoring Script v3 (pira)

(1/3) > >>

Jan:
Main features:

* Automated monitoring of stations from bandscan
* Web publishing of all results
* Supports P275, P275R, P275E and P275E+, fw version 2.2c r2 or later
* Supports up to 4 antennas
Requirements:

* P275 or P275R or P275E or P275E+ FM analyzer/monitor
* Receiving antenna located in appropriate place
* Internet connection
* Web hosting with FTP access and PHP support (no database required)
* Control PC (any Windows PC)
* Control software FM Scope version 1.6.5 or later
Example of application:
https://pira.cz/monitor/

Tip for antenna switch (optional):
https://pira.cz/forum/index.php?topic=957.0

@ https://pira.cz/monitor/monitor_v3.zip (0.7 MB, instructions included)

You may edit all files freely.

Lucas G.:
Hi Jan,

Thank you for sharing this new script with us.
Unfortunately, despite a fresh start on my FTP server and after following of your instructions clearly, I am unable to run the script properly.

Without any modification to the index.php file, I get the following error:
Parse error: syntax error, unexpected T_STRING, expecting ')' in [...] on line 189

which leads to the following code:
function old_json validate (string $string): bool {
json_decode ($string);
return json_last_error() === JSON_ERROR_NONE;

By removing this part of the code, I am able to see the interface on my server page, but the measurements don't appear even after an hour, while they are being sent to the FTP server in the "history" folder.

Do you have an idea on the source of this issue?
I was able to run the previous script version without any problem in the past.

Thanks in advance for your reply,
Lucas

Jan:
Could you determine what version your PHP is?

Lucas G.:
Thanks for your reply, Jan.
The issue has to come from the PHP version, in fact. I use a free hosting service in order to host my measurements (exclusively), and the service still runs the PHP 5.6.34 version. They are planning to upgrade to PHP 8 but it wasn't done yet...

I guess I have no other choice than to keep using the former index.php until a potential upgrade on their side!

Jan:
The PHP version 5.6 is about 10 years old. Especially some JSON parsing functions may not be available in version 5.6. I'm sure the issue can be fixed anyway but I won't be able to do that anytime soon. Lowest PHP version I was able to test was 7.x.

Navigation

[0] Message Index

[#] Next page

Reply

Go to full version