Hi everybody,
here's something I don't understand.
I've just updated my mediawiki-installation to the current version 1.23.5 - which I thought was up to date, and now I'm running up against one error-message after the other with deprecated functions like this one:
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /opt/lampp/htdocs/_fhbwiki/includes/GlobalFunctions.php on line 1271
And also this:
Strict Standards: Non-static method Mail::factory() should not be called statically in /opt/lampp/htdocs/_fhbwiki/includes/UserMailer.php on line 154
or this:
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/lampp/lib/php/Net/SMTP.php on line 450
Now, I'd understand if these would happen in modules where I had made any kind of adaptation, but I pretty sure I never touched any of these files. So why aren't they just updated to the correct and working version???
Or did I do something wrong while updating? Is there a way to check?
Kate
Have you upgraded your PHP to 1.23 requirements?
On Mon, Nov 3, 2014 at 8:40 AM, Katharina Wolkwitz wolkwitz@fh-swf.de wrote:
Hi everybody,
here's something I don't understand.
I've just updated my mediawiki-installation to the current version 1.23.5 - which I thought was up to date, and now I'm running up against one error-message after the other with deprecated functions like this one:
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /opt/lampp/htdocs/_fhbwiki/includes/GlobalFunctions.php on line 1271
And also this:
Strict Standards: Non-static method Mail::factory() should not be called statically in /opt/lampp/htdocs/_fhbwiki/includes/UserMailer.php on line 154
or this:
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/lampp/lib/php/Net/SMTP.php on line 450
Now, I'd understand if these would happen in modules where I had made any kind of adaptation, but I pretty sure I never touched any of these files. So why aren't they just updated to the correct and working version???
Or did I do something wrong while updating? Is there a way to check?
Kate
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hi again,
I've just started the whole update-process again with the 1.23.6-tarball-file again, and got a totally different-result...
It seems that when I did this
wiki-t00:/opt/lampp/htdocs/# tar xvfz mediawiki-1.23.6.tar.gz -C /opt/lampp/htdocs/_fhbwiki/ --strip-components=1
with the 1.23.5.tar.gz-file I somehow managed __not__ to overwrite 1.16.2-update.php-file, because that was what got called up when I did the upgrade... :-(
So I ended up with version 1.16.2 - which I just noticed when I looked up which PHP and MySQL versions I was running. I feel quite embarrased because I managed to work on clearing up error for days on end not noticing that the original update hadn't worked in the first place. :-(
Well - now I'm faced with getting the skins to run in the newer version, but that's (more or less) understandable migration stuff...
Kate
Am 03.11.2014 um 14:44 schrieb John:
Have you upgraded your PHP to 1.23 requirements?
On Mon, Nov 3, 2014 at 8:40 AM, Katharina Wolkwitz wolkwitz@fh-swf.de wrote:
Hi everybody,
here's something I don't understand.
I've just updated my mediawiki-installation to the current version 1.23.5 - which I thought was up to date, and now I'm running up against one error-message after the other with deprecated functions like this one:
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /opt/lampp/htdocs/_fhbwiki/includes/GlobalFunctions.php on line 1271
And also this:
Strict Standards: Non-static method Mail::factory() should not be called statically in /opt/lampp/htdocs/_fhbwiki/includes/UserMailer.php on line 154
or this:
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/lampp/lib/php/Net/SMTP.php on line 450
Now, I'd understand if these would happen in modules where I had made any kind of adaptation, but I pretty sure I never touched any of these files. So why aren't they just updated to the correct and working version???
Or did I do something wrong while updating? Is there a way to check?
Kate
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 11/03/2014 08:40 AM, Katharina Wolkwitz wrote:
Hi everybody,
here's something I don't understand.
I've just updated my mediawiki-installation to the current version 1.23.5 - which I thought was up to date, and now I'm running up against one error-message after the other with deprecated functions like this one:
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /opt/lampp/htdocs/_fhbwiki/includes/GlobalFunctions.php on line 1271
You are not actually running MediaWiki 1.23. As far as I know, MediaWiki 1.22 and later no longer use the deprecated /e modifier (though some extensions might).
Not running the version of MediaWiki you think you are would also explain your "Call to undefined method SpecialRenameuser::getOutput()" problem.
And also this:
Strict Standards: Non-static method Mail::factory() should not be called statically in /opt/lampp/htdocs/_fhbwiki/includes/UserMailer.php on line 154
or this:
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/lampp/lib/php/Net/SMTP.php on line 450
This was partially fixed in MediaWiki 1.17. To silence the remaining warnings (tracked as [bug 47463][1]), you can change PHP's [error_reporting][2] INI setting.
[1]: https://bugzilla.wikimedia.org/show_bug.cgi?id=47463 [2]: http://php.net/manual/en/errorfunc.configuration.php#ini.error-reporting
mediawiki-l@lists.wikimedia.org