Topic on Project:Support desk

MediaWiki 1.27 Exception encountered, of type "Error"

4
Dennis2130 (talkcontribs)

Two weeks ago I installed and configured MediaWIki 1.27 using MS SQL as the backend db. I'm running on Windows 2012 Server using MAMP Pro as the Apache/PHP handler.

I've had issue from the start, small things mainly. The search returns no results at all, some of the Special Pages return DB Errors, etc.

For the last week I've had users putting content into the Wiki, we were up to nearly 25 articles fully written and formatted. Within the last hour, something happened that caused my Wiki to start giving the above Error Message no matter what I do.

I'm not completely sure how to even go about troubleshooting. I've removed all Extensions from my LocalSettings.php that I added after the installation. I've turned on:

    error_reporting( -1 );

    ini_set( 'display_startup_errors', 1 );

    ini_set( 'display_errors', 1 );

and

$wgShowSQLErrors = true;

within my LocalSettings.php to try to come up with a solution, but they add nothing to the page. I'm still presented with Exception encountered, of type "Error" anytime I try to access my wiki.

Any help would be greatly appreciated.

Thanks

AhmadF.Cheema (talkcontribs)
Dennis2130 (talkcontribs)

Thanks, that gives me more to try to troubleshoot with.

Dennis2130 (talkcontribs)

Exception encountered, of type "Error"

[W6JUbMCoAAoAACYkJ@IAAAA1] /pdmu/ Error from line 334 of E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\db\DatabaseMssql.php: Call to undefined function sqlsrv_errors()

Backtrace:

#0 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\db\Database.php(737): DatabaseMssql->lastError()

#1 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\db\loadbalancer\LoadBalancer.php(872): DatabaseBase->reportConnectionError(string)

#2 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\db\loadbalancer\LoadBalancer.php(563): LoadBalancer->reportConnectionError()

#3 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\GlobalFunctions.php(3155): LoadBalancer->getConnection(integer, array, boolean)

#4 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\objectcache\SqlBagOStuff.php(165): wfGetDB(integer)

#5 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\objectcache\SqlBagOStuff.php(247): SqlBagOStuff->getDB(integer)

#6 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\objectcache\SqlBagOStuff.php(225): SqlBagOStuff->getMulti(array)

#7 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\objectcache\SqlBagOStuff.php(221): SqlBagOStuff->getWithToken(string, NULL, integer)

#8 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\libs\objectcache\CachedBagOStuff.php(52): SqlBagOStuff->doGet(string, integer)

#9 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\libs\objectcache\BagOStuff.php(179): CachedBagOStuff->doGet(string, integer)

#10 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\session\SessionManager.php(929): BagOStuff->get(string)

#11 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\session\SessionInfo.php(149): MediaWiki\Session\SessionManager->generateSessionId()

#12 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\session\SessionProvider.php(171): MediaWiki\Session\SessionInfo->__construct(integer, array)

#13 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\session\SessionManager.php(261): MediaWiki\Session\SessionProvider->newSessionInfo(NULL)

#14 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\session\SessionManager.php(235): MediaWiki\Session\SessionManager->getEmptySessionInternal(WebRequest)

#15 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\session\SessionManager.php(185): MediaWiki\Session\SessionManager->getEmptySession(WebRequest)

#16 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\WebRequest.php(700): MediaWiki\Session\SessionManager->getSessionForRequest(WebRequest)

#17 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\session\SessionManager.php(121): WebRequest->getSession()

#18 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\Setup.php(747): MediaWiki\Session\SessionManager::getGlobalSession()

#19 E:\PioneerData\IT\MAMP\htdocs\PDMU\includes\WebStart.php(137): require_once(string)

#20 E:\PioneerData\IT\MAMP\htdocs\PDMU\index.php(40): require(string)

#21 {main}

Reply to "MediaWiki 1.27 Exception encountered, of type "Error""