Package: mediawiki Version: 1.4.11-1 Severity: normal Hi,
somewhere in between the upgrade from 1.4.9 to 1.4.10 or 1.4.10 and 1.4.11 the images I uploaded to the Wiki got lost. I did not noticed this earlier because I have only two images until now - so there was low chance to detect this (and no big harm until now luckyly). My /etc/mediawiki/LocalSettings.php says: $wgUploadPath = "$wgScriptPath/images"; $wgUploadDirectory = "$IP/images"; ... $wgDisableUploads = false ; I just want to mention that strangely enough there is a broken link /var/lib/mediawiki/AdminSettings.php -> /etc/mediawiki/AdminSettings.php because /etc/mediawiki/AdminSettings.php does not exist. I do not know since when this file exists. All links and directories in /var/lib/mediawiki are from October 12, which is probably the date when I installed the 1.4.11 package. When I installed the mediawiki package the first time there was no broken link. I verified that the images I uploaded are just present on my disk via $ find /var/lib/mediawiki/images -type f | grep \.png /var/lib/mediawiki/images/thumb/9/9d/180px-BioNumericsLicenseScreen.png /var/lib/mediawiki/images/thumb/e/e2/180px-BioNumericsInfo.png /var/lib/mediawiki/images/5/51/BioNumericsLicenseScreen.png /var/lib/mediawiki/images/b/bf/BioNumericsInfo.png which sounds reasonable, but if I try to display the page that contains these image I get "Fehlendes Bild" (in English probably "Missing image"). When I just try to reupload an image to see what happens I get (try to translate to English!!): Internal error __________________________________________________________________________________________________________________ Unable to copy file "/tmp/phpY1Y05q" to "/usr/share/mediawiki/images/temp/b/bf/20051107084213!BioNumericsInfo.png". Moreover the page is kind of bloated by the following internal PHP messages: Warning: move_uploaded_file(/usr/share/mediawiki/images/temp/b/bf/20051107091037!BioNumericsInfo.png): failed to open stream: No such file or directory in /usr/share/mediawiki/includes/SpecialUpload.php on line 343 Warning: move_uploaded_file(): Unable to move '/tmp/phpBjHawK' to '/usr/share/mediawiki/images/temp/b/bf/20051107091037!BioNumericsInfo.png' in /usr/share/mediawiki/includes/SpecialUpload.php on line 343 I have no idea why the program wanted to store the image under /usr/share/mediawiki/images (which does not exist) instead of /var/lib/mediawiki/images. I tried to fix this ny setting a symlink which points to /var/lib/mediawiki/images and now I was able to reupload the image with the same name and I got $ find /var/lib/mediawiki/images -type f | grep \.png /var/lib/mediawiki/images/archive/b/bf/20051107091228!BioNumericsInfo.png /var/lib/mediawiki/images/thumb/9/9d/180px-BioNumericsLicenseScreen.png /var/lib/mediawiki/images/thumb/e/e2/180px-BioNumericsInfo.png /var/lib/mediawiki/images/5/51/BioNumericsLicenseScreen.png /var/lib/mediawiki/images/b/bf/BioNumericsInfo.png I have no idea why the new image is put under archive and I have neither no idea why after reuploading *one* image the *other* image also reappeared in the *preview* if I want to edit the page that contains the images. But if I save my edits all images vanished again. So something very strange is happening here. Feel free to ask me for further information Andreas. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (501, 'testing'), (50, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages mediawiki depends on: ii apache2 2.0.54-5 next generation, scalable, extenda ii apache2-mpm-prefork [httpd] 2.0.54-5 traditional model for Apache2 ii debconf [debconf-2.0] 1.4.58 Debian configuration management sy ii php4 4:4.4.0-4 server-side, HTML-embedded scripti ii php4-mysql 4:4.4.0-4 MySQL module for php4 Versions of packages mediawiki recommends: ii mysql-server 4.1.14-6 mysql database server (transitiona ii mysql-server-4.1 [mysql-serve 4.1.14-6 mysql database server binaries -- debconf information: * mediawiki/webserver: apache2 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]