SocialEngine 4.2.6 File & Media Manager Download Error

Marco Enrico
1 min readFeb 7, 2020

If you are running SE 4.2.6 and is encountering an error downloading the files you uploaded via admin’s File & Media Manager you are reading the right post.

Users would rarely need to download the files in the the File & Media Manager but if you need to download the files using this interface there is a show stopping error that will prevent you from doing so.

If you can’t wait SE’s update to fix this (they are busy with SE5) there is a quick fix you can use.

Open the file ‘application/modules/Core/controllers/AdminFiles.php’ with a text editor. Go to line 234 (it should be the last line of a group of lines starting with “header”). Add a line below it: header(“Content-Encoding: utf-8”, true);. Then save the file. With this in place you should now be able to download the files you want.

Originally published in https://social-engine-tutorials.blogsplot.com.

--

--