admin管理员组文章数量:1393350
I have programmed a php site which loops through posts (600 counting) and creates upon this new custom post entries. This script suddenly stops after 20-30 seconds without error or failure message (every "critical" code is surrounded by try catch error).
At beginning of the script I set these settings:
set_time_limit(0);
ignore_user_abort(true);
ini_set('max_execution_time', 0);'
But it still stops. If I loop through all posts without creating new post entries (just display of metadata), all posts are shown. What could be the problem?
本文标签: phpWordpress Script stops suddenly
版权声明:本文标题:php - Wordpress Script stops suddenly 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744633030a2616654.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论