Project:Support desk/Sections/Uploading

__NEWSECTIONLINK__ = Uploading Support =

pdf woes

 * MediaWiki: 1.11.0
 * PHP: 5.2.5
 * MySQL: 5.0.45
 * URL: Internal only

I don't have an error; just a problem. Actually, 2 problems. Here's the scenario: I have ~1000 pdf manuals I would like searchable and indexed into my wiki. I have searched though every extension that I could find. Most of the extensions about pdfs are for creating pdfs out of wiki pages. Any help would be appreciated! Thanks!
 * 1) How do I transfer files to a wiki without doing them 1 at a time? I tried just putting 1 into the images dir but it looks like they need a DB entry as well.
 * 2) How do I make pdf files searchable on my wiki? I would love to do it as google has; click here for the file or click here to see it in html format.

—BruceWayne 16:54, 24 January 2008 (UTC)


 * There's the importImages.php maintenance script, but that's just bare-bones, and uploading them as files won't index the text contents as far as I'm aware. Tuvok[Talk/en.wp] 08:28, 26 January 2008 (UTC)


 * That looks like it will import the pdfs. I'll have to go through the php and see if I can make it recursive. I think there's a couple hundred folders.
 * How's about making them search-able?
 * Forgot to sign my last comment.. Doh! —bruceWayne 14:22, 30 January 2008 (UTC)


 * How is this going for you? As for making pdfs searchable you would have to configure your Wiki to be able to read the pdf text and then mod SpecialSearch.php to include whatever folder these are in. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  02:35, 27 March 2008 (UTC)

(RESOLVED) How can I upload file with Microsoft Office files such as Word, Excel, Powerpoint etc.

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

Is there any plug-in software that can support uploading of Microsoft Office files?

Please respond to email james.lo@bossini.com

James Lo

—218.189.153.158 09:20, 28 February 2008 (UTC)


 * Do you want to upload them or allow users to view them? Please read Manual:LocalSettings.php, you are going to have to add

$wgFileExtensions  = array('jpg','jpeg','png','ogg','ico','bmp','rom','ukx','uc','uax','usx','utx','u');


 * To it except with the extensions you want.

$wgFileExtensions  = array('doc','docx','ppt','pps');

-PatPeter,  MediaWiki Support Team  02:33, 27 March 2008 (UTC)

(RESOLVED) Uploaded Files with "Umlauts" won't be found
My Wiki runs in German.

Whenever I upload a file that contains an umlaut in its filename, "schäden.png" for instance, the file will be upload under "sch#%&den.png" (something like that). Renaming that file by hand to "schäden.png" makes it be found again.

How can I get those umlauts to be kept within the filenames?

I just can't find any solutions here.

Thanks a lot!

--195.200.70.22 08:33, 24 January 2008 (UTC)


 * Are you still having this problem? -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  23:43, 20 February 2008 (UTC)


 * Yes. I wonder if it has to do with Windows? Since my first entry, I have one Wiki set up on Win XP, one Wiki on Win 2000 and one Wiki set up under Mac OSX. All in German. All set up from scratch. All with their own resources and extensions. While I have no problem at all with uploading files with German umlauts under Mac OSX, it won't work -- as described -- under Win XP and Win 2000.  Same Browsers used under those systems (Firefox, Safari, Opera, IE7 on Windows). I use WOSportable on Windows and MAMP on OSX. Or is it WOSportable? --84.145.122.49 15:36, 21 February 2008 (UTC)


 * I think you have to upload them in unicode format. Is your wiki set in German language code? -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  20:45, 27 February 2008 (UTC)

(RESOLVED) Uploading .doc .xls .xlt .ppt .pps .pdf files

 * MediaWiki: 1.11.1
 * PHP: 5.2.5
 * MySQL: 5.0.24

Hi,

I've seen a couple of threads on here about uploading different file formats but none of them seem to be answered (please correct me if i'm wrong).

Basically i need want to upload different files to my internal wiki site. how do i go about doing this? Is it as simple as changing the file extensions in LocalSettings.php?

Any input greatly appreciated.

Regards,

—62.49.155.133 16:49, 3 March 2008 (UTC)


 * Go in LocalSettings.php and add


 * Except with the extensions you want. I can't believe someone didn't get to you sooner, this is really simple. Also if you have any more questions like this please read all of Manual:LocalSettings.php, before doing so. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  02:31, 27 March 2008 (UTC)

(RESOLVED) Uploading new version of existing file

 * MediaWiki: 1.11.2
 * PHP: 5.2.4 (isapi)
 * MySQL: 5.0.18-nt
 * URL: (internal company site)

Additional Information: Win Server 2003 with IIS

We recently upgraded from MediaWiki 1.5.6. Now, when trying to upload a new version of a file which already existed, we receive the following error: Internal error Could not rename file "public/1/1e/filename.xls" to "public/archive/1/1e/20080306141550!filename.xls".

Do you have any clue what might be causing this?

—Jenn 14:41, 6 March 2008 (UTC)

In addition, I tried deleting this file and received the following message: Errors were encountered while deleting the file:

