Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Mediawiki- and Xampp-Upgrade

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


wolkwitz at fh-swf

Aug 17, 2009, 2:47 AM

Post #1 of 16 (3957 views)
Permalink
Mediawiki- and Xampp-Upgrade

Hi all,

at the moment I've got my wiki running with mediawiki 1.14.0 and Xampp 1.7.1
(PHP 5.2.9 (apache2handler), MySQL 5.1.33)

When I tried to upgrad to Xampp 1.7.2 last Friday, I ran into some problems with
the SelectCategory- and CategoryTree-extensions, so I made a new test-clone of
my production-machine (easy, because I'm using VMs), to get a clean test-machine
before trying again.

Xampp 1.7.2 comes with Apache 2.2.12, MySQL 5.1.37, PHP 5.3.0 and now I'm
wondering, wether it would be better to
- upgrade Mediawiki to the current version before upgrading Xampp
- upgrade Xampp first and get the extensions-problems solved before upgrading
Mediawiki
- upgrade Xampp first and get the extensions-problems solved without upgrading
Mediawiki
- upgrade Mediawiki without upgrading Xampp (at least for the moment)
- leave the whole system as it is
???

Has anyone here upgraded to Xampp 1.7.2 yet and are willing to share their
experiences with me?

Mit freundlichen Grüßen

Katharina Wolkwitz

Fachhochschule Südwestfalen
Hochschulbibliothek
Haldener Straße 182
58095 Hagen
Tel.: 02331/9330-607
FAX: 02331/9330-608

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Aug 17, 2009, 2:59 AM

Post #2 of 16 (3892 views)
Permalink
Re: Mediawiki- and Xampp-Upgrade [In reply to]

Katharina Wolkwitz wrote:
> Hi all,
>
> at the moment I've got my wiki running with mediawiki 1.14.0 and Xampp 1.7.1
> (PHP 5.2.9 (apache2handler), MySQL 5.1.33)
>
> When I tried to upgrad to Xampp 1.7.2 last Friday, I ran into some problems with
> the SelectCategory- and CategoryTree-extensions,

What kind of problems are you having?
The extensions _should_ work as well with PHP 5.3 as with 5.2.9.
A MySQL should be even less an issue.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


wolkwitz at fh-swf

Aug 17, 2009, 3:06 AM

Post #3 of 16 (3879 views)
Permalink
Re: Mediawiki- and Xampp-Upgrade [In reply to]

Hi Platonides,

thank you for your very fast answer.

Platonides schrieb am 17.08.2009 11:59:
> Katharina Wolkwitz wrote:
>> Hi all,
>>
>> at the moment I've got my wiki running with mediawiki 1.14.0 and Xampp 1.7.1
>> (PHP 5.2.9 (apache2handler), MySQL 5.1.33)
>>
>> When I tried to upgrad to Xampp 1.7.2 last Friday, I ran into some problems with
>> the SelectCategory- and CategoryTree-extensions,
>
> What kind of problems are you having?
> The extensions _should_ work as well with PHP 5.3 as with 5.2.9.
> A MySQL should be even less an issue.
OK - I'll try the Xampp-upgrade again and try to post the error-messages here.
They were rather difficult to read, because they appeared beneath the wiki's layout.
Is there any way to get the error-messages to appear inside the wiki's main window?

So long
Katharina

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


wolkwitz at fh-swf

Aug 17, 2009, 3:17 AM

Post #4 of 16 (3892 views)
Permalink
Re: Mediawiki- and Xampp-Upgrade [In reply to]

Hi Again,

when I wrote "beneath" the wiki's layout I meant behind it - so the layout
overlays some of the error-text.

So long
Katharina

Katharina Wolkwitz schrieb am 17.08.2009 12:06:
> Hi Platonides,
>
> thank you for your very fast answer.
>
> Platonides schrieb am 17.08.2009 11:59:
>> Katharina Wolkwitz wrote:
>>> Hi all,
>>>
>>> at the moment I've got my wiki running with mediawiki 1.14.0 and Xampp 1.7.1
>>> (PHP 5.2.9 (apache2handler), MySQL 5.1.33)
>>>
>>> When I tried to upgrad to Xampp 1.7.2 last Friday, I ran into some problems with
>>> the SelectCategory- and CategoryTree-extensions,
>> What kind of problems are you having?
>> The extensions _should_ work as well with PHP 5.3 as with 5.2.9.
>> A MySQL should be even less an issue.
> OK - I'll try the Xampp-upgrade again and try to post the error-messages here.
> They were rather difficult to read, because they appeared beneath the wiki's layout.
> Is there any way to get the error-messages to appear inside the wiki's main window?
>
> So long
> Katharina

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


onekopaka at gmail

Aug 17, 2009, 3:17 AM

Post #5 of 16 (3883 views)
Permalink
Re: Mediawiki- and Xampp-Upgrade [In reply to]

Katharina, there should be a error log file that Apache writes which
should also have the errors. The file should be under the apache
folder and named error_log or error.log.

Darren VanBuren
-------------------------
Sent from my iPod

Try Fedora 10 today. Fire it up. http://fedoraproject.org/

On Aug 17, 2009, at 3:06, Katharina Wolkwitz <wolkwitz [at] fh-swf> wrote:

> Hi Platonides,
>
> thank you for your very fast answer.
>
> Platonides schrieb am 17.08.2009 11:59:
>> Katharina Wolkwitz wrote:
>>> Hi all,
>>>
>>> at the moment I've got my wiki running with mediawiki 1.14.0 and
>>> Xampp 1.7.1
>>> (PHP 5.2.9 (apache2handler), MySQL 5.1.33)
>>>
>>> When I tried to upgrad to Xampp 1.7.2 last Friday, I ran into some
>>> problems with
>>> the SelectCategory- and CategoryTree-extensions,
>>
>> What kind of problems are you having?
>> The extensions _should_ work as well with PHP 5.3 as with 5.2.9.
>> A MySQL should be even less an issue.
> OK - I'll try the Xampp-upgrade again and try to post the error-
> messages here.
> They were rather difficult to read, because they appeared beneath
> the wiki's layout.
> Is there any way to get the error-messages to appear inside the
> wiki's main window?
>
> So long
> Katharina
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


wolkwitz at fh-swf

Aug 17, 2009, 3:27 AM

Post #6 of 16 (3892 views)
Permalink
Re: Mediawiki- and Xampp-Upgrade [In reply to]

Deprecated: Call-time pass-by-reference has been deprecated in
/opt/lampp/htdocs/_fhbwiki/extensions/SelectCategory/SelectCategoryFunctions.php
on line 21
Hi Platonides, Hi All,

here are the error-messages that pop up when I try to start my wiki after
upgrading to Xampp 1.7.2:

Deprecated: Call-time pass-by-reference has been deprecated in
/opt/lampp/htdocs/_fhbwiki/extensions/SelectCategory/SelectCategoryFunctions.php
on line 84

Warning: Parameter 1 to Language::getMagic() expected to be a reference, value
given in /opt/lampp/htdocs/_fhbwiki/includes/StubObject.php on line 58

Warning: Parameter 2 to efCategoryTreeParserOutput() expected to be a reference,
value given in /opt/lampp/htdocs/_fhbwiki/includes/Hooks.php on line 117

Detected bug in an extension! Hook efCategoryTreeParserOutput failed to return a
value; should return true to continue hook processing or false to abort.

Backtrace:

#0 /opt/lampp/htdocs/_fhbwiki/includes/OutputPage.php(554):
wfRunHooks('OutputPageParse...', Array)
#1 /opt/lampp/htdocs/_fhbwiki/includes/OutputPage.php(562):
OutputPage->addParserOutputNoText(Object(ParserOutput))
#2 /opt/lampp/htdocs/_fhbwiki/includes/OutputPage.php(655):
OutputPage->addParserOutput(Object(ParserOutput))
#3 /opt/lampp/htdocs/_fhbwiki/includes/Article.php(806):
OutputPage->tryParserCache(Object(Article), Object(User))
#4 /opt/lampp/htdocs/_fhbwiki/includes/Wiki.php(447): Article->view()
#5 /opt/lampp/htdocs/_fhbwiki/includes/Wiki.php(63):
MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title),
Object(User), Object(WebRequest))
#6 /opt/lampp/htdocs/_fhbwiki/index.php(114):
MediaWiki->initialize(Object(Title), Object(Article), Object(OutputPage),
Object(User), Object(WebRequest))
#7 {main}

