I have a link to an uploaded PDF in my template but some of links seem to output a mystery {filedir_3} instead of the path to the upload folder.
So the following template code...
{if download_details}<a href="{download_details}" target="_blank">Download details »</a>{/if}
outputs as...
<a href="{filedir_3}blahblah.pdf" target="_blank">Download details »</a>
This seems to be occurring on new files and older uploaded files don't seem to be effected. I had a look at the database and the exp_files table doesn't show any obvious different between working and broken links. I upgraded to EE 2.4.0 recently, could this be the issue? I'm not using MSM and the files aren't being uploaded through RTE or wygwam, just through a file channel field.
exp_channel_data
table?