File manager not working and I'm stumped.

Permalink
Hi all,
I've hit a wall on trying to figure this out. Since upgrading to 5.8.2.1 I've had nothing but problems with the file manager.

I can't get files to rescan and only get this error:
"An error occurred while processing this request."

Regarding thumbnails I see the following message:
"Invalid file dimensions, please rescan this file."

I also can't rescan them nor are they generated (see the attached screenshot.)
You only see file icons in the file manager but no thumbnails.

I have ImageMagick installed on apache and active. But the only thing I can think of is either that certain scripts are missing or some PHP is being blocked.

Anyone have any ideas what's going on here?


Here's the environment I'm working with:

# concrete5 Version
Core Version - 8.5.2
Version Installed - 8.5.2
Database Version - 20190925072210

# Database Information
Version: 5.7.29
SQL Mode: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

# concrete5 Packages
Block Designer (3.3.0), Breadcrumb Trail Page Links (1.1), Manual Nav (2.2.0), Open Graph Tags Lite (2.1.3), Page List+ (2.0.1.3), Responsive Embed (1.0.1), Social Share Lite (2.1.2), Spacer (0.9.4), SVG Social Media Icons (0.9.9), Whale Bootstrap Carousel (1.1.4)

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
7.2.29

# PHP Extensions
cgi-fcgi, Core, ctype, date, dom, filter, ftp, hash, iconv, imagick, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, SPL, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zlib

# PHP Settings
max_execution_time - 300
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 100
max_input_vars - 1000
memory_limit - 64M
post_max_size - 8M
upload_max_filesize - 10M
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200

1 Attachment

growlrooed
 
hutman replied on at Permalink Reply
hutman
After you get "An error occurred while processing this request." can you go into Dashboard -> Reports -> Logs and see what the actual error is?
growlrooed replied on at Permalink Reply
growlrooed
I looked at logs at saw this pop up after trying to rescan a file:

Exception Occurred: /public_html/updates/concrete5-8.5.2/concrete/vendor/league/flysystem/src/Adapter/Local.php:318 Class 'finfo' not found (0)

Any idea what that pertains to?
hutman replied on at Permalink Best Answer Reply
hutman
Another thing I notice is that you are missing several of the required PHP Extensions laid out in the System Requirements page -https://documentation.concrete5.org/developers/introduction/system-r...

GD Library with Freetype
Fileinfo
CURL
Mcrypt
ZipArchive
growlrooed replied on at Permalink Reply
growlrooed
Thanks for the info!

I am using a server which has to meet a certain security protocol and I wonder if those extensions were disabled to meet that protocol?

I'll check with the hosting company.
hutman replied on at Permalink Reply
hutman
Yes, you are missing this required PHP Extension: Fileinfo
growlrooed replied on at Permalink Reply
growlrooed
Thanks again for the info. I chatted with the Hosting company. What happened was that we had the server set up for PCI compliance so many extension were turned off. Then when I upgraded CC5 and upgraded the PHP version, the extensions weren't enabled.
Now that they are everything works perfectly.

Hoorah!

This is why I love CC5 over other CMS software: The community!