Hello,
I have just upgraded from 2.1 to 2.5.2. Initially I had many missing images, but synced my file directories as suggested in the docs, which fixed many but not all.
The images that are not working appear to all have [1] at the end of the filename, likely re-uploaded by client with the same name creating a duplicate. In the sync or upgrade, these appear to have been renamed without the “[]” around the 1.
All are using EE field type “file.”
Even if I rename the file, or even if I create and upload a new file completely, I cannot fix the issue. I have tried the following:
1. Selecting the renamed image, as opposed to the [1] version. Result: page does not load (white blank page)
2. Create a new image entirely, upload via FTP, and select as the image: same result
3. Upload via the file field. result: php errors in upload window and “null” in field…
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: libraries/Filemanager.php
Line Number: 2349
(there are many more php errors not listed here)
4. Edit field prefs, which also has php errors on page (appear to be Matrix related, though field type is not Matrix):
A PHP Error was encountered
Severity: Notice
Message: Undefined index: field_content_options_file
Filename: celltypes/file.php
Line Number: 47
A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: helpers/form_helper.php
Line Number: 324
5. As a test, select an image that is already working on other entries. result: this works.
Any help greatly appreciated…
Eric