[英]How to resolve Error: Internal server error (500), while importing data using One click demo import WordPress?
I am working on WordPress theme development and getting an error on one click demo import. 我正在进行WordPress主题开发,一键演示导入时出现错误。 I have increased max execution time, but still getting this error.
我增加了最大执行时间,但仍然收到此错误。 It creates a log file in media but there is no error.
它在介质中创建日志文件,但没有错误。 My log file has the following content::
我的日志文件包含以下内容:
---Downloaded files---
The import files for: demotheme were successfully downloaded!
Initial max execution time = 300
Files info:
Site URL = http://demourl.com/live/demotheme
Data file = /opt/lampp/htdocs/live/demotheme/wp-content/plugins/demo_plugin/inc/importer/demo-files/content.xml
Widget file = /opt/lampp/htdocs/live/demotheme/wp-content/plugins/demo_plugin/inc/importer/demo-files/widgets.wie
Customizer file = not defined!
Redux files:
options -> /opt/lampp/htdocs/live/demotheme/wp-content/plugins/demo_plugin/inc/importer/demo-files/options.json
------
New AJAX call!
------
New AJAX call!
------
New AJAX call!
------
New AJAX call!
------
New AJAX call!
------
New AJAX call!
------
New AJAX call!
------
New AJAX call!
------
New AJAX call!
------
New AJAX call!
------
New AJAX call!
------
New AJAX call!
------
New AJAX call!
------
New AJAX call!
------
New AJAX call!
------
New AJAX call!
---Importing widgets---
Primary :
Search - No Title - Widget already exists
Post List - No Title - Imported
Recent Posts - No Title - Widget already exists
Recent Comments - No Title - Widget already exists
Archives - No Title - Widget already exists
Categories - No Title - Widget already exists
Meta - No Title - Widget already exists
Secondary :
Tag Cloud - No Title - Imported
Footer 1 :
Text - About Us - Imported
Footer 2 :
Navigation Menu - Useful Links - Imported
Footer 3 :
Custom HTML - Working Hours - Imported
Footer 4 :
Custom HTML - Newsletter - Imported
---Importing Redux settings---
Redux settings import for: options finished successfully!
Below is my environment details:: 以下是我的环境详细信息:
Please suggest why this problem occurs? 请说明为什么会出现此问题?
500错误表示PHP语法错误如果使用ubuntu服务器,请使用此命令检查语法错误。
tail -f /var/log/apache2/error.log
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.