Photo being uploaded to incorrect path
-
We have used Participants Database for a school website for 6 school years. This is the beginning of the 7th year. When adding new teachers, the photos are being uploaded to an incorrect path.
This is a WordPress multisite with multiple schools; we’re noticing this problem with the first school we’ve added new teachers to.
In the plugin settings we have defined the File Upload Location:
/wp-content/blogs.dir/5/files/participants-database/ (where 5 is the site ID in the multisite.)
On the front end all of our teachers uploaded in previous years are showing up properly:
https://schoolname.com/wp-content/blogs.dir/5/files/participants-database/firstname_lastname.jpgHowever, when I go to “Edit Existing Participant Record” in WordPress for one of those existing teachers, it shows “No File Chosen”.
Conversely, the new teachers that are being added now, the images are not showing up in the front end. But on the “Edit Existing Participant Record” page, the photos are showing upon being uploaded, with this path:
https://schoolname.com/bps/wp-content/blogs.dir/5/files/sites/5/participants-database/firstname_lastname.jpgTo summarize, all the existing records are still good in the front end, even though they say “No File Chosen” in the back end. And all the new records return a broken image in the front end, but are visible in the back end.
Other than the “File Upload” location as defined in the plugin settings, where is the actual location actively being used by the plugin defined? Somehow the plugin itself wants to place an additional “/sites/5/” into the path.
I will be happy to provide further information to aid in troubleshooting. Thank you for your time.
- The topic ‘Photo being uploaded to incorrect path’ is closed to new replies.