Hi Guys
I downloaded Digital Goods plugin Version: 1.2.0
https://market.osclasscommunity.com/plugins/item-post-related/digital-goods-plugin_i44
and it is showing this error message even on the fresh installation of osclass 3.9
can anyone tell me how to rectify this
( ! ) Fatal error: Uncaught Error: Call to undefined function finfo_open() in C:Program FilesVertrigoServwwwoc-contentpluginsdigitalgoodsindex.php on line 108
( ! ) Error: Call to undefined function finfo_open() in C:Program FilesVertrigoServwwwoc-contentpluginsdigitalgoodsindex.php on line 108
Call Stack
# Time Memory Function Location
1 0.0004 424912 {main}( ) ...index.php:0
2 0.1067 10453944 CWebItem->doModel( ) ...index.php:97
3 0.1450 10952808 ItemActions->add( ) ...item.php:151
4 2.4545 11725928 osc_run_hook( ) ...ItemActions.php:313
5 2.4545 11726304 Plugins::runHook( ) ...hPlugins.php:34
6 2.4545 11726704 digitalgoods_upload_files( ) ...Plugins.php:42
What php version do you use ?
If you are on shared hosting, chances are that the fileinfo PHP extension is either not enabled or installed.
In the case where it's not enabled, navigate to the Software section of CPanel (consult documentation of your control panel if you're not using CPanel) and click Select PHP Version (or something related to that) and enable the extension by checking its box and saving your action.
If it's not installed, the extension won't be part of the PHP extensions at cPanel > Software > Select PHP Version > Extensions, edit your php.ini file and uncomment extension=php_fileinfo.dll if you're on Windows. Consult your hosting provider's docs if any of these don't work.