Iptanus File Upload 5.3.1

This is a corrective release. It repairs a problem that version 5.3.0 introduced, and anyone running 5.3.0 should update.

In 5.3.0, a file uploaded by a logged-in user reached the server correctly and was stored safely. Its record, however, was not written to the plugin’s database. The file therefore did not appear in the Uploaded Files list, or in any file browser on the site. Uploading a file with the same name as an existing one could also remove the existing file’s entry from the list.

The cause was the new per-login key that 5.3.0 introduced to avoid setting a plugin cookie for logged-in users. The key it produced was longer than the column that stores it, so the database rejected the record. Version 5.3.1 shortens the key to the length of a standard session id, which fits. Nothing else about the way sessions work has changed.

Two groups of users were never affected: visitors who were not logged in, and sites running version 5.2.5 or earlier.

One point is worth knowing if you ran 5.3.0. Updating restores correct recording from that moment on, but it does not go back and create the records that were missed. Those files are safe on your server, in the folder they were uploaded to. They will simply not appear in the plugin’s lists until you add them, and you can do that yourself.

First go to General Settings on the plugin’s settings page and switch on Include Other Files in Plugin’s Database. This option is off by default.

The Include Other Files in Plugin's Database checkbox, switched on
The option sits in General Settings and is switched off by default.

Then open the File Browser and find the files. A file the plugin has no record of shows an empty Uploaded By column. Hovering over it offers a single action, Include File, which records it there and then.

File Browser row with an empty Uploaded By column and an Include File link
The file is on the server, but the plugin has no record of it, so Uploaded By is empty.

To do several at once, tick them, pick Include from Bulk Actions and confirm. Either way the files appear in the Uploaded Files list straight away.

Confirmation page listing the files that are about to be included
Including several files at once asks for confirmation first.

An included file is recorded under the administrator who included it, so there is one more step if the file belongs to someone else.

The same file now listed with the administrator as the uploader
After including, the file is recorded — but under the administrator who included it.

Open the file’s Details page and find Upload Details. Use Change User there to set Uploaded By User to the person who really uploaded the file.

The Uploaded By User dropdown with a different user selected, and Ok and Cancel buttons
Change User unlocks the list of site users; pick one and confirm with Ok.

The file then shows up in that person’s own file viewers, just as it would have done.

The file listed under the user who originally uploaded it
The file now belongs to the person who uploaded it.

You can find the complete list of changes in the Release Notes of the plugin’s support page.

Users can update to the latest version using the Update feature of the Plugins section of their Dashboard.

The Iptanus team keeps working to make Iptanus File Upload easier to use and freer of bugs, and will go on issuing new releases.

For more information or technical support, please contact us.

The Iptanus team

Ask a question

Answered by Iptanus, usually within a working day.

Ask a question

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top