https://bugzilla.wikimedia.org/show_bug.cgi?id=42730
--- Comment #7 from Ingo Malchow <[email protected]> --- After fiddling with several patches that can be found over the net, this one seems to have helped from http://www.mediawiki.org/wiki/Thread:Talk:MediaWiki_1.19/Thumbnails_didn%27t_work_since_Update_to_1.19: Replace function wfTempDir() with function wfTempDir() { foreach( array( 'TMPDIR', 'TMP', 'TEMP' ) as $var ) { $tmp = getenv( $var ); if( $tmp && file_exists( $tmp ) && is_dir( $tmp ) && is_writable( $tmp ) ) { return $tmp; } } if (ini_get('upload_tmp_dir')!==false) { $tmp = ini_get('upload_tmp_dir'); if( $tmp && file_exists( $tmp ) && is_dir( $tmp ) && is_writable( $tmp ) ) { return $tmp; } } if( function_exists( 'sys_get_temp_dir' ) ) { $tmp = sys_get_temp_dir(); if( $tmp && file_exists( $tmp ) && is_dir( $tmp ) && is_writable( $tmp ) ) { return $tmp; } } # Usual defaults return wfIsWindows() ? 'C:\Windows\Temp' : '/tmp'; } Even though this was meant for 1.19 (where i never had that problem) it works for 1.20.2 as well. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
