https://bugzilla.wikimedia.org/show_bug.cgi?id=21923

           Summary: The dump doesn't create temp directory
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: Normal
         Component: DumpHTML
        AssignedTo: tf...@wikimedia.org
        ReportedBy: na...@coder.hu


I wanted to dump my wiki pages when I got the following error:

PHP Warning:  file_put_contents(d:\Temp\wiki\temp\TEMP-88261655): failed to
open
 stream: No such file or directory in
E:\Internet\honlapok\htdocs\mediawiki\exte
nsions\DumpHTML\dumpHTML.inc on line 552
Can't open file
'd:\Temp\wiki\articles\m\e\d\MediaWiki_PHP_jav├şt├ísok_437c.html
' for writing.
Check permissions or use another destination (-d).

I found the solution to. I didn't find where you create the temp directory, so
I
put the following line in dumpHTML.inc at line 550:

$this->mkdir("{$this->dest}\\temp");


It works but I have to delete the temp directory manually.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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

Reply via email to