Cannot upload theme of 19MB size

I'd like to request investigation assistance on why I am attempting to upload the attached zip file to the network but it keeps timing out. It is a .zip file of about 19MB.
I have increased post_max_size and upload_max_size, also increased max_execution_time, but nothing helped. In Firefox, it says Bad Request
Your browser sent a request that this server could not understand. In Safari, it says Secure Connection Failed and in Chrome, it says Connection Reset.
It is exactly a replica of the issue explained here - https://stackoverflow.com/a/43796275/. We tried to apply the proposed solution but it didn't work. Please advice.

  • Dimitris

    Hello there drivencompassion,

    hope you're doing good today! :slight_smile:

    I just tried to remove these lines from wp-config.php and added them .user.ini file instead, also including a memory_limit variable as the default one was being used (64MB).

    memory_limit = 512M
    max_execution_time = 6000
    upload_max_filesize = 80M
    post_max_size = 80M
    max_input_time = 6000

    These changes are shown correctly at https://yourdomain.com/info.php.

    I also enabled WP_DEBUG in wp-config.php file with:

    // Enable WP_DEBUG mode
    define('WP_DEBUG', true);
    // Enable Debug logging to the /wp-content/debug.log file
    define('WP_DEBUG_LOG', true);
    @ini_set( 'log_errors', 1 );
    // Disable display of errors and warnings
    define('WP_DEBUG_DISPLAY', false);
    @ini_set('display_errors', 0);

    and then tried to upload the theme via WP admin but I experienced the same error and no error messages were logged. :confused:

    As this still could have been a matter of server limitation in general, due to the very large size of this theme, it'd be better and faster to upload this directly via File Manager of cPanel:

    I tried to give this a try and while child-theme uploaded correctly, the .zip file of parent theme returned the following error:
    The file you uploaded, arkahost.zip, contains a virus so the upload was canceled: YARA.grscripts_Spam_041.UNOFFICIAL FOUND

    If you got this theme from the official vendor in ThemeForest (https://themeforest.net/item/arka-host-whmcs-hosting-shop-corporate-theme/12774797) then I'd strongly advise contacting theme authors about it. If you got this from a 3rd party vendor for a smaller price, then it seems that it's corrupted so I'd strongly advise not to use it at all.

    Hope that was some help!
    Warm regards,
    Dimitris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.