Home Forums WoodMart support forum import could not be completed due to a low timeout limit on the server

import could not be completed due to a low timeout limit on the server

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #588870

    stevewuiyi
    Participant

    The import (Prbuilt websites) could not be completed due to a low timeout limit on the server. You need to contact your hosting provider and ask them to increase it to 300 seconds.

    which timeout limit on php.ini or other config we should to modify

    #588884

    Artem Temos
    Keymaster

    Hello,

    To fix the issue try to edit the file wp-content/plugins/woodmart-core/importer/class-wp-import.php and add the following code after the line $url = str_replace( 'http:', 'https:', $url ); as shown on the screenshot https://gyazo.com/5346a3735046082f80b6651c8452a7a6

    if ( strpos( $url, 'wp-content/uploads/' ) && strpos( $url, '/dummy.xtemos.com/' ) ) {
        $url = str_replace( 'https://dummy.xtemos.com/', 'https://woodmart-dummy.b-cdn.net/', $url );
    }

    After doing this, go to WoodMart -> Prebuilt websites, remove previously imported dummy content, and import it from scratch. Let me know if it helps.

    Kind Regards

    #588906

    stevewuiyi
    Participant

    Thanks for your reply.

    unfortunately after edit file and try again import 15% stop and show out red inform “”The import could not be completed due to a low timeout limit on the server. You need to contact your hosting provider and ask them to increase it to 300 seconds.””” same condiction

    myserver status
    Server
    PHP Version:
    8.3.9
    PHP Post Max Size:
    1000M
    PHP Time Limit:
    2000
    PHP Max Input Vars:
    10000
    PHP Memory Limit:
    1024M
    PHP Upload Max Size:
    300M
    PHP Function “file_get_content”:
    On
    DOMDocument:
    Yes
    Active Plugins:
    13
    Logo

    #588910

    Artem Temos
    Keymaster

    Hello,

    Please disable any plugins not directly related to our theme and provide us with your admin access details. We will log in to your dashboard and investigate the issue. Please ensure that you only keep the following plugins that are necessary for our theme to work correctly:
    – WoodMart core
    – WooCommerce
    – Elementor/WPBakery Page Builder

    Thank you in advance.

    #588912

    stevewuiyi
    Participant

    our website under development and must via VPN access to my client office
    I will disable any plugins and try again

    #588946

    stevewuiyi
    Participant

    Hello after uninstall and reinstall still same condiction

    and I actived Theme license woodmart but my account Subscriptions show out no product actived

    Is this reason ? We can’t import prebuilt websites ??

    #588970

    Artem Temos
    Keymaster

    We need to be able to check your website to understand what is wrong with the import function.

    #589411

    stevewuiyi
    Participant

    Finally we import completed, it may our bandwidth or after change to $url = str_replace( ‘https://dummy.xtemos.com/’, ‘https://woodmart-dummy.b-cdn.net/’, $url ); and new server working good condiction
    Thanks for your support

    #589575

    Artem Temos
    Keymaster

    Great, we are glad that you sorted it out. Feel free to contact us if you have any further questions.

Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘import could not be completed due to a low timeout limit on the server’ is closed to new replies.