[Mediawiki-l] Unable to access certain files via extensions

Christensen, Courtney ChristensenC at battelle.org
Tue Jun 15 17:14:37 UTC 2010


Jon,

Did you check your $wgFileExtensions variable?  Of course it may not be that, but gotta check the basics.  Make sure your wiki knows about those other file types.

-Courtney


-----Original Message-----
From: mediawiki-l-bounces at lists.wikimedia.org [mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of Jon Bartlett
Sent: Tuesday, June 15, 2010 4:32 AM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Unable to access certain files via extensions


Thanks Courtney,

Yeah - I thought of permissions on the Image folder - but even if I set to 'everyone' read/write - its still happens.
Whats perplexed me is that the JPG and image files are file - but others (I have the Freemind extension; and JMOL viewer extension) complain that they cannot get to their (non-image) files.  Ive set the permissions to the IIS process threads accounts appropriately too (read/write).

What I don't understand is why the file type may be causing the issue....
Ie If I point my browser to http://mywiki.co.uk/wiki/image/a/filename.jpg from a remote browser, it loads the file fine.  If I point my browser to the exact same path, but a non jpg or image file, it complains it doesn't exist (Id expect it to at least show the bytestream of the file).

..and yeah I'm stuck with WIMP ... but have to say getting MW setup on my other WIMP/ XP was far less painful than this (Win2003).

Jon.

-----Original Message-----
From: mediawiki-l-bounces at lists.wikimedia.org [mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of Christensen, Courtney
Sent: 14 June 2010 23:38
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Unable to access certain files via extensions


Hi Jon,

What permissions did you set in IIS?  You may need more open permissions pointing at your images (like read, browse, and write).  If you can at all move away from the WIMP stack it is helpful, but I understand client requirements can be a pain.

Good luck,  
-Courtney



-----Original Message-----
From: mediawiki-l-bounces at lists.wikimedia.org [mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of Jon Bartlett
Sent: Thursday, June 10, 2010 12:30 PM
To: MediaWiki announcements and site admin list
Subject: [Mediawiki-l] Unable to access certain files via extensions


All,

In my continuing battle to get MW 1.15 to run under IIS 6 and Win 2003 (after migrating from a Win Xp IIS 5) Im at the point where I've abandoned PHP 5.3.x  I simply cannot get the extensions (mainly scientific) to work reliably - support for many of them simply hasn't updated the code for these extensions.

However, I'm now up and running with PHP 5.2.13 - and most of the Extensions aren't giving 'deprecated function' errors anymore.  Everything is fine... except...
For some reason, two extensions are unable to find files in the Image directory - even though the files exist.
I've also found that if I simply point the web browser at those files, the server again states they don't exist - your they do from the File explorer on the machine.  This is even stranger, as normal image files (.png, gif, jpg etc) display just fine within the wiki and directly to the file in the image directory.

Has anyone got any insight/ideas as to why some files are 'seen' by the webserver and others not ?

Jon.


-----------------------------------------------------------
This e-mail was sent by GlaxoSmithKline Services Unlimited 
(registered in England and Wales No. 1047315), which is a 
member of the GlaxoSmithKline group of companies. The 
registered address of GlaxoSmithKline Services Unlimited 
is 980 Great West Road, Brentford, Middlesex TW8 9GS.
-----------------------------------------------------------


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l



More information about the MediaWiki-l mailing list