Project:Support desk/Sections/Uploading

__NEWSECTIONLINK__

= Uploading Support =

.TMP File issue?

 * Mediawiki Version: latest
 * PHP version Latest
 * mySQL latest

When Users try to upload images onto the wiki, they get a error that states "Cannot find C:\WINDOWS\TEMP\PHP"X" Whereas X indicates a letter (currently PHPc.tmp) I've disabled Imagemagic(sp?) and I am still getting an error. Can I remote host the images and what tag would I use to embed it?

-


 * Mediawiki Version: 1.13.2
 * PHP version: 5.2.6
 * mySQL: 5.0.51a

Getting the same error message: "Cannot find C:\WINDOWS\TEMP\PHP"X" intermittently when uploading files. Tried changing upload_tmp_dir directive and other settings in PHP.ini but nothing seems to work. Does anyone know what might be causing this error?

(SOLVED) Errors while deleting files/images

 * MediaWiki version: 1.15.1
 * PHP version: 5.0.4 (apache)
 * MySQL version: 4.1.21
 * URL: (intranet)

Error deleting file: Could not create directory "deleted/d/2/n" (or the like).

Hi, I have the problem that I get an error message when trying to delete images from our wiki. It says: "Error deleting file: Could not create directory "deleted/d/2/n" (or the like).

I found that the permissions of the ./images/deleted directory can not be changed to 777. Apparently it was made (or is owned) by another user. I have no root access, so I can't chown the directory.

I also tried to create another directory (del), set its permissions to 777. And then included in the LocalSettings.php :

$wgFileStore['deleted']['directory'] = "$wgUploadPath/del"; $wgFileStore['deleted']['url'] = null; $wgFileStore['deleted']['hash'] = 0;

This doesn't help either. Even worse, after trying to delete a file, it turned out that also the owner of del was changed...

Any suggestions?

-> I managed to resolve it myself, after browsing mediawiki and Google for the same problem. It turned out that Safe_Mode should be tunred off (search on Safe_Mode for instructions how to do that).

--- Gert-willem Romer ---

uploading documents

 * MediaWiki version: 1.14.0
 * PHP version: 5.1.6
 * MySQL version: 5.0.22
 * URL:

Hi folks,

I encounter the following problem when uploading a document. When I uploaded a document and then upload a new version of the document, I can't see the new version of the document when I download it. Another user can see it. After an hour or so I'm also able to see the updated document. I tried it with the IE and Firefox, same problem. I also emptied my cach and all other options within the browser, so I guess it has to do with the MediaWiki itself. Thanks for your support.

Uploaded file Namespace auto change

 * MediaWiki version: 1.11.0
 * PHP version: 5.1.6
 * MySQL version: 5.0.77
 * URL:

Is there a way to have uploaded files Namespace automatically set to Media, or something other than Image?

Auto Namespace Change

 * MediaWiki version: 1.11.0
 * PHP version: 5.1.6
 * MySQL version: 5.0.77
 * URL:

Is there a way to have uploaded files Namespace automatically set to Media, or something other than Image?

How about a clean Upload directory?

 * MediaWiki version: 1.15.4
 * PHP version: 5
 * MySQL version: 5
 * URL: N/A

Have you ever thought of a structure of the realease tarballs that includes an UPLOAD-Folder? Its a total mess inside there, where php and include files used by the running system are in the same folders like makefiles for caches, utf8 stuff and other things, that need to be run from the command line and that I don't need on the server.

I would appreciate it, if there would be a clean UPLOAD directory, which contains only the files needed to install and run a wiki from the browser.

--Bachsau 13:15, 7 July 2010 (UTC)

Can you manually add images to a local wiki?

 * MediaWiki version: 1.15.4
 * PHP version: 5.3.0
 * MySQL version: 5.1.36
 * URL:

I recently installed a local wiki and I'm trying to add images to it. I keep getting the internal error "Could not rename file "C:\wamp\tmp\phpXX.tmp" to "public/d/de/TestPic.jpg" I have WAMP installed in C:\wamp, but pointing to a different directory with the DocumentRoot and  settings in httpd.conf. Mediawiki is also setup in this other directory. What I'm wondering here is if there's a way to manually add images to the wiki from the server machine until I can get this internal error figured out?  Thanks for any help.

—99.72.209.135 14:11, 12 July 2010 (UTC)

Drag and Drop upload support

 * MediaWiki version: Apologies for not having these details to hand, they are behind a firewall that I can't access right now.
 * PHP version:
 * MySQL version:
 * URL:

Please could you tell me if there is an extension to allow Drag and Drop file uploads on Mediawiki. It would be a really useful feature that is already available on many wiki's.

—86.17.191.253 05:16, 27 July 2010 (UTC)

Uploading

 * MediaWiki version:
 * PHP version:
 * MySQL version:
 * URL:

On a WIKI site I do not have the "upload" link in the tool box on the left of the screen. I would be grateful if you could instruct me on how to get this "upload" link back in to the tool box.

—155.198.222.186 09:09, 27 July 2010 (UTC)