https://bugzilla.wikimedia.org/show_bug.cgi?id=36084

       Web browser: ---
             Bug #: 36084
           Summary: PHP Fatal error:  Call to undefined function
                    wfAssembleUrl()
           Product: Wikimedia Mobile
           Version: .5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Generic
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: quim....@nokia.com
    Classification: Unclassified
   Mobile Platform: ---


Hi, installing today's snapshot MobileFrontend-master-58be6a7 brings a PHP
Fatal Error, showing a blank page with 0 content. My MW installation: 1.18.1
http://espiral.org/wiki/Special:Version

LocalSettings.php has:

require_once("$IP/extensions/MobileFrontend/MobileFrontend.php");
$wgMFConfigProperties = array( 'minifyJS' => false, );

PHP log shows a PHP Fatal Error:

[19-Apr-2012 05:21:39 UTC] PHP Fatal error:  Call to undefined function
wfAssembleUrl() in .../w/extensions/MobileFrontend/MobileFrontend.body.php on
line 1079
[19-Apr-2012 05:21:39 UTC] PHP Stack trace:
[19-Apr-2012 05:21:39 UTC] PHP   1. {main}() .../w/index.php:0
[19-Apr-2012 05:21:39 UTC] PHP   2. MediaWiki->run() .../w/index.php:57
[19-Apr-2012 05:21:39 UTC] PHP   3. MediaWiki->main()
.../w/includes/Wiki.php:547
[19-Apr-2012 05:21:39 UTC] PHP   4. MediaWiki->finalCleanup()
.../w/includes/Wiki.php:641
[19-Apr-2012 05:21:39 UTC] PHP   5. OutputPage->output()
.../w/includes/Wiki.php:396
[19-Apr-2012 05:21:39 UTC] PHP   6. SkinTemplate->outputPage()
.../w/includes/OutputPage.php:1864
[19-Apr-2012 05:21:39 UTC] PHP   7. wfRunHooks()
.../w/includes/SkinTemplate.php:518
[19-Apr-2012 05:21:39 UTC] PHP   8. Hooks::run()
.../w/includes/GlobalFunctions.php:3631
[19-Apr-2012 05:21:39 UTC] PHP   9. call_user_func_array()
.../w/includes/Hooks.php:216
[19-Apr-2012 05:21:39 UTC] PHP  10. ExtMobileFrontend->addMobileFooter()
.../w/includes/Hooks.php:216
[19-Apr-2012 05:21:39 UTC] PHP  11. ExtMobileFrontend->getMobileUrl()
.../w/extensions/MobileFrontend/MobileFrontend.body.php:213


I have also tried defining

#$wgMobileUrlTemplate = "m.%h0.%h1";

but the result is the same.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to