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
- This topic has 16 replies, 2 voices, and was last updated 4 months, 2 weeks ago by Artem Temos.
-
AuthorPosts
-
July 24, 2024 at 6:09 am #585243
advancedasParticipantHello, 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.July 24, 2024 at 9:27 am #585256
Artem TemosKeymasterHello,
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/5346a3735046082f80b6651c8452a7a6if ( 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
July 24, 2024 at 10:13 am #585276
advancedasParticipantEdited the file, but still does not work.
Attachments:
You must be logged in to view attached files.July 24, 2024 at 10:19 am #585283
Artem TemosKeymasterWe 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.
July 24, 2024 at 11:07 am #585307
advancedasParticipantHmm. 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?
July 24, 2024 at 12:04 pm #585330
Artem TemosKeymasterWe checked the website provided but there is no code there https://gyazo.com/bff40e696b69d426a65f78c8dc25f4b7
July 24, 2024 at 2:01 pm #585379
advancedasParticipantCould 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!
July 24, 2024 at 2:13 pm #585387
Artem TemosKeymasterMaybe you are editing the wrong website. We can’t know exactly. You need to consult with your server administrator for help.
July 24, 2024 at 2:15 pm #585388
advancedasParticipantCould you import the website “tools” manually? My server administrator is on vacation
July 24, 2024 at 2:17 pm #585390
Artem TemosKeymasterUnfortunately, there is only one way to import the dummy content, and it is not possible to do this manually.
July 24, 2024 at 2:20 pm #585393
advancedasParticipantPlease check the image, I’m sure editing the correct website.
Attachments:
You must be logged in to view attached files.July 24, 2024 at 4:31 pm #585452
Artem TemosKeymasterCheck if you see these changes while opening this file via Dashboard -> Plugins -> Plugin file editor.
July 24, 2024 at 5:36 pm #585473
advancedasParticipantI 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.July 25, 2024 at 9:03 am #585564
Artem TemosKeymasterWhen 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.July 25, 2024 at 9:29 am #585576
advancedasParticipantCould you please try to go to the website with Incognito browser mode? I am not being redirected, tried multiple devices. Thanks!
July 25, 2024 at 9:30 am #585577
advancedasParticipantFor some reason the import started to work, have you done anything?
July 25, 2024 at 9:45 am #585581
Artem TemosKeymasterNo, we can’t even open your website at the moment. Let me know if you still have any issues with the import.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register