Cloudlog
Cloudlog copied to clipboard
Message: Undefined array key "qso_date"
Describe the bug When importing my ADIF log file via the web interface I get this error.
A PHP Error was encountered
Severity: Warning
Message: Undefined array key "qso_date"
Filename: models/Logbook_model.php
Line Number: 3192
A PHP Error was encountered
Severity: Warning
Message: Undefined array key "qso_date"
Filename: models/Logbook_model.php
Line Number: 3203
A PHP Error was encountered
Severity: Warning
Message: Undefined array key "qso_date"
Filename: models/Logbook_model.php
Line Number: 3192
A PHP Error was encountered
Severity: Warning
Message: Undefined array key "qso_date"
Filename: models/Logbook_model.php
Line Number: 3203
A PHP Error was encountered
Severity: Warning
Message: Undefined array key "qso_date"
Filename: models/Logbook_model.php
Line Number: 3192
A PHP Error was encountered
Severity: Warning
Message: Undefined array key "qso_date"
Filename: models/Logbook_model.php
Line Number: 3203
To Reproduce Steps to reproduce the behaviour:
- Go to index.php/adif and select to import log file (attached). Don't select any of the checkboxes on the screen.
- Click on Upload.
- Scroll up to the top of the screen where you will see the above errors.
- See error
Expected behaviour Not throw exceptions.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: MacOS 14.4 Sonoma
- Browser: Google Chrome
- Version 123.0.6312.59 (arm64)
Additional context Webserver
- OS: CentOS
- Webserver: Apache
- PHP Version: 8.0
I'm a bit short of time to find the perminant fix as its CQ WPX Contest coming up this weekend but it looks like its todo with the following QSOS
Error QSO: IZ5WSR QSO_Date is Missing?
Error QSO: PD2GCM QSO_Date is Missing?
Error QSO: UX0FY QSO_Date is Missing?
I've had a quick glance and the qso_date is present so will need to dig into this a bit more after the weekend to see what the problem actually is.
I believe the issue for each of these QSOS is the qsl_via field in each record seem to be incorrect but might be wrong
I can confirm the issue is with the qsl_via tags for those 3 QSOs the output from QRZ Logbook is incorrect saying the strings are longer than they are and thus giving malformed ADIF records it looks like QRZ Logbook isn't handling unicode properly.
See below for the ADIF with the offending issues removed.
I'll add some code into Cloudlog to hopefully catch this