Hello, Please help me understand the following error I get when I add:
$wgProfiler['class'] = 'ProfilerXhprof';
$wgProfiler['output'] = [ 'ProfilerOutputText' ];
$wgProfiler['visible'] = true;
to my LocalSettings.php per [1] in order to enable "Profiling".
There error is:
"Fatal error: Uncaught Exception: Profiling is already enabled. in /opt/htdocs/mediawiki/includes/libs/Xhprof.php" and then it gives the stack trace [2].
When I disable the "class" line and such that the configuration is just:
$wgProfiler['output'] = [ 'ProfilerOutputText' ];
$wgProfiler['visible'] = true;
I get nothing added to my page to diagnose.
Any insights on this would be great. Thank you!
/Rich
[1] https://www.mediawiki.org/wiki/Manual:Profiling
[2] https://www.mediawiki.org/wiki/Topic:W1ywjmvgve8sk7hw
I'm running MediaWiki v1.34.2 on Linux Mint v20.1.
Three or four days ago I began getting emails like below.
(ImmigrantJohnLakeOfGravesend is my MediaWiki page.) I've received maybe
40-50 such messages. The error type is sometimes different. And
occasionally a message seems to be delivered because I receive a "real
looking" response.
Can someone tell me what's going on, and what I can do about it?
Date: Thu, 14 Jan 2021 05:36:39 -0800 (PST)
From: Mail Delivery Subsystem <mailer-daemon(a)googlemail.com>
To: MarshallELake(a)gmail.com
Subject: Delivery Status Notification (Failure)
Parts/Attachments:
1.1.1 OK 10 lines Text
1.1.2 Shown 38 lines Text
1.2 OK 2.2 KB Image
2 Shown 553 bytes Message, "Delivery Status"
3 Shown 3.3 KB Message, "ImmigrantJohnLakeOfGravesend email address confirmation"
3.1 Shown 15 lines Text
----------------------------------------
Error Icon
RECIPIENT INBOX FULL
Your message couldn't be delivered to
mikenealey23(a)from.crossandgarlic.com. Their inbox is full, or it's getting
too much mail right now.
The response from the remote server was:
550 Mailbox is full / Blocks limit exceeded / Inode limit exceeded
[ Part 1.2, Image/PNG (Name: "icon.png") 2.2 KB. ]
[ Not Shown. Use the "V" command to view or save this part. ]
[ Part 2: "Delivery Status" ]
Reporting-MTA: dns; googlemail.com
Received-From-MTA: dns; marshallelake(a)gmail.com
Arrival-Date: Thu, 14 Jan 2021 05:35:57 -0800 (PST)
X-Original-Message-ID:
<JohnLakeOfGravesend.600048bc47dc49.98376540(a)www.mlake.net>
Final-Recipient: rfc822; mikenealey23(a)from.crossandgarlic.com
Action: failed
Status: 5.0.0
Remote-MTA: dns; from.crossandgarlic.com (62.210.104.20, the server for
the domain.)
Diagnostic-Code: smtp; 550 Mailbox is full / Blocks limit exceeded / Inode
limit exceeded
Last-Attempt-Date: Thu, 14 Jan 2021 05:36:39 -0800 (PST)
[ Part 3: "Included Message" ]
Date: Thu, 14 Jan 2021 06:35:56 -0700
From: ImmigrantJohnLakeOfGravesend <marshallelake(a)gmail.com>
To: MikeNealey17 <mikenealey23(a)from.crossandgarlic.com>
Subject: ImmigrantJohnLakeOfGravesend email address confirmation
Someone, probably you, from IP address 104.160.17.148,
has registered an account "MikeNealey17" with this email address on
ImmigrantJohnLakeOfGravesend.
To confirm that this account really does belong to you and activate
email features on ImmigrantJohnLakeOfGravesend, open this link in your
browser:
http://www.mlake.net/wiki/index.php/Special:ConfirmEmail/89052005a33f772785…
If you did *not* register the account, follow this link
to cancel the email address confirmation:
http://www.mlake.net/wiki/index.php/Special:InvalidateEmail/89052005a33f772…
This confirmation code will expire at 06:35, 21 January 2021.
--
Marshall Lake -- marshallelake(a)gmail.com -- http://www.mlake.net
Hi everyone,
I'm excited to announce two upcoming MediaWiki-related events over the next
six months or so:
First is the 2021 Enterprise MediaWiki Conference, or EMWCon. Last year's
was online-only, and some of us really wanted this year's to be in-person,
but it didn't work out. So this year's event will again be online-only, and
will be held April 20-22, on Eastern Time. You can read more about the
event, and sign up here (it's free):
https://www.mediawiki.org/wiki/EMWCon_Spring_2021
The second event is the Enterprise MediaWiki Hackathon, which will be an
in-person event, most likely in Nashville, Tennessee.in either June or July
of this year. If you want to attend, there is also a sign-up list on that
page:
https://www.mediawiki.org/wiki/Enterprise_MediaWiki_Hackathon_2021
-Yaron
--
WikiWorks · MediaWiki Consulting · http://wikiworks.com
Hi there.
I want to embed google adSense code on my site, where do I put the code
they send me?
Do I need to create an ads.txt file?
If so, where do I place it?
Thank you,
Ahikam.
Hello
I'm trying to add a link in the footer by adding the example in [1] to my
LocalSettings.php.
Unfortunately it doesn't work and I have no clue how to work with the
information given in [1] nor in the error messages.
The errors are:
PHP Parse error: syntax error, unexpected 'public' (T_PUBLIC), expecting end of
file in /etc/mediawiki/LocalSettings.php on line 186
PHP Fatal error: Uncaught Error: Class 'WebRequest' not found in
/usr/share/mediawiki/includes/HeaderCallback.php:63\nStack trace:\n#0 [internal
function]: MediaWiki\\HeaderCallback::callback()\n#1 {main}\n thrown in
/usr/share/mediawiki/includes/HeaderCallback.php on line 63
I'm very new to Mediawiki and the information in the documentation feels quite
overwhelming. Although there is much written in great detail I'm having a hard
time putting it into perspective. I don't know what to learn first to make this
work.
It would be encouraging if you could give me a tip or two on how to approach
this problem. And maybe, if you feel generous, outline the process of adding the
example link.
Mediawiki 1.35, Vector
Kind regards
Noob
[1] https://www.mediawiki.org/wiki/Manual:Hooks/SkinAddFooterLinks