https://bugzilla.wikimedia.org/show_bug.cgi?id=42730
Antoine "hashar" Musso <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #13 from Antoine "hashar" Musso <[email protected]> --- $wgTmpDirectory default to 'false' in includes/DefaultSettings.php. Then LocalSettings.php lets you override it. Then Setup.php is invoked, if at that stage $wgTmpDirectory is still false, we call wfTmpDir(). This attempt to find a temp directory as defined by the environment variables TMPDIR, TMP or TEMP. If any are existent writable directory, they are used, else we fallback to PHP sys_get_temp_dir(). That is for the logic. To debug the issue, can you look at your LocalSettings.php and find out whether there is a $wgTmpDirectory variable defined there ? Then I would need more details. You can run commands using php maintenance/eval.php, at the prompt enter the following commands and paste us the result: var_dump( wfTempDir() ); var_dump( $wgTmpDirectory() ); var_dump( array_map( "getenv", array( 'TMPDIR', 'TMP', 'TEMP' ) ) ); var_dump( sys_get_temp_dir() ); var_dump( file_exists( wfTempDir() ) ); var_dump( is_dir( wfTempDir() ) ); var_dump( is_writable( wfTempDir() ) ); That would give us all the informations we need to actually debug your issue. I suspect one of the environment (TMPDIR, TMP or TEMP) is set to a directory which is NOT writable by your webserver. In such a case, you have to set $wgTmpDirectory in your LocalSettings.php to a directory writable by your webserver. -- 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
