Home Forums WoodMart support forum Unable to import prebuilt website, error at 80%

Unable to import prebuilt website, error at 80%

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #577080

    toantk.89
    Participant

    I have increased server timeout to 500s but still getting error: “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.”

    Attachments:
    You must be logged in to view attached files.
    #577084

    Artem Temos
    Keymaster

    Hello,

    Thank you so much for purchasing our theme and contacting our support center.

    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 -> Dummy content, remove previously imported dummy content, and import it from scratch. Let me know if it helps.

    Kind Regards

    #577180

    toantk.89
    Participant

    Thank you for your reply. It’s still error at 80%.

    • This reply was modified 5 months, 2 weeks ago by toantk.89.
    Attachments:
    You must be logged in to view attached files.
    #577212

    toantk.89
    Participant

    I increased the server timeout to 600s and tried to import many times but no hope. It’s urgent case. Please help!

    • This reply was modified 5 months, 2 weeks ago by toantk.89.
    Attachments:
    You must be logged in to view attached files.
    #577292

    Artem Temos
    Keymaster

    Hello,

    Currently, we don’t see the fix added to your website. Please add the code and disable all plugins that are not related to our theme temporarily.

    Kind Regards

    #577318

    toantk.89
    Participant

    I’ve added the fix again. Please check.
    By the way, I don’t see WoodMart -> Dummy content anywhere in the WP memu.

    • This reply was modified 5 months, 2 weeks ago by toantk.89.
    Attachments:
    You must be logged in to view attached files.
    #577331

    Artem Temos
    Keymaster

    We have imported the dummy content on your website. Please test how it works now.

    #577334

    toantk.89
    Participant

    I would like to import Prebuilt website -> Handmade, not just dummy content.

    #577339

    Artem Temos
    Keymaster

    OK, we imported the Handmade demo. Please check your website now.

    #577347

    toantk.89
    Participant

    It’s ok now. May I know how to import it so that I can import others when needed?

    #577446

    Artem Temos
    Keymaster

    We just removed previously imported dummy content and imported it from scratch. Let me know if you face any problems with that again.

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