When I disable both extensions in LocalSettings.php then the wiki seems to run
ok. I haven't had time to do extensiv testing, yet, though...

Katharina Wolkwitz schrieb am 17.08.2009 12:06:
> Hi Platonides,
>
> thank you for your very fast answer.
>
> Platonides schrieb am 17.08.2009 11:59:
>> Katharina Wolkwitz wrote:
>>> Hi all,
>>>
>>> at the moment I've got my wiki running with mediawiki 1.14.0 and Xampp 1.7.1
>>> (PHP 5.2.9 (apache2handler), MySQL 5.1.33)
>>>
>>> When I tried to upgrad to Xampp 1.7.2 last Friday, I ran into some problems with
>>> the SelectCategory- and CategoryTree-extensions,
>> What kind of problems are you having?
>> The extensions _should_ work as well with PHP 5.3 as with 5.2.9.
>> A MySQL should be even less an issue.
> OK - I'll try the Xampp-upgrade again and try to post the error-messages here.
> They were rather difficult to read, because they appeared beneath the wiki's layout.
> Is there any way to get the error-messages to appear inside the wiki's main window?
>
> So long
> Katharina
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>

--

Mit freundlichen Grüßen

Katharina Wolkwitz

Fachhochschule Südwestfalen
Hochschulbibliothek
Haldener Straße 182
58095 Hagen
Tel.: 02331/9330-607
FAX: 02331/9330-608

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