Could not rename file "public/1/1e/filename.xls" to "deleted/e/a/e/eaes7fu6npxr7fl0xd2b2tre9zzsbig.xls". Could not rename file "public/archive/1/1e/20080225135004!filename.xls" to "deleted/d/2/y/d2y2u8bns3pg5tgmqc6d53p7lm473jd.xls".

It also said that the deletion was successful. I tried uploading the file again and received the same internal error as before.

---Jenn 19:11, 6 March 2008 (UTC)


 * You can disregard this issue. I forgot to make sure the Users had write/modify permissions for the images folders.  How dumb do I feel now.  Thanks anyways.  --Jenn 16:47, 10 March 2008 (UTC)

Upload not properly working with lighttpd/fast-cgi

 * MediaWiki: 1.11.1
 * PHP: 5.1.2 (cgi-fcgi)
 * MySQL: 5.0.26
 * URL: [Installed on a local network]

When I am trying to upload a file on Special:Upload I get the error message "This file is bigger than the server is configured to allow.", but only for files bigger than 5K! I am using the default (upload) settings, both for Mediawiki and PHP. A strange thing is, that a phpinfo-dump reports different values for upload_max_size than configured in my php.ini

When I am echoing the file's size (echo $_FILES['wpUploadFile']['size']), I get a "0" for those files bigger than 5K...

Any help is appreciated!

Thanks in advance.

—62.220.4.250 15:20, 6 March 2008 (UTC)


 * Who is your server provider? I think the option is in php.ini to change this. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  02:40, 27 March 2008 (UTC)

(RESOLVED) Video Streaming

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

Is there a way to embeb a streaming video, such as the ones in youtube.com on Wiki? Any support is appreciated! Thanks ;)

—88.157.68.217 02:42, 7 March 2008 (UTC)


 * It can be done, but I'm not entirely sure how. Normal videos can surely be embedded quite easily, such as .ogg and .vid files (I think), as is seen with the various video media on Commons and elsewhere. -- Anon  Diss  05:42, 7 March 2008 (UTC)


 * Extension:EmbedVideo, lol I had to go through three archives to find Project:Support_desk/Archive_17. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  02:28, 27 March 2008 (UTC)

Uploads are timing out
Whenever I try to upload a large file the screen eventually goes blank. I believe this to be because of the server timing out on the upload. Is there anyway to change the server configuration to never time out, something like:

Either that or it is my browser, because it also will not let me upload files on the main page of the website.

—-PatPeter,  MediaWiki Support Team  16:56, 9 March 2008 (UTC)

Uploaded file's permissions

 * MediaWiki: 1.12.0rc1
 * PHP: 5.2.5 (apache)
 * MySQL: 5.0.45-community
 * URL: Tibiafans Wiki

I'm having trouble with uploading on MediaWiki. I have made sure uploads are enabled (LocalSettings.php) and have CHMODed the image upload folder to 777 and 755 (I have tried both) with the option 'recurse into subdirectories' enabled (a feature in my FTP client - pretty self-explanatory).

I can upload images, but once they are uploaded they:


 * have a 644 CHMOD
 * cannot be viewed (in the browser) and cannot be edited, CHMODed, or even deleted via FTP.

I'd like to know what could be causing this. Thanks in advance.

—58.7.76.136 09:37, 20 March 2008 (UTC)

(RESOLVED) UNABLE TO UPLOAD IMAGES OR FILES
* MediaWiki: 1.11.2 * PHP: 5.0.5 (isapi) * MySQL: 5.0.45-community-nt I am not able to upload images or any other media files. pl help i get the following error- Internal error From GuruPedia Jump to: navigation, search

Could not find file "C:\WINDOWS\TEMP\php16A.tmp". each time it is a diff tmp file whats happening Thanking you in anticipation DR MK PILLAI —Drmk 10:19, 25 March 2008 (UTC)


 * You need to set up a temp directory. (See this thread on the MWUsers forums.) —Emufarmers(T 01:28, 26 March 2008 (UTC)

HI THERE, WE HAVE DONE BOTH-

1. CREATED -C:\ WINDOWS\Temp\

2.have set the appropriate temp directory in php.ini. The variable- upload_tmp_dir = "C:\ WINDOWS\Temp\" STILL I CONTINUE TO GET THE SAME ERROR Humbly requesting any one to help Thanking you in anticipation DR MI PILLAI IT was due to permission that were not given on C:/windows/temp folder. Initially my host was not ready for the same a s itwould compromise the security of the site. Would it not be much easier and safer on all of us if the temp folder can be done within the domains folders than else where??? Any ays thank soo soo soo mucnh for all who supported especially- Emufarmers DR MK PILLAI

unable to upload 4M exported file

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

Hi there I did everything described at

http://mywiki.ncsa.uiuc.edu/wiki/MediaWiki_Servers#To_increase_the_maximum_upload_file_size

but I still get Upload of import file failed; perhaps the file is bigger than the allowed upload size.

with a 4M file. What should I check more?

—213.16.111.1 16:37, 9 April 2008 (UTC)