Quote Originally Posted by DrByte View Post
Those two errors are because the filename is null/blank, which is correct because no filename was stored on the order, because it wasn't a File attribute when the order was placed.

I suppose if you're going to be in the habit of changing TEXT attributes to FILE attributes after-the-fact, then you could patch the lookup by changing line 884 of orders.php:

PHP Code:
if (zen_is_option_file($order->products[$i]['attributes'][$j]['option_id'])) { 
to
PHP Code:
if (zen_is_option_file($order->products[$i]['attributes'][$j]['option_id']) && !empty($order->products[$i]['attributes'][$j]['value'])) { 
I'm not sure which "filename you are referring" to.
Some of the details in the debug file I deleted to keep my site secure.
Since I did a standard order I don't know why ZC would leave a filename blank.

I don't think it is a matter of what I would be apt to do or not do so much as it being an issue with securing the invoice to a fully committed state once saved. I would find it concerning that anyone would argue with that statement when it comes to security and consistency of one's data.