https://bugzilla.wikimedia.org/show_bug.cgi?id=27919
Summary: Upload fails: could not remove file from /tmp to
/images/**/*/
Product: MediaWiki
Version: 1.16.2
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: Uploading
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Upload fails everytime, with a very clean install also.The error message is
like "could not rename file from /tmp/filename.ext to /images/**/*/filename.ext
A working solution is to execute what's written hereunder:
Edit:
../includes/filepro/FSRepo.php -> line 428
Change:
if (!rename( $srcPath, $dstPath ) ) {
$status->error( 'filerenameerror', $srcPath, $dstPath );
$good = false;
}
In:
if ( !move_uploaded_file( $srcPath, $dstPath ) ) {
$status->error( 'filerenameerror', $srcPath, $dstPath );
$good = false;
}
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l