Jump to content

Extension talk:UploadLocal

About this board

archived talk of this page


Sm8ps (talkcontribs)

For those who, like me, need an alternative and could not find one, there is the importImages.php maintenance script: Manual:ImportImages.php

Reply to "Alternative"

Internal Server Error

1
Spiros71 (talkcontribs)

I get the error below when I try to import the files (MW 1.23). Despite that, some of the images are imported (about 150 which are about 30MB).

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@xxx to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Reply to "Internal Server Error"

upload file via "Upload local files" error

1
Elearnnow1 (talkcontribs)

i have no problem uploading html files via "Upload file" but when trying to upload via "Upload local files" -I get :

This file did not pass file verification: filetype-badmime.

i enable debug mode and get in the specialpages at top:

Notice: Did not find alias for special page 'UploadLocal'. Perhaps no aliases are defined for it? [Called from SpecialPageFactory::getLocalNameFor in /var/www/clients/client1/web2/web/docs/includes/specialpage/SpecialPageFactory.php at line 688] in /var/www/clients/client1/web2/web/docs/includes/debug/MWDebug.php on line 300

in mediawiki consol -

Did not find alias for special page 'UploadLocal'. Perhaps no aliases are defined for it? SpecialPageFactory::getLocalNameFor

my LocalSettings.php - https://docs.google.com/document/d/1PhlEKLUPrXEBHqOxP9d-EIjqEyxd1vBDw4-BQadHZ-U/edit?usp=sharing

what i missing here?

Thank you

Reply to "upload file via "Upload local files" error"

Error "An unknown error occurred."

3
Erazmus~mediawikiwiki (talkcontribs)

MediaWiki 1.19.1. Latest UploadLocal from git. Trying to upload pdf files larger than about 100Mb and I get this error. Switched on php errors but I don't get any additional help. I have tried various combinations of the following in my LocalSettings.php file:

error_reporting(-1);
ini_set('display_errors',1);
ini_set('post_max_size', '800M');
ini_set('upload_max_filesize', '800M');
$wgUploadSizeWarning = 2147483648;
$wgMaxUploadSize = 2147483648;
$wgMaxShellMemory = 1073741824;
$wgMaxShellFileSize = 1073741824;
$wgDebugLogFile="/tmp/debug/log";

Any ideas what I might be doing wrong?

This post was posted by Erazmus~mediawikiwiki, but signed as Erazmus.

192.52.0.72 (talkcontribs)

Same issue here. Do you was able to fix it, and how?

88.182.124.100 (talkcontribs)

I had this error, the following 3 lines in LocalSettings.php did the trick: $wgMaxUploadSize = array(

   '*' => 1024 * 1024 * 250
 );

Which limits all uploads to 250MB. I would guess that OP did not use the right datatype for $wgMaxUploadSize.

Reply to "Error "An unknown error occurred.""

Upload existing files

1
Bmrberlin (talkcontribs)

I would like to know, if there is a parameter, to allow reuploading existing files.

Thank you for your attention Bernd M. Radowicz

Reply to "Upload existing files"

Not working after 1.22 upgrade

2
194.254.225.241 (talkcontribs)

Hi Since 1.22 upgrade, UploadLocal is not working.

The upload form is working and I can see my files but when I after I click on "upload local files" I get a "You did not upload any files."

In the log I have the following errors:


Did not find alias for special page 'UploadLocal'. Perhaps no aliases are defined for it? [Called from SpecialPageFactory::getLocalNameFor in /opt/www/mediawiki/includes/SpecialPageFactory.php at line 567]
Did not find alias for special page 'UploadLocal'. Perhaps no aliases are defined for it? [Called from SpecialPageFactory::getLocalNameFor in /opt/www/mediawiki/includes/SpecialPageFactory.php at line 567]
User::getBlockedStatus: checking...
Use of wfMsg was deprecated in MediaWiki 1.21. [Called from UploadLocalDirectory::processUploads in /opt/www/mediawiki/extensions/UploadLocal/UploadLocalDirectory.php at line 201]
Use of wfMsgReal was deprecated in MediaWiki 1.21. [Called from wfMsg in /opt/www/mediawiki/includes/GlobalFunctions.php at line 1384]
Use of wfMsgGetKey was deprecated in MediaWiki 1.21. [Called from wfMsgReal in /opt/www/mediawiki/includes/GlobalFunctions.php at line 1482]
Unstubbing $wgLang on call of $wgLang::getCode from MessageCache::getMessageFromFallbackChain
User: loading options for user 1 from override cache.

 

Do you have any ideas ?

Thank you

Reply to "Not working after 1.22 upgrade"

Categories on upload

1
2A01:E35:2E15:3120:A05E:D995:9397:2098 (talkcontribs)

Is it possible to include the functions of CategoryOnUpload (MW extension) in this very usefull extension you offer !! I'm not enough "on duty" to make these changes !!

Thank's in advance !

MARC

Reply to "Categories on upload"
Cdaringe (talkcontribs)

I'm not sure where the right place to give props to the devs for this extension. Wowie, it was great! Thank you so much!

Reply to "Thank you"

Images not getting thumbnails

2
97.78.241.155 (talkcontribs)

I have MW 1.18 and am using the 1.19 snapshot (didn't see one for 1.18 and the trunk was empty). I applied the fix to line 31 of UploadLocalForm.php which now allows the uploads, however, the image thumbnails are not being generated... When I go to "http://mywiki/index.php/File:FILE-DSCN0109.JPG" I see all the metadata, and the full-resolution looks good, but the thumbnail is gray and says "Error Creating Thumbnail:"

Thank you!

edit: The thumbnails are not being generated for "large" JPG files (over 3 megs). I tried with lower resolution photos and those are working.... Ideas?

97.78.241.155 (talkcontribs)

Looks like I fixed it by adding:

$wgMaxShellMemory = unlimited; $wgMaxShellFileSize = unlimited;

to my LocalSettings.php file.

Reply to "Images not getting thumbnails"

"Note that for this extension to be useful, the user must have FTP access."

2
Leucosticte (talkcontribs)
Cneubauer (talkcontribs)

I changed it to read "Note that for this extension to be useful, the user must be able to put files in a directory on the server".

Reply to ""Note that for this extension to be useful, the user must have FTP access.""