Image thumbnail creation error in MediaWiki on Windows IIS7 with php -


i facing strange problem, , frustrated it

the problem follows: wiki hosted on linux based server php 5.3, has been moved iis7 php 5.4 problem when upload images:

if upload image normal name : foobar.png works fine, mean uploaded , thumbnails displayed, when try upload image german characters : ü ö ä Ä Ü Ö... image thumbnail not created , wiki throws error message, "error creating thumbnail" research found out wiki doesn't work windows in case of course not solution problem actually.

i tried modify character type string window-1250 before passing path function save thumbnail( in short tried hack core of wiki) didn't worked. there possible solution problem ?

afaik, it's impossible windows handle uploads: https://phabricator.wikimedia.org/t3780, https://www.mediawiki.org/wiki/manual:configuring_file_uploads#known_problems_on_windows

however, test sha-1 file repository feature being introduced in mediawiki 1.26alpha. process switch should like

  • add $wglocalfilerepo['storagelayout'] = 'sha1'; localsettings.php;
  • run php maintenance/migratefilerepolayout.php --oldlayout name --newlayout sha1.

good luck!


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -