Author: jburos
Description:
We see an internal error when uploading a new version of certain files, in particular for files that are documents -- word, pdf, ppt, etc. I have not yet noticed the error when replacing an existing file of image type.
An example of one such error message is:
Could not rename file "public/6/63/Wikidocsearchresults_9.xls" to "public/archive/6/63/20080301151006!Wikidocsearchresults_9.xls".
Though the precise path changes according to the wiki installation that causes the error.
Some comments:
- we do not have "public" in our path
- we have set the following in our LocalSettings.php: $wgUploadPath = "$wgScriptPath/images"; $wgUploadDirectory = "$IP/images";
- we do not have php's safe_mode or open_basedir enabled
- we have no /images/ aliases in apache2 conf files
- in some cases, the paths which display are quite long and bizarre
- most other files and images can be replaced without error
- the files in question can be replaced using ./maintenance/importImage.php --overwrite
Version info is as follows:
- MediaWiki: 1.11.0
- PHP: 5.1.2 (apache2handler)
- MySQL: 5.0.22-Debian_0ubuntu6.06.6-log
Version: 1.11.x
Severity: normal
OS: Linux
Platform: Other
URL: http://www.wikidoc.org