We are using File fieldtype and we are using it in channels to save files (including images) with associated descriptions.
Since few days ago the links to these files (displayed on our web page) stopped working and we saw that the URL are not out-putted.
If we check the channels we see the file exist, if we check the “File manager” we see the file exists. If we FTP and check the physical folder we see the files do exist.
Now we did have some issue with Server Path setting in the File Upload preferences where the setting was chnaged to something else. So we have corrected these settings for all our File Upload preferences (we have few folders) but we are not getting the channel File field to render the file url in the template.The URL is rendered as empty string.
Out of curiosity I looked in the EE database in the exp_files table and found all those files do exist in there but in the rel_path field, the server path for all files is incorrect! Is that the problem? How do we fix it? I tried to synchronize the File Upload preferences but that didn’t help. I didn’t get any errors but the rel_path was not corrected. Do I need to upload all files? The folders have been set to 777 permissions
Please help, we are going live in a week and this is big issue for us.
We are using EE 2.5.2 build date 20120606