Hi raintonr

Finally upgraded my site to Drupal 6.6 and installed Trackfield 6.x-0.5

Trackfield maps and routes display OK but if I open a node in Edit mode and then close it (with or without making any changes to any data fields, not just Trackfield) I get the warning:

'Field Track Data: Data does not contain enough values.'

I am using example.csv files

I have also tried installing the 6.x-1.x-dev version but get the same warning. Have tried changing 'Treat data as:' to other values but still get the same warning.

Meanwhile if I get time I will try inputting data directly in the 'Track data' field to see what happens.

Not sure if this is part of the same issue but my logs are full of:

trackfield_field 11 Nov 2008 - 9:00am op is sanitize Anonymous
trackfield_field 11 Nov 2008 - 9:00am op is sanitize Anonymous
trackfield_field 11 Nov 2008 - 9:00am op is sanitize Anonymous

messages.

CommentFileSizeAuthor
#3 trackfield-01.png61.39 KBjupiterchild

Comments

jupiterchild’s picture

With ref. to above:

I just noticed this message in my logs after I have edited a node:

Location http://example.com/cms/node/6467/edit
Referrer http://example.com/cms/node/6467/edit
Message op is validate
Severity debug

raintonr’s picture

Status: Active » Closed (duplicate)

This is a duplicate of #323686: Any plans for Drupal 6?

See http://drupal.org/node/323686#comment-1100242

As noted, no release of code with file handling is available yet. That said, you could try pulling that module from CVS and see how you go. In fact, for file all that was needed was the updated info so D6 core likes it, this is all you need to try:

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/trackfield/trackfield_file.info?revision=1.2

jupiterchild’s picture

StatusFileSize
new61.39 KB

Ooops, I was a bit quick off the mark!

My apologies, I saw and installed version 6.x-0.5 in 'View other releases' before I checked the issues.

Have installed trackfield_file.info and trackfield_file.module from CVS but now I have specified 'Treat data as file: Lat, Lon, Alt, Usr' and provided an example.csv file the map / route does not display. This worked OK in v5.

Also noticed that every time I open a node in 'Edit mode' another 'Track Stat' item is added. See attachment.

I have struggled a little with the CCK 6.x-2.1 UI changes so these initial problems could be settings I have missed. Will play around and see if I can spot anything obvious.

jupiterchild’s picture

I took a look at the trackfield_file.module and realised it needs the trackfield_queue files. I pulled down the queue files from CVS but I think the trackfield_queue files are version 5.x.

jupiterchild’s picture

raintonr

Mentioned this in my original post:

trackfield_field 11 Nov 2008 - 9:00am op is sanitize Anonymous
trackfield_field 11 Nov 2008 - 9:00am op is sanitize Anonymous
trackfield_field 11 Nov 2008 - 9:00am op is sanitize Anonymous

My logs are still filling with this output but going through the code I noticed this in the trackfield.module :

function trackfield_field($op, &$node, $field, &$items, $teaser, $page) {
watchdog('trackfield_field', "op is $op", array(), WATCHDOG_DEBUG);
  switch ($op) {

Is this just debug output?
If so can it be removed?