Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2020-04-02 01:16:20

kmlucy
Member
From: Atlanta, GA
Registered: 2013-01-30
Posts: 123
Website

Unable to download files

Hello,

I have my download source set to 'Use photos rendition'. When I try to download the file, I get the following error:

Something went wrong
Unexpected error: Call to undefined function mime_content_type() in GalleryController.php on line 538

I've tried from multiple browsers (Chrome, Edge), multiple devices (Windows, Android), I've tried reinstalling the 'pangolin-album' module and clearing cache/cookies, but have not been able to get it working.

Any suggestions?

Thanks,
Kyle


Kyle Lucy Photography
kylelucy.com

Offline

#2 2020-04-02 02:35:12

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Unable to download files

did you enable downloads after first publishing the album? If so, try republishing.

Also, can you post a link to a Backlight album that is not working as expected?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2020-04-02 06:36:45

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Unable to download files

Hi Kyle, it looks like your host is missing the 'fileinfo' php module.  This should be standard with an install.  Can you verify this by logging into your Backlight admin, clicking 'View PHP Info' on the main page and looking for a section titled 'fileinfo'?

If it's not there, please contact your host's technical support to add or enable it.

Offline

#4 2020-04-02 20:50:40

kmlucy
Member
From: Atlanta, GA
Registered: 2013-01-30
Posts: 123
Website

Re: Unable to download files

Rod - I republished the images, but get the same result. Here is an example album: https://new.kylelucy.com/galleries/recent/

Ben - fileinfo is listed in the 'View PHP Info' page, but not the 'List PHP modules' page.

Thanks,
Kyle

Last edited by kmlucy (2020-04-02 20:51:03)


Kyle Lucy Photography
kylelucy.com

Offline

#5 2020-04-03 03:34:19

kmlucy
Member
From: Atlanta, GA
Registered: 2013-01-30
Posts: 123
Website

Re: Unable to download files

Ben, you were correct. 'fileinfo' was not enabled. I had my host enable it and downloads are working now. Thanks!

Last edited by kmlucy (2020-04-03 03:34:36)


Kyle Lucy Photography
kylelucy.com

Offline

Board footer

Powered by FluxBB