Topic on Project:Support desk

Encountering a [307ae516] 2017-12-06 18:33:02: Fatal exception of type MWException

4
Abeltran1973 (talkcontribs)

I am encountering the following error with two notices when I try to reset user password, create a new account or Change email address. I was able to perform these in the past but on latest XAMPP package update this was found to be broken. I am able to login to wiki page and creat new pages with no issues. Can someone please tell me what changed that is causing the issue I am encountering and how I can fix it?

########################################################################################################################################

Internal error

[307ae516] 2017-12-06 18:33:02: Fatal exception of type MWException 

Notice: Uncommitted DB writes (transaction from DatabaseBase::query (User::loadFromDatabase)). in C:\xampp\htdocs\includes\db\Database.php on line 3944

Notice: DB transaction callbacks still pending (from Title::invalidateCache). in C:\xampp\htdocs\includes\db\Database.php on line 3953

########################################################################################################################################

Last XAMPP package where this was still working "xampp-win32-7.0.4-0-VC14-installer.exe". Since then I have updated to "xampp-win32-7.1.10-0-VC14-installer.exe" and "xampp-win32-7.1.11-0-VC14-installer.exe".

MarkAHershberger (talkcontribs)

What errors are reported in your error log? Is downgrading to the working version of xamp an option?

Ciencia Al Poder (talkcontribs)

Set $wgShowExceptionDetails to true in LocalSettings.php, so it prints a more detailed error message instead of a "Fatal exception of type MWException "

Abeltran1973 (talkcontribs)

MarkAHershberger, downgrading to the working version of xampp is not an option.

Ciencia Al Poder, $wgShowExceptionDetails isn't in my LocalSettings.php. I added it manually ----> Thanks for the suggestion.

It's erroring out with "Pear mail package not installed"

Seems Pear was part of Xampp package in the past that was installed automatically but is no longer.

Root cause was "C:\xampp\htdocs\includes\UserMailer.php: PEAR mail package is not installed"

I followed instructions to install it and now all is well ... https://www.arclab.com/en/kb/php/xampp-windows-how-to-install-pear-mail-package-class.html

Thanks Guys!