Plone 5具有文件夹内容视图中的文件上传功能。当我尝试上传文件时,文件名下面的“文件传输失败”失败(没有提到原因)。 Plone 5.0.3网站是全新的。 我尝试了几种文件类型和不同的用户(也是管理员)。 在站点设置中(清除“忽略的异常类型”后),我确实看到了错误。
用户名是特殊的(“匿名用户()”),因为我肯定登录或者我无法添加任何内容。我可以通过普通的添加项目菜单项上传文件。
<pre>
Time
Apr 02, 2016 11:07 PM
User Name
Anonymous User ()
Request URL
http://localhost:8000/ultest/fileUpload
Exception Type
NotFound
Exception Value
http://localhost:8000/ultest/fileUpload
Traceback (innermost last):
Module ZPublisher.Publish, line 127, in publish
Module ZPublisher.BaseRequest, line 523, in traverse
Module ZPublisher.HTTPResponse, line 727, in debugError
NotFound: <h2>Site Error</h2> <p>An error was encountered while publishing this resource. </p> <p><strong>Debugging Notice</strong></p> Zope has encountered a problem publishing your object.<p> Cannot locate object at: http://localhost:8000/ultest/fileUpload</p> <hr noshade="noshade"/> <p>Troubleshooting Suggestions</p> <ul> <li>The URL may be incorrect.</li> <li>The parameters passed to this resource may be incorrect.</li> <li>A resource that this resource relies on may be encountering an error.</li> </ul> <p>For more detailed information about the error, please refer to the error log. </p> <p>If the error persists please contact the site maintainer. Thank you for your patience. </p>
</pre>