I'm trying to create my first track node and whenever I save, I get a blank "page not found" page. Watchdog reports the following:
Object of class DOMNodeList could not be converted to string in sites/all/modules/trackfield/trackfield_tcx.module on line 37.
I suspect that the module may simply not be compatible with the TCX files that Garmin Training Center generates. Everything I've read so far suggests that each trackfield should contain just one course and GTC seems capable only of exporting the entire history into one file. I've tried cutting and pasting the XML into the data field but it's a lot of code to sort through so I'm not too surprised that so far it has failed.
Comments
Comment #1
smscotten commentedI'm getting this error on single-course files too. I'm starting to suspect that it doesn't have to do with the track data; I pasted the (TCX) track data from an already published node and I still got the error.
When creating a node, this error causes a failure of the node to be created.
If I save the node without any track data, then edit it and enter the track data, I get hundreds of these
recoverable fatal error: Object of class DOMNodeList could not be converted to string in sites/all/modules/trackfield/trackfield_tcx.module on line 37.
recoverable fatal error: Object of class DOMNodeList could not be converted to string in sites/all/modules/trackfield/trackfield_tcx.module on line 37.
recoverable fatal error: Object of class DOMNodeList could not be converted to string in sites/all/modules/trackfield/trackfield_tcx.module on line 37.
on the page, but the track data and map appear. It doesn't come up when viewing the node, only when saving it, and the error prevents new nodes from being saved.
Hope that's helpful.