WordPress Woodstock Theme Import Demo XML file execution Time out

Source: Internet
Author: User

1. PHP.ini Max_execution_time = 240 is set

Import Display Settings 60

2.wp-config.php add Set_time_limit (600); Invalid

3.. htaccess add php_value max_execution_time 300 invalid;

The above two steps are not verified

4. May be the plugin set the time issue, wp-content\themes\woodstock-child add

Add_filter (' http_request_timeout ', ' mytheme_bump_request_timeout ', 100);
function Mytheme_bump_request_timeout () {
return 300; Your desired timeout value in MS
}

Invalid

5. Search for *time_limit, modify at wp-includes\comment.php @ set_time_limit (60); is @ set_time_limit (160); Invalid, restore settings.

Modified at wp-includes\deprecated.php @ set_time_limit (60); is @ set_time_limit (160); Effective.

WordPress Woodstock Theme Import Demo XML file execution Time out

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.