rob.isakson at gmail

Aug 17, 2009, 5:11 AM

Post #7 of 16 (3893 views)
Permalink
Re: Mediawiki- and Xampp-Upgrade [In reply to]

On Aug 17, 2009 5:28 AM, "Katharina Wolkwitz" <wolkwitz [at] fh-swf> wrote:

Deprecated: Call-time pass-by-reference has been deprecated in
/opt/lampp/htdocs/_fhbwiki/extensions/SelectCategory/SelectCategoryFunctions.php
on line 21
Hi Platonides, Hi All,

here are the error-messages that pop up when I try to start my wiki after
upgrading to Xampp 1.7.2:

Deprecated: Call-time pass-by-reference has been deprecated in
/opt/lampp/htdocs/_fhbwiki/extensions/SelectCategory/SelectCategoryFunctions.php
on line 84

Warning: Parameter 1 to Language::getMagic() expected to be a reference,
value
given in /opt/lampp/htdocs/_fhbwiki/includes/StubObject.php on line 58

Warning: Parameter 2 to efCategoryTreeParserOutput() expected to be a
reference,
value given in /opt/lampp/htdocs/_fhbwiki/includes/Hooks.php on line 117

Detected bug in an extension! Hook efCategoryTreeParserOutput failed to
return a
value; should return true to continue hook processing or false to abort.

Backtrace:

#0 /opt/lampp/htdocs/_fhbwiki/includes/OutputPage.php(554):
wfRunHooks('OutputPageParse...', Array)
#1 /opt/lampp/htdocs/_fhbwiki/includes/OutputPage.php(562):
OutputPage->addParserOutputNoText(Object(ParserOutput))
#2 /opt/lampp/htdocs/_fhbwiki/includes/OutputPage.php(655):
OutputPage->addParserOutput(Object(ParserOutput))
#3 /opt/lampp/htdocs/_fhbwiki/includes/Article.php(806):
OutputPage->tryParserCache(Object(Article), Object(User))
#4 /opt/lampp/htdocs/_fhbwiki/includes/Wiki.php(447): Article->view()
#5 /opt/lampp/htdocs/_fhbwiki/includes/Wiki.php(63):
MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title),
Object(User), Object(WebRequest))
#6 /opt/lampp/htdocs/_fhbwiki/index.php(114):
MediaWiki->initialize(Object(Title), Object(Article), Object(OutputPage),
Object(User), Object(WebRequest))
#7 {main}

When I disable both extensions in LocalSettings.php then the wiki seems to
run
ok. I haven't had time to do extensiv testing, yet, though...

Katharina Wolkwitz schrieb am 17.08.2009 12:06:

