Last modified: 2014-02-12 23:55:16 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 T46068, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44068 - fatal crash when you click on mobile view in footer
fatal crash when you click on mobile view in footer
Status: RESOLVED WORKSFORME
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
PC Windows 7
: Unprioritized critical
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-17 18:14 UTC by mckenna.tim
Modified: 2014-02-12 23:55 UTC (History)
12 users (show)

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


Attachments

Description mckenna.tim 2013-01-17 18:14:39 UTC
Fatal error: Call to undefined method DeviceProperties::moduleName() in /home/sitebuil/public_html/w/extensions/MobileFrontend/includes/skins/SkinMobile.php on line 327

Disabled all other extensions and it still happened
Comment 1 Arthur Richards 2013-01-17 18:38:58 UTC
I cannot reproduce this problem at current head of master. Can you try updating your copy of MobileFrontend and see if the problem persists? If it does, can you share your LocalSettings.php (please remove any sensitive info first)? Also, have you overridden $wgDeviceDetectionClass with your own class? If so that may be causing the problem.
Comment 2 Jon 2013-01-25 00:05:47 UTC
Works for me too
It sounds like you are using an old version of MediaWiki rather than MobileFrontend.

Previously DeviceDetection was implemented in MediaWiki core and then moved back into MobileFrontend as it wasn't completed. It sounds like you are running the latest version of MobileFrontend and not the latest version of core..

Please update core and if the problem persists feel free to reopen.
Comment 3 leiqunni 2013-02-02 13:12:10 UTC
I have same error.

Mediawiki ver. 1.20.2
MobileFrontend ver. uptodate frm git repo.

I think class "DeviceProperties class has not moduleName() method in 
include/mobile/DeviceDetection.php.

https://svn.wikimedia.org/doc/classDeviceDetection.html#pub-methods
Comment 4 Isarra 2013-02-03 20:03:01 UTC
Yeah, you need to use the extension version for the mediawiki version you're running. So if you're using git, checkout the REL1_20 branch if you're on mw1.20 and it should work.

Worked for me.

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


Navigation
Links