Hi Jeremy,
I added a log file and got the following:
Start request POST /wiki/Special:ConfirmEmail
HTTP HEADERS:
HOST: imed-wiki
USER-AGENT: Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
ACCEPT-LANGUAGE: en-gb,en;q=0.5
ACCEPT-ENCODING: gzip, deflate
REFERER:
http://imed-wiki/wiki/Special:ConfirmEmail
COOKIE: iMed_wikiUserID=2; iMed_wikiUserName=M16743; wikidbUserName=M16743;
wikidbUserID=2; mw_installer_session=co1qpbdv9viln127pb6s18mie0;
iMed_wiki_session=ccn60u329utg0jr342jqu2pm46;
wikidb_session=3ef3c58cc4ed45f9c5a9ee984a17fc9e
CONNECTION: keep-alive
CONTENT-TYPE: application/x-www-form-urlencoded
CONTENT-LENGTH: 44
CACHES: EmptyBagOStuff[main] SqlBagOStuff[message] SqlBagOStuff[parser]
session_set_cookie_params: "0", "/", "", "",
"1"
Class LanguageEn_gb not found; skipped loading
LocalisationCache: using store LCStore_DB
Connecting to imednow9dev.medibank.local wikidb...
Profiler::instance called without $wgProfiler['class'] set, falling back to
ProfilerStub for safety
Connected to imednow9dev.medibank.local wikidb.
Fully initialised
User: cache miss for user 2
Connecting to imednow9dev.medibank.local wikidb...
Connected to imednow9dev.medibank.local wikidb.
MessageCache::load: Loading en-gb... got from global cache
Gadget::loadStructuredList: MediaWiki:Gadgets-definition parsed, cache entry
wikidb:gadgets-definition:6 updated
User: loading options for user 2 from database.
User: logged in from session
User: loading options for user 2 from override cache.
Unstubbing $wgParser on call of $wgParser::firstCallInit from MessageCache::getParser
Parser: using preprocessor: Preprocessor_DOM
Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions::__construct
MWCryptRand::realGenerate: Generating cryptographic random bytes for
User::confirmationToken/MWCryptRand::generateHex/MWCryptRand::realGenerateHex/MWCryptRand::generate/MWCryptRand::realGenerate
MWCryptRand::realGenerate: mcrypt_create_iv generated 16 bytes of randomness.
MWCryptRand::realGenerate: 0 bytes of randomness leftover in the buffer.
Unstubbing $wgAuth on call of $wgAuth::allowSetLocalPassword from User::saveSettings
DatabaseBase::query: Writes done: UPDATE `user` SET user_name =
'M16743',user_password =
':B:f8ebc29f:5b5255231c4d5a1680058265287d93d8',user_newpassword =
'',user_newpass_time = NULL,user_real_name = 'David Mills',user_email =
'david.mills(a)mendibank.com.au',user_email_authenticated = NULL,user_touched =
'20130606015340',user_token =
'c4afdc360bdeb62c2986eb09a5f6fd25',user_email_token =
'2c8b4508df84e8ff53dfc4214f963ee6',user_email_token_expires =
'20130613015335' WHERE user_id = '2'
IP: 10.24.142.208
UserMailer::send: sending mail to david.mills(a)mendibank.com.au
[30defe3c] /wiki/Special:ConfirmEmail Exception from line 239 of D:\Program Files
(x86)\Apache2.2\htdocs\w\includes\UserMailer.php: PEAR mail package is not installed
#0 D:\Program Files (x86)\Apache2.2\htdocs\w\includes\User.php(3391):
UserMailer::send(Object(MailAddress), Object(MailAddress), 'iMedWiki email ...',
'Someone, probab...', NULL)
#1 D:\Program Files (x86)\Apache2.2\htdocs\w\includes\User.php(3369):
User->sendMail('iMedWiki email ...', 'Someone, probab...')
#2 D:\Program Files
(x86)\Apache2.2\htdocs\w\includes\specials\SpecialConfirmemail.php(79):
User->sendConfirmationMail()
#3 D:\Program Files
(x86)\Apache2.2\htdocs\w\includes\specials\SpecialConfirmemail.php(54):
EmailConfirmation->showRequestForm()
#4 D:\Program Files (x86)\Apache2.2\htdocs\w\includes\SpecialPage.php(611):
EmailConfirmation->execute(NULL)
#5 D:\Program Files (x86)\Apache2.2\htdocs\w\includes\SpecialPageFactory.php(494):
SpecialPage->run(NULL)
#6 D:\Program Files (x86)\Apache2.2\htdocs\w\includes\Wiki.php(290):
SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#7 D:\Program Files (x86)\Apache2.2\htdocs\w\includes\Wiki.php(536):
MediaWiki->performRequest()
#8 D:\Program Files (x86)\Apache2.2\htdocs\w\includes\Wiki.php(446):
MediaWiki->main()
#9 D:\Program Files (x86)\Apache2.2\htdocs\w\index.php(59): MediaWiki->run()
#10 {main}
Class PEAR_Error not found; skipped loading
OutputPage::sendCacheControl: no caching **
Its telling me that PEAR Mail is not installed.
But when I run "php P:\iMedDevelopment\Downloads\MediaWiki\pyrus.phar
list-packages" I get the response:
Pyrus version 2.0.0a4 SHA-1: 72271D92C3AA1FA96DF9606CD538868544609A52
Using PEAR installation found at D:\Program Files (x86)\Apache2.2\bin\pear
Listing installed packages [D:\Program Files (x86)\Apache2.2\bin\pear]:
[channel
pecl.php.net]:
(no packages installed in channel
pecl.php.net)
[channel
pear2.php.net]:
(no packages installed in channel
pear2.php.net)
[channel __uri]:
(no packages installed in channel __uri)
[channel
doc.php.net]:
(no packages installed in channel
doc.php.net)
[channel
pyrus.net]:
(no packages installed in channel
pyrus.net)
[channel
pear.php.net]:
Mail 1.2.0 stable
Net_SMTP 1.6.1 stable
Net_Socket 1.0.14 stable
So I suspect that I need something like
require_once( "<pear folder>/Mail.php" );
in the LocalSettings.php file. How do I get MediaWiki to know about PEAR and where its
packages are?
Regards,
David Mills | iMed Senior Technical Analyst | Medibank Private
Level 16, 700 Collins Street, Docklands, VIC, 3008 | Tel: 03 8622 5346 | Mob: 0411 513
404
-----Original Message-----
From: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Jeremy Baron
Sent: Thursday, 6 June 2013 11:44 AM
To: MediaWiki announcements and site admin list
Subject: Re: [MediaWiki-l] Email
On Jun 5, 2013 9:09 PM, "David Mills"
<David.Mills@medibank.com.au<mailto:David.Mills@medibank.com.au>> wrote:
Internal Error
[27bae741] 2013-06-06 01:07:05: Fatal
exception of
type
MWException
and don't receive any emails.
What am I missing?
You're missing the full stack trace that "27bae741" (which you quoted) maps
to.
Try some of the tricks on
http://www.mediawiki.org/wiki/Manual:How_to_debug
-Jeremy
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@lists.wikimedia.org<mailto:MediaWiki-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
**********************************************************************************
The information contained in or attached to this message is intended only for the people
it is addressed to.
If you are not the intended recipient, please notify the sender and delete the email.
Any use, disclosure or copying of this information is unauthorised and prohibited.
This information may be confidential or subject to legal privilege.
It is not the expressed view of Medibank Private Limited (ABN 47 080 890 259) or any of
its subsidiaries (together 'Medibank') unless it is authorised by a person with
actual authority.
To the fullest extent allowed by law, Medibank does not accept liability
for any damage caused by this message, including any virus damage.
**********************************************************************************