> Hi Platonides, > > thank you for your very fast answer. > > Platonides
schrieb am 17.08.2009 11:...
--

Mit freundlichen Grüßen Katharina Wolkwitz Fachhochschule Südwestfalen
Hochschulbibliothek Halden...

MediaWiki-l mailing list MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinf...
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Aug 17, 2009, 3:11 PM

Post #8 of 16 (3884 views)
Permalink
Re: Mediawiki- and Xampp-Upgrade [In reply to]

Try a newer version of those extensions.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


innocentkiller at gmail

Aug 17, 2009, 3:27 PM

Post #9 of 16 (3880 views)
Permalink
Re: Mediawiki- and Xampp-Upgrade [In reply to]

On Mon, Aug 17, 2009 at 6:27 AM, Katharina Wolkwitz<wolkwitz [at] fh-swf> wrote:
> Deprecated: Call-time pass-by-reference has been deprecated in
> /opt/lampp/htdocs/_fhbwiki/extensions/SelectCategory/SelectCategoryFunctions.php
> on line 21
> Hi Platonides, Hi All,
>
> here are the error-messages that pop up when I try to start my wiki after
> upgrading to Xampp 1.7.2:
>
> Deprecated: Call-time pass-by-reference has been deprecated in
> /opt/lampp/htdocs/_fhbwiki/extensions/SelectCategory/SelectCategoryFunctions.php
> on line 84
>
> Warning: Parameter 1 to Language::getMagic() expected to be a reference, value
> given in /opt/lampp/htdocs/_fhbwiki/includes/StubObject.php on line 58
>
> Warning: Parameter 2 to efCategoryTreeParserOutput() expected to be a reference,
> value given in /opt/lampp/htdocs/_fhbwiki/includes/Hooks.php on line 117
>
> Detected bug in an extension! Hook efCategoryTreeParserOutput failed to return a
> value; should return true to continue hook processing or false to abort.
>
> Backtrace:
>
> #0 /opt/lampp/htdocs/_fhbwiki/includes/OutputPage.php(554):
> wfRunHooks('OutputPageParse...', Array)
> #1 /opt/lampp/htdocs/_fhbwiki/includes/OutputPage.php(562):
> OutputPage->addParserOutputNoText(Object(ParserOutput))
> #2 /opt/lampp/htdocs/_fhbwiki/includes/OutputPage.php(655):
> OutputPage->addParserOutput(Object(ParserOutput))
> #3 /opt/lampp/htdocs/_fhbwiki/includes/Article.php(806):
> OutputPage->tryParserCache(Object(Article), Object(User))
> #4 /opt/lampp/htdocs/_fhbwiki/includes/Wiki.php(447): Article->view()
> #5 /opt/lampp/htdocs/_fhbwiki/includes/Wiki.php(63):
> MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title),
> Object(User), Object(WebRequest))
> #6 /opt/lampp/htdocs/_fhbwiki/index.php(114):
> MediaWiki->initialize(Object(Title), Object(Article), Object(OutputPage),
> Object(User), Object(WebRequest))
> #7 {main}
>
> When I disable both extensions in LocalSettings.php then the wiki seems to run
> ok. I haven't had time to do extensiv testing, yet, though...
>
> Katharina Wolkwitz schrieb am 17.08.2009 12:06:
>> Hi Platonides,
>>
>> thank you for your very fast answer.
>>
>> Platonides schrieb am 17.08.2009 11:59:
>>> Katharina Wolkwitz wrote:
>>>> Hi all,
>>>>
>>>> at the moment I've got my wiki running with mediawiki 1.14.0 and Xampp 1.7.1
>>>> (PHP 5.2.9 (apache2handler), MySQL 5.1.33)
>>>>
>>>> When I tried to upgrad to Xampp 1.7.2 last Friday, I ran into some problems with
>>>>  the SelectCategory- and CategoryTree-extensions,
>>> What kind of problems are you having?
>>> The extensions _should_ work as well with PHP 5.3 as with 5.2.9.
>>> A MySQL should be even less an issue.
>> OK - I'll try the Xampp-upgrade again and try to post the error-messages here.
>> They were rather difficult to read, because they appeared beneath the wiki's layout.
>> Is there any way to get the error-messages to appear inside the wiki's main window?
>>
>> So long
>> Katharina
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l [at] lists
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>
> --
>
> Mit freundlichen Grüßen
>
> Katharina Wolkwitz
>
> Fachhochschule Südwestfalen
> Hochschulbibliothek
> Haldener Straße 182
> 58095 Hagen
> Tel.: 02331/9330-607
> FAX:  02331/9330-608
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>

