上载时WordPress出现此错误。我的主机操作系统是windows。
它给出了一个与此类似的错误:
Could not upload the file ... \a\b\c\wp-content/uploads/2011/01
你知道问题出在哪里吗?如何更改wordpress中的目录分隔符?(如果这是解决方案?)
最佳答案
在php中,您可以定义('ds',directory_separator);然后在连接链接时,您需要将ds放在中间,这样它就可以在windows和linux服务器上工作。