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
- This topic has 11 replies, 2 voices, and was last updated 1 month ago by Artem Temos.
-
AuthorPosts
-
December 9, 2024 at 5:34 pm #620915
nasser_yacoutParticipantHello
I have a fresh wordpress copy. I installed woodmart and choose Gutenburg as the default page builder. I installed woodmart. when I try to imort content of Food theme the impoert stop at %15. I try several times but every time fail with the message: “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.”
I increased the time out to 1200 in php.ini but the import fail also at 15%. I have no plugin installed except woodmart plugins.
Thanks
December 9, 2024 at 5:46 pm #620927
nasser_yacoutParticipantEdit password
December 9, 2024 at 6:41 pm #620958
Artem TemosKeymasterHello,
Thank you so much for purchasing our theme and contacting our support center.
Please send us your FTP access so we can debug this issue.
Kind Regards
XTemos StudioDecember 9, 2024 at 6:50 pm #620967
nasser_yacoutParticipantI sent the FTP access
December 9, 2024 at 6:57 pm #620974
Artem TemosKeymasterPlease send also the path to the root directory where we can find your website.
December 9, 2024 at 7:00 pm #620978
nasser_yacoutParticipantOk
December 9, 2024 at 9:30 pm #621005
nasser_yacoutParticipantHello,
I am still waiting for the solution. I can’t continue in my site development.
thanks
December 10, 2024 at 12:02 am #621015
nasser_yacoutParticipantHello,
the problem solved and the import was 100%.
but some pages are missed like home page, cart and checkout pages.
How I can restore or create them.
thanks
December 10, 2024 at 10:39 am #621071
Artem TemosKeymasterHello,
As we can see, all the pages have already been imported. Could you please let us know how you solved the problem?
Kind Regards
December 10, 2024 at 10:49 pm #621384
nasser_yacoutParticipantYes, I will be happy to tell what I did.
I asked ChatGPT with this prompet: “I use woodmart theme and I try to import woodmart dumy content in and every time I get this error: “import could not be completed due to a low timeout limit on the server” how to solve? I use Ubuntu 20.04 and php 8.2 and nginx webserver.”
this was the reply:
To resolve the error “import could not be completed due to a low timeout limit on the server” while importing WoodMart dummy content, you need to increase the PHP timeout and memory limits in your server configuration. Follow these steps:Step 1: Edit PHP Configuration
Open the PHP configuration file for editing. The file path depends on your PHP version. For PHP 8.2:bash
Copy code
sudo nano /etc/php/8.2/fpm/php.ini
Locate and increase the following values:ini
Copy code
max_execution_time = 300
max_input_time = 300
memory_limit = 512M
upload_max_filesize = 64M
post_max_size = 64M
Save and exit the file by pressing CTRL+O, Enter, and CTRL+X.Step 2: Increase Timeout in Nginx
Edit the Nginx configuration file for your site:bash
Copy code
sudo nano /etc/nginx/sites-available/deekromi.com
Add or update the following settings inside the server block:nginx
Copy code
client_max_body_size 64M;
fastcgi_read_timeout 300;
Save and exit the file.Test the Nginx configuration to ensure there are no syntax errors:
bash
Copy code
sudo nginx -t
Reload Nginx to apply the changes:bash
Copy code
sudo systemctl reload nginx
Step 3: Restart PHP-FPM
Restart the PHP-FPM service to apply the new PHP configuration:bash
Copy code
sudo systemctl restart php8.2-fpm
Step 4: Import Dummy Content Again
Try importing the WoodMart dummy content again from your WordPress admin panel.Step 5: Verify Logs (If Necessary)
If the issue persists, check the logs for more details:PHP error log:
bash
Copy code
sudo tail -f /var/log/php8.2-fpm.log
Nginx error log:
bash
Copy code
sudo tail -f /var/log/nginx/error.log
Let me know if you need further assistance!December 10, 2024 at 10:50 pm #621385
nasser_yacoutParticipantI think these two lines I put in my website server block solved the problem.
client_max_body_size 64M;
fastcgi_read_timeout 300;December 11, 2024 at 10:21 am #621454
Artem TemosKeymasterGreat, we are glad that you sorted it out. Feel free to contact us if you have any further questions.
-
AuthorPosts
Tagged: import fail
The topic ‘import could not be completed due to a low timeout limit on the server’ is closed to new replies.
- You must be logged in to create new topics. Login / Register