-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xmlrpc新建分类报500 #1440
Comments
when i use python3 xmlrpc api to create a new category, i found a error.finally i get a 500 Internal Server Error. # !/usr/bin/python3
from xmlrpc.client import ServerProxy
url = 'http://192.168.0.125:7778/typecho/action/xmlrpc'
s = ServerProxy(url)
category = {
'name': 'test',
'slug':'test',
'description':'description',
}
ret = s.wp.newCategory(1, userName, password,category)
print(ret) the result is "xmlrpc.client.ProtocolError: <ProtocolError for 192.168.0.125:7778/typecho/action/xmlrpc: 500 Internal Server Error>" i do not know how to do |
能否找到服务端的PHP错误日志 |
PHP 7.2.10 (cli) (built: Sep 17 2018 09:40:17) ( NTS ) |
#1340 这个issue也是同样的问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用xmlrpc调用新建category方法时返回500
The text was updated successfully, but these errors were encountered: