https://bugzilla.wikimedia.org/show_bug.cgi?id=18310
Summary: thumbnail images not created, PHP Warning at GlobalFunctions.php on line 1943 Product: MediaWiki Version: 1.14.0 Platform: PC OS/Version: other Status: NEW Severity: enhancement Priority: Normal Component: Images and files AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: evge...@rambler.ru My OS is EcomStation (OS/2), seems that bug should occured at Windows also After migrating from 1.13 to 1.14 MediaWiki some strange things are occured with images. Thumbnail images with name prefix like "250px" are not created, and thumbnail images are seen as full size images. Foe example, <gallery> generates html code for 800x600 image DSC007821.jpg like: --------- <div class="gallerybox" style="width: 155px;"> <div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/index.php/%D0%A4%D0%B0%D0%B9%D0%BB:DSC007821.jpg" class="image" title="DSC007821.jpg"><img alt="" src="/images/f/f8/DSC007821.jpg" width="80" height="120" border="0" /></a></div></div> --------- Looking in PHP error log I see a lot of messages like [02-Apr-2009 16:24:36] PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: No such file or directory in F:\htdocs\includes\GlobalFunctions.php on line 1943 Next I add debug out to code for wfMkdirParents function wfMkdirParents( $dir, $mode = null ) { global $wgDirectoryMode; if( strval( $dir ) === '' || file_exists( $dir ) ) return true; if ( is_null( $mode ) ) $mode = $wgDirectoryMode; {//debug out $fp = fopen("i:\\apache2\\logs\\er1.log", "a"); fprintf($fp, "dir=%s mode=%s\n",$dir, $mode); fclose($fp); } return mkdir( $dir, $mode, true ); // PHP5 <3 } And in er1.log I see strings like dir=F:\htdocs/images/thumb/0/0b/Лазерные_пучки_Image011.gif mode=511 Next I change code for wfMkdirParents() at \includes\GlobalFunctions.php to code used in 1.13 version. With old code thumbnail images are created and no PHP warnings in GlobalFunctions.php 1943 are gegereted. Sorry for pure english. in F:\htdocs\includes\GlobalFunctions.php on line 1943 -- 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