I have CCK running. When pressing preview on addnode I get quite few errors to logs.
Perhaps the challenge is that how e.g., a computed field should work at preview. It seems that the value of computed field gets defined as the node is submitted and stored to databased not at preview.
My situation:
* CCK field has exercise duration and distance. Speed is calculated based on those two.
* As in preview noting is stored to database speed gives divided by zero.
How to get e.g., computed field value defined at preview?
Any pointers to how preview works (e.g., how nodevariables or CCK fields should be handled) ?
=========== errors =====================
mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/themes/friendselectric/node-content_peruslenkki.tpl.php on line 22.
mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/themes/friendselectric/node-content_peruslenkki.tpl.php on line 30.
mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/themes/friendselectric/node-content_peruslenkki.tpl.php on line 64.
mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/themes/friendselectric/template.php on line 138.
Invalid argument supplied for foreach() in /var/www/modules/node.module on line 374.