upgrade to 8.0.3 : - error when uploading png image

Permalink
Hi

I Just upgraded to version 8.0.3, now I can not upload new images. I get the following error message trying to upload from My Computer: Tried it in several different browsers.

"error":{"message":"Class 'finfo' not found"},"errors":["Class 'finfo' not found"]}

Somebode has a tip for me

regards
Ashley Pietersen

apietersen
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi apietersen,

What version of PHP are you using on your site?

This can be found here:
Dashboard > System & Settings > Environment > Environment Information > # PHP Version

Is "fileinfo" listed under # PHP Extensions?
Dashboard > System & Settings > Environment > Environment Information > # PHP Extensions
apietersen replied on at Permalink Reply
apietersen
Hi MrKDilkington,

Thanks for the response.

I have already stepped back to 5.7.11. I use the latest Bitnami Concerte5 stack and it runs on a Windows 2008 R2 Ent.

as requested:

# PHP Version
5.6.26

# PHP Extensions
apache2handler, bcmath, calendar, Core, ctype, curl, date, dom, ereg, filter, ftp, gd, hash, iconv, imap, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, odbc, openssl, pcre, PDO, pdo_mysql, Phar, Reflection, session, SimpleXML, SPL, standard, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, Zend OPcache, zip, zlib

regards
Ashley Pietersen
MrKDilkington replied on at Permalink Reply
MrKDilkington
@apietersen

I wonder if the missing fileinfo extension on your server is the issue.
apietersen replied on at Permalink Reply
apietersen
hi MrKDilkington,

Not sure I understand. Do miss something here?

Not sure if this is a Bitnami issue or a Concrete5 issue.

Please note that the information is from my present version: (stepped back)

# concrete5 Version
Core Version - 5.7.5.11
Version Installed - 5.7.5.11
Database Version - 20160615000000

# concrete5 Packages
Cloneamental (0.9.3), Manual Nav (2.1.1), Neat (0.9.2)

regards
Ashley Pietersen
apietersen replied on at Permalink Reply
apietersen
Ok I have upgraded again with the embedded upgrade feature, saying 8.0.0 is ready to install. So now version 8.0.0 is running. Trying to upload new png image, this message is thrown:...

{"error":{"type":"Whoops\\Exception\\ErrorException","message":"Class 'finfo' not found","file":"C:\\Bitnami\\concrete5-5.7.5.9-1\\apps\\concrete5\\htdocs\\updates\\concrete5-8.0.0\\concrete\\vendor\\league\\flysystem\\src\\Adapter\\Local.php","line":307,"trace":[{"file":"C:\\Bitnami\\concrete5-5.7.5.9-1\\apps\\concrete5\\htdocs\\updates\\concrete5-8.0.0\\concrete\\vendor\\league\\flysystem\\src\\Adapter\\Local.php","line":307,"function":null,"class":"Whoops\\Exception\\ErrorException","args":["Class 'finfo' not found"]}]},"errors":["Class 'finfo' not found"]}
apietersen replied on at Permalink Reply 2 Attachments
apietersen
Did an upgrade to 8.0.3 again and have the same errors.


# concrete5 Version
Core Version - 8.0.3
Version Installed - 8.0.3
Database Version - 20161216000000

# concrete5 Packages
Cloneamental (0.9.3), Manual Nav (2.1.1), Neat (0.9.2)

# concrete5 Overrides
languages/cs_CZ/LC_MESSAGES/messages.mo, languages/cs_CZ/LC_MESSAGES, languages/cs_CZ, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/en_GB/LC_MESSAGES/messages.mo, languages/en_GB/LC_MESSAGES, languages/en_GB, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/cs_CZ/LC_MESSAGES/messages.mo, languages/cs_CZ/LC_MESSAGES, languages/cs_CZ, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/en_GB/LC_MESSAGES/messages.mo, languages/en_GB/LC_MESSAGES, languages/en_GB, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR

# 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
apache2handler

# PHP Version
5.6.26

# PHP Extensions
apache2handler, bcmath, calendar, Core, ctype, curl, date, dom, ereg, filter, ftp, gd, hash, iconv, imap, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, odbc, openssl, pcre, PDO, pdo_mysql, Phar, Reflection, session, SimpleXML, SPL, standard, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 120
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 300
max_input_vars - 1000
memory_limit - 128M
post_max_size - 40M
sql.safe_mode - Off
upload_max_filesize - 40M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
opcache.max_accelerated_files - 4000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5
hostco replied on at Permalink Best Answer Reply
hostco
I can reproduce this by disabling "fileinfo".

@apietersen, if you are unable to enable the fileinfo php extension yourself, you should submit a support request to your host and ask that they enable it for you.

This will resolve the error your seeing.
apietersen replied on at Permalink Reply
apietersen
Hi

Yes i found the setting the php.ini file and uncommented it. Now I can upload again..Allthough the thumnails do not show. Any suggestion to correct this too?

regards
Ashley Pietersen
apietersen replied on at Permalink Reply
apietersen
Hi,

The thumnail issue appears to be an one-off incident. it now works correct. Thanks for the responses and support.

regards
Ashley Pietersen