I upgraded from 1.10 to 1.12alpha phase3 (checked out from 2008-01-14). Now thumbnails are being created in the thumb directory but not shown from there. Instead only some images are shown, and if they are shown they are shown via the thumb.php file only, even though the thumbnail is created in the thumb directory (a new one is created if I delete it and refresh the article). And when visiting any image article, the image itself is not shown on that page, only links to the original images (which works).
I tried all the tips at http://meta.wikimedia.org/wiki/Help:Upgrading_MediaWiki#Broken_Images without success.
I know 1.12 is not released as a "release" yet, but just looking for any hints.
Details about my upgrade process:
* I kept the Localsettings file from my previous installation. I just switched to using another mw install directory, and changed Apache's vhosts file to point to that folder. * The images folder for my site is located outside the mediawiki install folder, and is linked to from images/my-domain-name with a softlink (ln -s ...), so when upgrading I just created another soft link, from the new mw-install-directory/images/my-domain-name to that same images folder. * I've checked that all the images folders (including /temp, /archive and /thumb) have 777 rights, and have owner www-data:www-data
I'm running Ubuntu Server 6.06 LTS, With Apache2 and PHP 5.1.2
Best Regards Samuel
Edit: It seems like thumbnails have been shown via thumb.php before also, but still some thumbs are not showing up, even though the image files are there, and the images are not displayed at the image articles. // Samuel
Samuel Lampa skrev:
and if they are shown they are shown via the thumb.php file only, even though the thumbnail is created in the thumb directory (a new one is created if I delete it and refresh the article).
I found the problem. MediaWiki more or less constantly provide Thumb.php with a width that is 1 pixel too large, which makes Thumb.php generate an error. This applies for images that are smaller than the standard size for thumbnails and the image previews at the image articles.
A bug in MediaWiki? Or something wrong with my configuration?
Example: I have an image that I try to view with [[Image:MyImage.jpg|thumb]], which creates a thumbnail with URL http://my-server-url/w/thumb.php?f=MyImage&width=170, which says " Image was not scaled, is the requested width bigger than the source?" Manually changing the url to http://server.com/w/thumb.php?f=MyImage&width=169 makes the image show up..
The same for an image that does not show up on the image article. The preview image has URL http://my-server-url/w/thumb.php?f=MyOtherImage&width=369, which says: " Image was not scaled, is the requested width bigger than the source?" Manually changing the url to http://server.com/w/thumb.php?f=MyOtherImage&width=368 again makes the image show up..
// Samuel
Samuel Lampa skrev:
Edit: It seems like thumbnails have been shown via thumb.php before also, but still some thumbs are not showing up, even though the image files are there, and the images are not displayed at the image articles. // Samuel
Samuel Lampa skrev:
and if they are shown they are shown via the thumb.php file only, even though the thumbnail is created in the thumb directory (a new one is created if I delete it and refresh the article).
mediawiki-l@lists.wikimedia.org