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
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.
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
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
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@fh-swf.de 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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On Aug 17, 2009 5:28 AM, "Katharina Wolkwitz" wolkwitz@fh-swf.de 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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinf...
Try a newer version of those extensions.
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
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.
On Tue, Aug 18, 2009 at 7:55 AM, PlatonidesPlatonides@gmail.com 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@lists.wikimedia.org 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
Hallo Chad,
I changed the subject because I had new information for two different problems but the root of the thread was still viable.
And - I have to admit - that I didn't really see your previous answer.
Now I have the problem that I don't know how to get to the information behind r55210. I couldn't find anything at https://bugzilla.wikimedia.org with that number. Please enlighten me. :-)
Thanks Katharina
Chad schrieb am 18.08.2009 14:03:
On Tue, Aug 18, 2009 at 7:55 AM, PlatonidesPlatonides@gmail.com 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@lists.wikimedia.org 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
Hi,
Am Tue, 18 Aug 2009 14:39:16 +0200 schrieb Katharina Wolkwitz wolkwitz@fh-swf.de:
[..]
Now I have the problem that I don't know how to get to the information behind r55210. I couldn't find anything at https://bugzilla.wikimedia.org with that number. Please enlighten me. :-)
He was maybe referring to the SVN version. See http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SelectCategory/
Best, matsch
Thanks Katharina
Chad schrieb am 18.08.2009 14:03:
On Tue, Aug 18, 2009 at 7:55 AM, PlatonidesPlatonides@gmail.com 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@lists.wikimedia.org 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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Whenever we use a number like r1234 we're referring to that revision in svn. Specifically, I'm referring to http://mediawiki.org/wiki/Special:Code/MediaWiki/55210
-Chad
On Aug 18, 2009 8:41 AM, "Katharina Wolkwitz" wolkwitz@fh-swf.de wrote:
Hallo Chad,
I changed the subject because I had new information for two different problems but the root of the thread was still viable.
And - I have to admit - that I didn't really see your previous answer.
Now I have the problem that I don't know how to get to the information behind r55210. I couldn't find anything at https://bugzilla.wikimedia.org with that number. Please enlighten me. :-)
Thanks Katharina
Chad schrieb am 18.08.2009 14:03:
On Tue, Aug 18, 2009 at 7:55 AM, PlatonidesPlatonides@gmail.com wrote:
Katharina Wolkwitz wro...
Hi Chad, Matthias and All,
thanks for the info. :-) After putting the changes into SelectCategoryFunctions.php the error-messages have dissappeared. :-)
I have to admit that I once tried to use SVN but couldn't really get the hang of it. :-( Can anybody suggest a good how-to?
So long Katharina
Chad schrieb am 18.08.2009 15:01:
Whenever we use a number like r1234 we're referring to that revision in svn. Specifically, I'm referring to http://mediawiki.org/wiki/Special:Code/MediaWiki/55210
-Chad
On Aug 18, 2009 8:41 AM, "Katharina Wolkwitz" wolkwitz@fh-swf.de wrote:
Hallo Chad,
I changed the subject because I had new information for two different problems but the root of the thread was still viable.
And - I have to admit - that I didn't really see your previous answer.
Now I have the problem that I don't know how to get to the information behind r55210. I couldn't find anything at https://bugzilla.wikimedia.org with that number. Please enlighten me. :-)
Thanks Katharina
Chad schrieb am 18.08.2009 14:03:
On Tue, Aug 18, 2009 at 7:55 AM, PlatonidesPlatonides@gmail.com wrote:
Katharina Wolkwitz wro...
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
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
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
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.
On Mon, Aug 17, 2009 at 6:27 AM, Katharina Wolkwitzwolkwitz@fh-swf.de 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@lists.wikimedia.org 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@lists.wikimedia.org 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@lists.wikimedia.org