Last modified: 2011-04-30 01:20:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T21329, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19329 - Can't upload image after upgrading to 1.15
Can't upload image after upgrading to 1.15
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.15.x
All All
: Normal critical (vote)
: ---
Assigned To: Chad H.
http://tr.pardus-wiki.org/Okular
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-21 21:47 UTC by Taner Taş
Modified: 2011-04-30 01:20 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Call to undefined method FSRepo::getMemcKey() in FileRepo.php on line 534 (57.67 KB, image/png)
2009-06-21 22:17 UTC, Taner Taş
Details

Description Taner Taş 2009-06-21 21:47:11 UTC
I can't upload any files after upgrading from 1.14 to 1.15. A newly created page [1] gives me same error message also.

Fatal error: Call to undefined method FSRepo::getMemcKey() in /var/www/meta/includes/filerepo/FileRepo.php on line 534

[1] http://tr.pardus-wiki.org/Okular

This problem did not occur wile using 1.14.

I'm using .htaccess file for shorting urls.
I'm using single installation (single db via different table prefix) for all other subdomains.
Comment 1 Taner Taş 2009-06-21 21:58:36 UTC
// Fix Summary
Comment 2 Taner Taş 2009-06-21 22:17:52 UTC
Created attachment 6244 [details]
Call to undefined method FSRepo::getMemcKey() in FileRepo.php on line 534

I may switch back to 1.14 due to this weird problem. Therefore, I'm leaving screenshot of the error message on file upload interface.
Comment 3 Chad H. 2009-06-22 13:17:02 UTC
Was this fix backported? I know we discussed it in #mediawiki previously.
Comment 4 Taner Taş 2009-06-22 13:40:38 UTC
I applied r51764 at the link[1] but only Error message differs from previous state:

Fatal error: Call to undefined method FSRepo::getArticleID() in ...

I grabbed this error message from irc log. I didn't note the line number etc. Now our wiki runs on 1.14.

[1] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/51764
Comment 5 Chad H. 2009-06-22 13:51:02 UTC
The fixes in r52009 are also needed. This _should_ fix the 1.15 branch.

For what it's worth: we are currently shipping a broken 1.15 on the website. We might need to repackage from SVN, as it's had 2 fixes from trunk applied to includes/filerepo/ to fix fatals.
Comment 6 Taner Taş 2009-06-22 23:09:06 UTC
Yes, r52009 completes r51764. I applied both patches, now no more Fatal Errors.

Thank you.

// FIXED

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links