Home Forums WoodMart support forum I receive a timeout error 300 when I try to import prebuilt websites

I receive a timeout error 300 when I try to import prebuilt websites

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #585243

    advancedas
    Participant

    Hello, I receive a timeout error when I try to import prebuilt websites.

    I have asked my developer to increase timeout limit to 600, but I still receive the error. Could you please check what could be the issue? I want to import “tools” prebuilt website.

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

    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

    #585276

    advancedas
    Participant

    Edited the file, but still does not work.

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

    Artem Temos
    Keymaster

    We checked this file on your website but didn’t see the custom code. Please add it now and test again. Keep the code in the file so we can check it as well.

    #585307

    advancedas
    Participant

    Hmm. Checking the file, the code is in there. Deleted cloudflare cache, anebled development mode but still does not help.

    Please let me know if you have any ideas what could it be?

    #585330

    Artem Temos
    Keymaster

    We checked the website provided but there is no code there https://gyazo.com/bff40e696b69d426a65f78c8dc25f4b7

    #585379

    advancedas
    Participant

    Could you please take a look what could be the issue? I have edited the code and the file has the lines on the server. I’m not sure why it does not show up on the live site, I don’t have any caching plugins and cloudflare is in development mode.

    Please help!

    #585387

    Artem Temos
    Keymaster

    Maybe you are editing the wrong website. We can’t know exactly. You need to consult with your server administrator for help.

    #585388

    advancedas
    Participant

    Could you import the website “tools” manually? My server administrator is on vacation

    #585390

    Artem Temos
    Keymaster

    Unfortunately, there is only one way to import the dummy content, and it is not possible to do this manually.

    #585393

    advancedas
    Participant

    Please check the image, I’m sure editing the correct website.

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

    Artem Temos
    Keymaster

    Check if you see these changes while opening this file via Dashboard -> Plugins -> Plugin file editor.

    #585473

    advancedas
    Participant

    I have edited in the plugin editor the files, but it still does not allow me to import and claims a 300 second limit. Can you see that the code loads on the website now?

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

    Artem Temos
    Keymaster

    When we try to enter your website, we are always redirected to chinaparts.eu. Please check this and let us access your website so we can check the issue.

    #585576

    advancedas
    Participant

    Could you please try to go to the website with Incognito browser mode? I am not being redirected, tried multiple devices. Thanks!

    #585577

    advancedas
    Participant

    For some reason the import started to work, have you done anything?

    #585581

    Artem Temos
    Keymaster

    No, we can’t even open your website at the moment. Let me know if you still have any issues with the import.

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