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 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #620915

    nasser_yacout
    Participant

    Hello

    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

    #620927

    nasser_yacout
    Participant

    Edit password

    #620958

    Artem Temos
    Keymaster

    Hello,

    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 Studio

    #620967

    nasser_yacout
    Participant

    I sent the FTP access

    #620974

    Artem Temos
    Keymaster

    Please send also the path to the root directory where we can find your website.

    #620978

    nasser_yacout
    Participant

    Ok

    #621005

    nasser_yacout
    Participant

    Hello,

    I am still waiting for the solution. I can’t continue in my site development.

    thanks

    #621015

    nasser_yacout
    Participant

    Hello,

    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

    #621071

    Artem Temos
    Keymaster

    Hello,

    As we can see, all the pages have already been imported. Could you please let us know how you solved the problem?

    Kind Regards

    #621384

    nasser_yacout
    Participant

    Yes, 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!

    #621385

    nasser_yacout
    Participant

    I think these two lines I put in my website server block solved the problem.

    client_max_body_size 64M;
    fastcgi_read_timeout 300;

    #621454

    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 12 posts - 1 through 12 (of 12 total)

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