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: wikibugs-l@lists.wikimedia.org ReportedBy: wer...@gmail.com CC: bryan.tongm...@gmail.com 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l