I'm not as sure on the CategoryTree backtrace, but I've fixed
the call time pass-by-ref errors for SelectCategory in r55210.

-Chad

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


wolkwitz at fh-swf

Aug 18, 2009, 3:18 AM

Post #10 of 16 (3881 views)
Permalink
Re: Mediawiki- and Xampp-Upgrade - SelectCategory-extension [In reply to]

Hi All,

Platonides schrieb am 18.08.2009 00:11:
> Try a newer version of those extensions.

After upgrading to MediaWiki 1.15.1 and the concurrent extension-snapshot I get
these error-messages now:

Deprecated: Call-time pass-by-reference has been deprecated in
/opt/lampp/htdocs/_fhbwiki/extensions/SelectCategory/SelectCategoryFunctions.php
on line 21
Deprecated: Call-time pass-by-reference has been deprecated in
/opt/lampp/htdocs/_fhbwiki/extensions/SelectCategory/SelectCategoryFunctions.php
on line 103

I've tried putting:

error_reporting(0);

at the beginning of SelectCategoryFunctions.php but that makes no difference
whatsoeverer.

As far as I can say, the extension works, but instead of displaying the usual
selection-window a long list with control-boxes appears.

Everything works ok with:
<br/>MediaWiki 1.14.0
<br/>PHP 5.2.9 (apache2handler)
<br/>MySQL 5.1.33

But the error occurs with:
<br/>MediaWiki 1.15.1
<br/>PHP 5.3.0 (apache2handler)
<br/>MySQL 5.1.37

Mit freundlichen Grüßen

Katharina Wolkwitz

Fachhochschule Südwestfalen
Hochschulbibliothek
Haldener Straße 182
58095 Hagen
Tel.: 02331/9330-607
FAX: 02331/9330-608

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


wolkwitz at fh-swf

Aug 18, 2009, 3:21 AM

Post #11 of 16 (3855 views)
Permalink
Re: Mediawiki- and Xampp-Upgrade - Extension:Group Based Access Control [In reply to]

Hi All,

After upgrading to Xampp 1.7.2 and MediaWiki 1.15.1 I get the following error
whenever I call-up a wiki-page with the <accesscontrol>-tag at the top.

Warning: Parameter 3 to doControlUserAccess() expected to be a reference, value
given in /opt/lampp/htdocs/_fhbwiki/includes/parser/Parser.php on line 3243

I'm using the latest version (0.8).

Does anybody has an idea what to do about that? Thanks!

Everything works ok with:
MediaWiki 1.14.0
PHP 5.2.9 (apache2handler)
MySQL 5.1.33

But the error occurs with:
MediaWiki 1.15.1
PHP 5.3.0 (apache2handler)
MySQL 5.1.37

So long!
Katharina

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Aug 18, 2009, 4:55 AM

Post #12 of 16 (3846 views)
Permalink
Re: Mediawiki- and Xampp-Upgrade - SelectCategory-extension [In reply to]

Katharina Wolkwitz wrote:
> I've tried putting:
>
> error_reporting(0);
>
> at the beginning of SelectCategoryFunctions.php but that makes no difference
> whatsoeverer.

Adding error_reporting(0); should have removed the E_DEPRECATED
warnings. Try disabling them in php.ini.
E_DEPRECATED are not supposed to be enabled in production, anyway.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


innocentkiller at gmail

Aug 18, 2009, 5:03 AM

Post #13 of 16 (3854 views)
Permalink
Re: Mediawiki- and Xampp-Upgrade - SelectCategory-extension [In reply to]

On Tue, Aug 18, 2009 at 7:55 AM, Platonides<Platonides [at] gmail> wrote:
> Katharina Wolkwitz wrote:
>> I've tried putting:
>>
>>  error_reporting(0);
>>
>> at the beginning of SelectCategoryFunctions.php but that makes no difference
>> whatsoeverer.
>
> Adding error_reporting(0); should have removed the E_DEPRECATED
> warnings. Try disabling them in php.ini.
> E_DEPRECATED are not supposed to be enabled in production, anyway.
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>

