jcampbell1 / simple-file-manager

A Simple PHP file manager. The code is a single php file.
MIT License
914 stars 502 forks source link

Download option creates a server 500 error #110

Open MickG72 opened 3 years ago

MickG72 commented 3 years ago

I am running this php page on IIS. When i click on the download option for any file, it leads to a server 500 error If i click on the file itself in the webpage , it downloads fine. Is there an easy fix for this ? link I get for the download button is : https://server..local/Files/index.php?do=download&file=file.exe

flattery103 commented 3 years ago

This is a generic error. You need to look at the web server's error logs for more detail. Share those and we can probably figure out where the problem is.

chiape commented 1 year ago

a bit late for this but you may need to check if you have the file_info (finfo) extension enabled!