升级并从Plone 4.1.1安装迁移到Plone 4.2.1后,collective.uploadify egg不再起作用。从用户角度来看,用户可以像以前一样浏览一个或多个文件,并且文件似乎上传(通过进度条的推进证明),但是所有上传都以“HTTP错误500”终止。
collective.uploadify-1.0和collective.uploadify-1.1都会重现此行为。
客户端实例日志中显示以下错误:
------
2012-10-22T19:50:34 INFO collective.uploadify uploading file: filename=myfile.pdf, content_type=application/pdf
------
2012-10-22-T19:50:34 ERROR Zope.SiteErrorLog 1350953434.830.935215558164 http://www.example.com/site/@@upload_file
Traceback (innermost last):
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module collective.uploadify.browser.upload, line 130, in __call__
TypeError: __call__() takes exactly 7 argument (4 given)
客户端Z2日志中显示以下错误:
192.168.1.1 - Anonymous [22/Oct/2012:19:59:04 - 0500] "POST /https://localhost/VirtualHostBase/https/www.example.com:443/VirtualHostRoot/mount/site/@upload_file HTTP/1.1" 500 4013 "https://www.example.com/mount/site/@@upload" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"
Plone在私有IP空间的RedHat Enterprise Linux 5.5上运行,在第二个RedHat Enterprise Linux 5.5后面使用Apache配置了指向RewriteRule的Proxy Balancer指令。 Plone Site为每个不同的站点使用ZODB挂载点。
该功能在原始安装中有效,并已保留。但是,这个鸡蛋不再适用于迁移的站点,也不适用于全新安装。
真诚地感谢任何有关如何解决或获取其他故障排除详情的建议!