*

simon1111

  • *
  • 1 posts
PHP Limit not working
« on: Yesterday at 02:41:08 PM »
Hello I get the following error when I try to change the uploa limit on this page
oc-admin/index.php?page=settings&action=media



MY php limit is set correct on server and occlass even shows it as
Maximum size PHP configuration allows: 208896 KB


But OSClass still will not allow me to increase it 

I get this error
You cannot set a maximum file size higher than the one allowed in the PHP configuration: 2048 KB


Please see screen shots



*

MB Themes

Re: PHP Limit not working
« Reply #1 on: Yesterday at 06:08:29 PM »
https://docs.osclasspoint.com/settings

Code: [Select]
$max_upload = $this->_sizeToKB(ini_get('upload_max_filesize'));
$max_post = $this->_sizeToKB(ini_get('post_max_size'));
$memory_limit = $this->_sizeToKB(ini_get('memory_limit'));

$upload_mb = min($max_upload, $max_post, $memory_limit);
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots