After upgrading from 1.6 to 2.9, I’m getting a set of the errors below when displaying a page containing images, one set for each image. I’m running PHP 5.4.x and it says “Fast CGI” after the 5.4.x.
A PHP Error was encountered
Severity: Notice
Message: Undefined index: upload_date
Filename: file/ft.file.php
Line Number: 303
A PHP Error was encountered
Severity: Notice
Message: Undefined index: modified_date
Filename: file/ft.file.php
Line Number: 304I also had Mark Huot’s File extension running in 1.6. I “resubmitted” or updated the field type for one custom field as “File” and I also ran the fix in this thread on this one custom file field, but only the part regarding the line breaks:
https://ellislab.com/forums/viewthread/218268/
and to see those in my template, I have to use the tag pair, or else nothing is output:
{myFileFieldName}{url}{/myFileFieldName}I didn’t run the part about including the file directory, because EE is not parsing my {filedir_x} tag.
In all other cases of file fields, where I didn’t run the fix or update/resubmit the custom field type as File, I can get output by just using the stand-alone tag, but I still get the errors:
{myFileFieldName}