php-fit-file-analysis
php-fit-file-analysis copied to clipboard
Calls to unpack fail with file from Coros device
trafficstars
I see the following when attempting to analyse a file from a Coros Vertix device:
PHP Warning: unpack(): Type V: not enough input, need 4, have 1 in phpFITFileAnalysis.php on line 1461 PHP Warning: unpack(): Type V: not enough input, need 4, have 1 in phpFITFileAnalysis.php on line 1483
Which leads to:
PHP Fatal error: Maximum execution time of 30 seconds exceeded in phpFITFileAnalysis.php on line 1523
Fitfileviewer reports no issues with the file