I mentioned in the other thread (why did this need a new thread?)
that I fixed the deprecated calls in r55210.

-Chad

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


wolkwitz at fh-swf

Aug 18, 2009, 11:43 PM

Post #14 of 16 (3818 views)
Permalink
Re: Mediawiki- and Xampp-Upgrade - Extension:Group Based Access Control [In reply to]

Hi all!

Update: I cannot see the access-information on any pages anymore, and the
access-control only works partly, as users can see any page, whether they are
supposed to or not, but the editing-access-control seems to work...

Please help!

Katharina

Katharina Wolkwitz schrieb am 18.08.2009 12:21:
> Hi All,
>
> After upgrading to Xampp 1.7.2 and MediaWiki 1.15.1 I get the following error
> whenever I call-up a wiki-page with the <accesscontrol>-tag at the top.
>
> Warning: Parameter 3 to doControlUserAccess() expected to be a reference, value
> given in /opt/lampp/htdocs/_fhbwiki/includes/parser/Parser.php on line 3243
>
> I'm using the latest version (0.8).
>
> Does anybody has an idea what to do about that? Thanks!
>
> Everything works ok with:
> MediaWiki 1.14.0
> PHP 5.2.9 (apache2handler)
> MySQL 5.1.33
>
> But the error occurs with:
> MediaWiki 1.15.1
> PHP 5.3.0 (apache2handler)
> MySQL 5.1.37
>
> So long!
> Katharina

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


wolkwitz at fh-swf

Aug 24, 2009, 4:11 AM

Post #15 of 16 (3681 views)
Permalink
Re: Mediawiki- and Xampp-Upgrade - Extension:Group Based Access Control [In reply to]

Hi again!

I think I've found the solution to my problem:

Changing the following line in accesscontrol.php from:

function doControlUserAccess( $input, $argv, &$parser )

to:

function doControlUserAccess( $input, $argv, $parser )

seems to solve the problem and lets the extension work as wanted! :-)

As I'm not really fluent in php I don't really understand what the change means
- I just googled for the error-message, found a similar correction concerning
joomla and tried it in the extension.
Can anybody explain it to me or should I rather not know the details? ;-)

Greetings
Kawo

Katharina Wolkwitz schrieb am 19.08.2009 08:43:
> Hi all!
>
> Update: I cannot see the access-information on any pages anymore, and the
> access-control only works partly, as users can see any page, whether they are
> supposed to or not, but the editing-access-control seems to work...
>
> Please help!
>
> Katharina
>
> Katharina Wolkwitz schrieb am 18.08.2009 12:21:
>> Hi All,
>>
>> After upgrading to Xampp 1.7.2 and MediaWiki 1.15.1 I get the following error
>> whenever I call-up a wiki-page with the <accesscontrol>-tag at the top.
>>
>> Warning: Parameter 3 to doControlUserAccess() expected to be a reference, value
>> given in /opt/lampp/htdocs/_fhbwiki/includes/parser/Parser.php on line 3243
>>
>> I'm using the latest version (0.8).
>>
>> Does anybody has an idea what to do about that? Thanks!
>>
>> Everything works ok with:
>> MediaWiki 1.14.0
>> PHP 5.2.9 (apache2handler)
>> MySQL 5.1.33
>>
>> But the error occurs with:
>> MediaWiki 1.15.1
>> PHP 5.3.0 (apache2handler)
>> MySQL 5.1.37
>>
>> So long!
>> Katharina

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Aug 24, 2009, 6:45 AM

Post #16 of 16 (3676 views)
Permalink
Re: Mediawiki- and Xampp-Upgrade - Extension:Group Based Access Control [In reply to]

Katharina Wolkwitz wrote:
> Hi again!
>
> I think I've found the solution to my problem:
>
> Changing the following line in accesscontrol.php from:
>
> function doControlUserAccess( $input, $argv, &$parser )

prototype means the third parameter is a reference.

Since it was given a value, per the error message, changing the
prototype to

> function doControlUserAccess( $input, $argv, $parser )

fixes it.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.