https://bugzilla.wikimedia.org/show_bug.cgi?id=65431
Bug ID: 65431
Summary: Special:GiftManagerLogo image upload failure
Product: MediaWiki extensions
Version: master
Hardware: All
OS: Linux
Status: UNCONFIRMED
Severity: major
Priority: Unprioritized
Component: SocialProfile
Assignee: [email protected]
Reporter: [email protected]
Web browser: ---
Mobile Platform: ---
Hey dude, great work on the extension! I've cloned the master build to my local
wiki v1.22.5 and noticed a couple of issues.
Warning: Missing argument 3 for UploadBase::detectScript(), called in
/home/public/w/extensions/SocialProfile/UserGifts/SpecialGiftManagerLogo.php on
line 702 and defined in /home/public/w/includes/upload/UploadBase.php on line
978
Could not copy file "/home/tmp/phpWFZbSw" to "".
You appear to be missing a parameter $extension, in UploadBase::detectScript().
https://doc.wikimedia.org/mediawiki-core/master/php/html/classUploadBase.html#a02134a6e4226989e813138fdd734622c
I fixed this locally, but the upload continues to fail when given a valid
image. PHP can't move the file out of my temp directory as the destination
filename is empty. The upload function is returning 0; I have not found the
reason for this.
Please let me know if you make any progress! :)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l