Last modified: 2007-09-03 16:36:22 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 T13053, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11053 - Error initializing Semantic Forms 5.4
Error initializing Semantic Forms 5.4
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All Linux
: Normal blocker (vote)
: ---
Assigned To: Yaron Koren
http://www.r3levees.org
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-24 13:58 UTC by Dan T
Modified: 2007-09-03 16:36 UTC (History)
0 users

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


Attachments
screen shot of error message (3.54 KB, image/x-png)
2007-08-24 13:58 UTC, Dan T
Details
Patch to fix parser functions initialization issue. (909 bytes, patch)
2007-08-24 16:20 UTC, Sergey Chernyshev
Details

Description Dan T 2007-08-24 13:58:19 UTC
Created attachment 4035 [details]
screen shot of error message

MW version 1.10.0
SMW version 0.7

Problem enabling extension.  Receive errors below when extension initializes in LocalSettings.php 

Warning:  call_user_func_array() function.call-user-func-array: First argument is expected to be a valid callback, 'sfgLanguageGetMagic' was given in /usr/local/www/mediawiki-1.10.0/includes/Hooks.php on line 113

Warning:  array_slice() function.array-slice: The first argument should be an array in /usr/local/www/mediawiki-1.10.0/languages/Language.php on line 1139
Comment 1 Sergey Chernyshev 2007-08-24 16:20:05 UTC
Created attachment 4038 [details]
Patch to fix parser functions initialization issue.

This is exactly what I solved with moving

   require_once($sfgIP . '/includes/SF_ParserFunctions.php');

outside of sfgSetupExtension() in SF_GlobalFunctions.php

I had this problem with previous version as well.
Comment 2 Yaron Koren 2007-09-03 16:36:22 UTC
Fixed in version 0.5.5, using Sergey's code.

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


Navigation
Links