Osclass Support Forums
Osclass plugin support => Virtual Products Plugin => Topic started by: NuCode on June 10, 2018, 09:59:29 PM
-
I encounter this rater strange issue as all my settings are above this limit.
The Media Settings from osclass general settings for images is 500mb
The Virtual plugin settings on plugin settings is 500mb
The server side settings upload limit is 20gb
Can you tell me where to look for this adjustment
-
Have you checked this with your hosting provider if it comes from hosting?
-
The hot settings are fine i run on the same hosting user/package a video site that can upload videos up to 20gb so it not the hosting, do you have any idea where should i look in to
-
Check plugin files, there might be hardcoded limit to secure hosting space.
-
So it is hard coded but that is not right, if i set up the size allowed in the plugin settings why is still needed the hardcoded part
in the functions.php ath the line 68
$max_file_size = 20024 * 1000; //(in bytes) ...20MB // vrt_param('max_file_size')*1024*1024
if i change to this will it be 520mb
$max_file_size = 520024 * 1000; //(in bytes) ...520MB // vrt_param('max_file_size')*1024*1024
-
Protect you against yourself... some customers may not be sure what they are doing. We will update it in next update.