Extension talk:Echo

About this board

New install throws up Resourceloader exception

1
Ubuntupunk (talkcontribs)

I have latest version of mediawiki. Extension installed, and db updated.


Original exception: [7378ff8ac9065fadc602aa86] /wiki/index.php/Main_Page TypeError: Argument 1 passed to MediaWiki\Extension\Notifications\Hooks::onResourceLoaderRegisterModules() must be an instance of MediaWiki\ResourceLoader\ResourceLoader, instance of ResourceLoader given, called in /home/xxx/public_html/medialternatives.com/bedrock/web/wiki/includes/HookContainer/HookContainer.php on line 338

Backtrace:

from /home/xxx/public_html/medialternatives.com/bedrock/web/wiki/extensions/Echo/includes/Hooks.php(186)

#0 /home/xxx/public_html/medialternatives.com/bedrock/web/wiki/includes/HookContainer/HookContainer.php(338): MediaWiki\Extension\Notifications\Hooks::onResourceLoaderRegisterModules(ResourceLoader)

#1 /home/xxx/public_html/medialternatives.com/bedrock/web/wiki/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array)

#2 /home/xxx/public_html/medialternatives.com/bedrock/web/wiki/includes/resourceloader/HookRunner.php(48): MediaWiki\HookContainer\HookContainer->run(string, array, array)

#3 /home/xxx/public_html/medialternatives.com/bedrock/web/wiki/includes/ServiceWiring.php(1413): MediaWiki\ResourceLoader\HookRunner->onResourceLoaderRegisterModules(ResourceLoader)

...

Reply to "New install throws up Resourceloader exception"

Crosswiki notifications with no indication of source on small screens

3
Kusma (talkcontribs)

When I receive crosswiki notifications, the only place where I can see what they are is the "Recent activity" box. However, this box gets hidden on small screens (both in Vector and in Responsive Monobook). So I can see on my phone that I have notifications, but if I click on them I don't see what they are (if they are from crosswiki). That's clearly not ideal: either merge the crosswiki notifications with the others, or forbid hiding of the selector box, but don't tell me I have messages with no way of telling where they are. See also enwiki VPT post: https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&diff=1030694901&oldid=1030691061#Crosswiki_notifications_and_the_responsive_monobook_skin

Kusma (talkcontribs)

A workaround is to use .mw-echo-ui-notificationsInboxWidget-sidebar {display:block;} in my skin.css file, but that doesn't look great on small screens either. Could the widget box be moved instead of being hidden completely?

L10nM4st3r (talkcontribs)

Got the same issue here. And worse, the workaround explained above doesn't seem to work for me.

Reply to "Crosswiki notifications with no indication of source on small screens"

each day option don't send mail

1
Nicolas senechal (talkcontribs)

hello,

In my wiki when the user chose $wgDefaultUserOptions['echo-email-frequency']=1 (so send mail each day) the user doesn't receive but if the user put $wgDefaultUserOptions['echo-email-frequency']=0 (so immediately) he receives the mail, so I have 2 questions.

for each day what time of the day ?

and why don't the user receive?

I test with the Extension:EditNotify maybe it come from here ?

thanks.

Reply to "each day option don't send mail"
2003:DE:2F24:6F00:6877:D9B1:3C6D:5034 (talkcontribs)

Hi there, I am trying very hard to change the color of the icons to white using css (bootstrap / chameleon skin). I cannot for the love of god figure out, how to change the color. Could someone please point me in the right direction? I read the configuration section of the extension but do not wont to completely switch out the icon. Just color it white and get rid of the transparency of the bell icon. Thank you a million times. H

Reply to "Echo icon color"

Configuration: $wgEchoNotifications

4
Silkwood (talkcontribs)
Product Version
MediaWiki 1.32.5
PHP 7.2.17-0ubuntu0.18.04.1 (apache2handler)
MariaDB 10.1.38-MariaDB-0ubuntu0.18.04.1

Hello,

my skin

Skin Version License Description Authors
Metrolook 7.0 alpha 2 (578ddcf) 19:13, October 11, 2018 GPL-2.0-or-later Metrolook is a Metro-inspired fork of the Vector skin immewnity, Paladox, Craig Davison and lagleki

does not show the tray icon next to the bell icon in the top-bar of my wiki, so I managed to show all the notifications in one place (the bell).

Despite every attempt, I haven't been able to redirect notifications to "alerts" (instead of "messages").

I tried (as suggested below by @Roan Kattouw (WMF)) with:

$wgExtensionFunctions[] = function () {

    global $wgEchoNotifications;

    // To change individual notification types:

    $wgEchoNotifications['welcome']['section'] = 'alert';

    // To change all notification types at once:

    foreach ( $wgEchoNotificationTypes as &$data ) {

        $data['section'] = 'alert';

    }

};

in LocalSettings.php, and also to modify the file .../extensions/Echo/extension.json (as explained in Echo Extension Configuration section) like this:

"thank-you-edit": {

                                        "user-locators": [

                                                "EchoUserLocator::locateEventAgent"

                                        ],

                                        "category": "system",

                                        "notify-type-availability": {

                                                "email": false

                                        },

                                        "group": "positive",

                                        "presentation-model": "EchoEditThresholdPresentationModel",

                                        "section": "alert"

},

but without success.

What should I do?

Varlin (talkcontribs)

Hi, I don't know if you're still looking for an answer, but I managed to display all notifications under the bell icon (so I can hide the tray icon, I don't see the point of having two icons), with this code :

$wgExtensionFunctions[] = function () {
    global $wgEchoNotifications;
    foreach ( $wgEchoNotifications as &$data ) {
        $data['section'] = 'alert';
    }
};

Thanks, your messages helped.

Silkwood (talkcontribs)

Thank you so much.

89.87.78.186 (talkcontribs)

Exactly what I needed, thanks a lot. Any clarification on why it is implemented with two icons instead of one ?

Reply to "Configuration: $wgEchoNotifications"
Chopin2712 (talkcontribs)

Hello, I have just installed Echo on my Mediawiki install but the mentions are not working. I don't receive any notifications when I use format. Can you help me? I don't know what to do. I will also add that I didn't setted up any config. This is my only configuration for this extension:

wfLoadExtension( 'Echo' );
105.112.50.57 (talkcontribs)

Did you get solution?

Chopin2712 (talkcontribs)

No, sorry

Wshen98 (talkcontribs)

not working

Wshen98 (talkcontribs)

setup a new server. seems it's now working if talk is signed. don't know how to remove this requirement in MediaWiki:Echo-pref-tooltip-mention as mentioned in the guide. anyone has any idea?

Reply to "Mentions doesn't work"

mention a user worked a couple of times and stopped working

2
132.234.47.150 (talkcontribs)

hello,

just installing a new mediawiki, i have echo installed, also added "wfLoadExtension( 'Echo' );" to LocalSettings.php. It acually worked twice. after that, it stopped working (like in a couple of minutes, without changing any configuration).


is there any troubleshooting guide?

thanks

132.234.47.150 (talkcontribs)

i have run php update.php already

Reply to "mention a user worked a couple of times and stopped working"

Enabling for anonymous users

1
Garuda3 (talkcontribs)

Hello, I have MobileFrontend installed but because it hides the talk page alert, anonymous mobile users can't see their talk pages. Is it possible to enable Echo for anonymous users, so they can see notifications when their talk page is altered? Thanks

Reply to "Enabling for anonymous users"

Problems Setting up Echo on my MediaWiki

10
Summary by KHarlan (WMF)

There is a phab task for this problem, and also a patch (just uploaded). Let's continue the discussion on that phab task. Thanks!

MasterBanri (talkcontribs)

I followed the installation step by step but when i load the wfLoadExtension( 'Echo' ); then when i load my wiki page, i get the following. I did run the update script through the web option. But it didnt do anything, can i get any help?

MediaWiki internal error.

Original exception: [XjeZihQ@PlaIURwVhWHuVAAAANc] /Special:Version Wikimedia\Rdbms\DBQueryError from line 1587 of /var/www/vhosts/geministation.com/wiki.geministation.com/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT COUNT(*) AS `rowcount` FROM (SELECT 1 FROM `wikiecho_notification` LEFT JOIN `wikiecho_event` ON ((notification_event=event_id)) WHERE notification_user = '4' AND notification_read_timestamp IS NULL AND event_deleted = '0' AND event_type IN ('edit-user-talk','reverted','mention','mention-summary','mention-failure','mention-failure-too-many','mention-success','user-rights','emailuser','foreign') LIMIT 100 ) `tmp_count`

Function: EchoUserNotificationGateway::getCappedNotificationCount

Error: 1146 Table 'gemwiki.wikiecho_notification' doesn't exist (localhost)


Backtrace:

#0 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/libs/rdbms/database/Database.php(1556): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)

#1 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/libs/rdbms/database/Database.php(1274): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)

#2 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/libs/rdbms/database/Database.php(1784): Wikimedia\Rdbms\Database->query(string, string)

#3 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/libs/rdbms/database/Database.php(1929): Wikimedia\Rdbms\Database->select(array, array, array, string)

#4 /var/www/vhosts/geministation.com/wiki.geministation.com/extensions/Echo/includes/gateway/UserNotificationGateway.php(171): Wikimedia\Rdbms\Database->selectRowCount(array, string, array, string, array, array)

#5 /var/www/vhosts/geministation.com/wiki.geministation.com/extensions/Echo/includes/NotifUser.php(543): EchoUserNotificationGateway->getCappedNotificationCount(integer, array, integer)

#6 /var/www/vhosts/geministation.com/wiki.geministation.com/extensions/Echo/includes/NotifUser.php(502): MWEchoNotifUser->computeLocalCountsAndTimestamps()

#7 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/libs/objectcache/WANObjectCache.php(1414): MWEchoNotifUser->{closure}(boolean, integer, array, NULL)

#8 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/libs/objectcache/WANObjectCache.php(1275): WANObjectCache->doGetWithSetCallback(string, integer, Closure, array)

#9 /var/www/vhosts/geministation.com/wiki.geministation.com/extensions/Echo/includes/NotifUser.php(503): WANObjectCache->getWithSetCallback(string, integer, Closure)

#10 /var/www/vhosts/geministation.com/wiki.geministation.com/extensions/Echo/includes/NotifUser.php(182): MWEchoNotifUser->getCountsAndTimestamps(boolean)

#11 /var/www/vhosts/geministation.com/wiki.geministation.com/extensions/Echo/includes/NotifUser.php(134): MWEchoNotifUser->getNotificationCount(string)

#12 /var/www/vhosts/geministation.com/wiki.geministation.com/extensions/Echo/includes/EchoHooks.php(966): MWEchoNotifUser->getMessageCount()

#13 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/Hooks.php(174): EchoHooks::onPersonalUrls(array, Title, SkinVector)

#14 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/Hooks.php(234): Hooks::callHook(string, array, array, NULL, string)

#15 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/skins/SkinTemplate.php(762): Hooks::runWithoutAbort(string, array)

#16 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/skins/SkinTemplate.php(463): SkinTemplate->buildPersonalUrls()

#17 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/skins/SkinTemplate.php(228): SkinTemplate->prepareQuickTemplate()

#18 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/OutputPage.php(2723): SkinTemplate->outputPage()

#19 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/MediaWiki.php(872): OutputPage->output(boolean)

#20 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/MediaWiki.php(884): MediaWiki->{closure}()

#21 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/MediaWiki.php(515): MediaWiki->main()

#22 /var/www/vhosts/geministation.com/wiki.geministation.com/index.php(42): MediaWiki->run()

#23 {main}

Exception caught inside exception handler: [XjeZihQ@PlaIURwVhWHuVAAAANc] /Special:Version Wikimedia\Rdbms\DBQueryError from line 1587 of /var/www/vhosts/geministation.com/wiki.geministation.com/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT COUNT(*) AS `rowcount` FROM (SELECT 1 FROM `wikiecho_notification` LEFT JOIN `wikiecho_event` ON ((notification_event=event_id)) WHERE notification_user = '4' AND notification_read_timestamp IS NULL AND event_deleted = '0' AND event_type IN ('edit-user-talk','reverted','mention','mention-summary','mention-failure','mention-failure-too-many','mention-success','user-rights','emailuser','foreign') LIMIT 100 ) `tmp_count`

Function: EchoUserNotificationGateway::getCappedNotificationCount

Error: 1146 Table 'gemwiki.wikiecho_notification' doesn't exist (localhost)

KHarlan (WMF) (talkcontribs)

What configuration values do you have in place related to Echo?

Do you have multiple wikis (and databases) served from this one document root?

It certainly looks like update.php didn’t run. KHarlan (WMF) (talk) 08:18, 3 February 2020 (UTC)

MasterBanri (talkcontribs)

I only have 1 wiki and wont need multiple.

I dont have any config values, just the loading code: wfLoadExtension( 'Echo' );

Is that the issue?

I ran the web updater but yeah...

MasterBanri (talkcontribs)

I guess this thread isnt active enough to provide help.

KHarlan (WMF) (talkcontribs)

@MasterBanri it looks like update.php didn't run. Can you try via the command-line, if you have access?

MasterBanri (talkcontribs)

MediaWiki internal error.

Original exception: [XjsztnVLTtZUulTtYuz-1AAAAQs] /Main_Page Wikimedia\Rdbms\DBQueryError from line 1587 of /var/www/vhosts/geministation.com/wiki.geministation.com/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT event_id,event_type,event_variant,event_agent_id,event_agent_ip,event_extra,event_page_id,event_deleted,notification_timestamp FROM `wikiecho_event` INNER JOIN `wikiecho_notification` ON ((notification_event=event_id)) INNER JOIN `wikiecho_target_page` ON ((etp_event=event_id)) WHERE event_deleted = '0' AND notification_user = '3' AND notification_read_timestamp IS NULL AND etp_page = '1'

Function: EchoEventMapper::fetchUnreadByUserAndPage

Error: 1146 Table 'gemwiki.wikiecho_event' doesn't exist (localhost)

Backtrace:

#0 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/libs/rdbms/database/Database.php(1556): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)

#1 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/libs/rdbms/database/Database.php(1274): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)

#2 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/libs/rdbms/database/Database.php(1784): Wikimedia\Rdbms\Database->query(string, string)

#3 /var/www/vhosts/geministation.com/wiki.geministation.com/extensions/Echo/includes/mapper/EventMapper.php(151): Wikimedia\Rdbms\Database->select(array, array, array, string, NULL, array)

#4 /var/www/vhosts/geministation.com/wiki.geministation.com/extensions/Echo/includes/EchoHooks.php(885): EchoEventMapper->fetchUnreadByUserAndPage(User, integer)

#5 /var/www/vhosts/geministation.com/wiki.geministation.com/extensions/Echo/includes/EchoHooks.php(962): EchoHooks::processMarkAsRead(User, WebRequest, Title)

#6 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/Hooks.php(174): EchoHooks::onPersonalUrls(array, Title, SkinVector)

#7 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/Hooks.php(234): Hooks::callHook(string, array, array, NULL, string)

#8 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/skins/SkinTemplate.php(762): Hooks::runWithoutAbort(string, array)

#9 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/skins/SkinTemplate.php(463): SkinTemplate->buildPersonalUrls()

#10 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/skins/SkinTemplate.php(228): SkinTemplate->prepareQuickTemplate()

#11 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/OutputPage.php(2723): SkinTemplate->outputPage()

#12 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/MediaWiki.php(872): OutputPage->output(boolean)

#13 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/MediaWiki.php(884): MediaWiki->{closure}()

#14 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/MediaWiki.php(515): MediaWiki->main()

#15 /var/www/vhosts/geministation.com/wiki.geministation.com/index.php(42): MediaWiki->run()

#16 {main}

Exception caught inside exception handler: [XjsztnVLTtZUulTtYuz-1AAAAQs] /Main_Page Wikimedia\Rdbms\DBQueryError from line 1587 of /var/www/vhosts/geministation.com/wiki.geministation.com/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT event_id,event_type,event_variant,event_agent_id,event_agent_ip,event_extra,event_page_id,event_deleted,notification_timestamp FROM `wikiecho_event` INNER JOIN `wikiecho_notification` ON ((notification_event=event_id)) INNER JOIN `wikiecho_target_page` ON ((etp_event=event_id)) WHERE event_deleted = '0' AND notification_user = '3' AND notification_read_timestamp IS NULL AND etp_page = '1'

Function: EchoEventMapper::fetchUnreadByUserAndPage

Error: 1146 Table 'gemwiki.wikiecho_event' doesn't exist (localhost)

Backtrace:

#0 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/libs/rdbms/database/Database.php(1556): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)

#1 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/libs/rdbms/database/Database.php(1274): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)

#2 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/libs/rdbms/database/Database.php(1784): Wikimedia\Rdbms\Database->query(string, string)

#3 /var/www/vhosts/geministation.com/wiki.geministation.com/extensions/Echo/includes/mapper/EventMapper.php(151): Wikimedia\Rdbms\Database->select(array, array, array, string, NULL, array)

#4 /var/www/vhosts/geministation.com/wiki.geministation.com/extensions/Echo/includes/EchoHooks.php(885): EchoEventMapper->fetchUnreadByUserAndPage(User, integer)

#5 /var/www/vhosts/geministation.com/wiki.geministation.com/extensions/Echo/includes/EchoHooks.php(962): EchoHooks::processMarkAsRead(User, WebRequest, Title)

#6 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/Hooks.php(174): EchoHooks::onPersonalUrls(array, Title, SkinVector)

#7 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/Hooks.php(234): Hooks::callHook(string, array, array, NULL, string)

#8 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/skins/SkinTemplate.php(762): Hooks::runWithoutAbort(string, array)

#9 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/skins/SkinTemplate.php(463): SkinTemplate->buildPersonalUrls()

#10 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/skins/SkinTemplate.php(228): SkinTemplate->prepareQuickTemplate()

#11 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/OutputPage.php(2723): SkinTemplate->outputPage()

#12 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/exception/MWExceptionRenderer.php(134): OutputPage->output()

#13 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/exception/MWExceptionRenderer.php(53): MWExceptionRenderer::reportHTML(Wikimedia\Rdbms\DBQueryError)

#14 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/exception/MWExceptionHandler.php(98): MWExceptionRenderer::output(Wikimedia\Rdbms\DBQueryError, integer)

#15 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/exception/MWExceptionHandler.php(172): MWExceptionHandler::report(Wikimedia\Rdbms\DBQueryError)

#16 /var/www/vhosts/geministation.com/wiki.geministation.com/includes/MediaWiki.php(542): MWExceptionHandler::handleException(Wikimedia\Rdbms\DBQueryError)

#17 /var/www/vhosts/geministation.com/wiki.geministation.com/index.php(42): MediaWiki->run()

#18 {main}

Lostraven (talkcontribs)

I'm having a similar problem. Apparently multiple people over the years have had similar issues. Yes, I ran the updater.


MediaWiki internal error.

Original exception: [Xjyg-XCz3wOr8mEEXQNjgwAAAAk] 2020-02-06 23:27:57: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"

Exception caught inside exception handler.

Lostraven (talkcontribs)

Apparently this problem has been happening for more than four years! I wish I could understand why this isn't yet resolved in all that time. Yes, the web updater isn't creating the tables. Yes, I'm on a hosted solution. No, I have no clue how to do this: "So I went to phpMyAdmin and imported the echo.sql to create the new tables." I'm going to try the trick mentioned by AhmadF.Cheema here:


UPDATE: Ahmad's method seems to have worked for me.

Step 1. Add this to the bottom of your LocalSettings.php:

# Schema updates for update.php
$wgHooks['LoadExtensionSchemaUpdates'][] = 'fnMyHook';
function fnMyHook( DatabaseUpdater $updater ) {
$updater->addExtensionTable( 'echo_target_page',
__DIR__ . '/echo.sql' );
return true;
}

Step 2. Go to Extensions/Echo and copy echo.sql to both the base directory (where LocalSettings.php resides) and to the Maintenance folder. (Ahmad wasn't sure which folder it pulls from.)


Step 3. Run the web updater again. Walla! The tables are created. Presumably I can then remove the added material from Step 1 and 2.

Lustiger seth (talkcontribs)

thanks!
i installed a mediawiki 1.31 LTS today and had a similar problem with the Echo extension (1_31 branch).

update.php did not work, but printed (and still prints) error messages all the time, such as:

 Wikimedia\Rdbms\DBConnectionError from line 1004 of .../includes/libs/rdbms/database/Database.php: Cannot access the database: No such file or directory (localhost)

your solution solved my problem, too! Echo works fine now. :-)

Iamchenzetian (talkcontribs)

it works by the method above


Thanks!

Reply to "Problems Setting up Echo on my MediaWiki"

My site breaks when logging in after installing echo

2
2601:601:9A80:26B0:2D85:B2E1:AB74:F8EA (talkcontribs)

MediaWiki internal error.

Original exception: [X1VXyH0qFBPD7urcbpcUrgAAOjk] /index.php?title=User:68duck Wikimedia\Rdbms\DBQueryError from line 1603 of /home4/anskidsc/public_html/wiki/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT event_id,event_type,event_variant,event_agent_id,event_agent_ip,event_extra,event_page_id,event_deleted,notification_timestamp FROM `mwu2_echo_event` INNER JOIN `mwu2_echo_notification` ON ((notification_event=event_id)) INNER JOIN `mwu2_echo_target_page` ON ((etp_event=event_id)) WHERE event_deleted = '0' AND notification_user = '1' AND notification_read_timestamp IS NULL AND etp_page = '11'

Function: EchoEventMapper::fetchUnreadByUserAndPage

Error: 1146 Table 'anskidsc_mw19395.mwu2_echo_event' doesn't exist (localhost)

Backtrace:

#0 /home4/anskidsc/public_html/wiki/includes/libs/rdbms/database/Database.php(1574): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)

#1 /home4/anskidsc/public_html/wiki/includes/libs/rdbms/database/Database.php(1152): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)

#2 /home4/anskidsc/public_html/wiki/includes/libs/rdbms/database/Database.php(1807): Wikimedia\Rdbms\Database->query(string, string)

#3 /home4/anskidsc/public_html/wiki/extensions/Echo/includes/mapper/EventMapper.php(171): Wikimedia\Rdbms\Database->select(array, array, array, string, NULL, array)

#4 /home4/anskidsc/public_html/wiki/extensions/Echo/includes/EchoHooks.php(872): EchoEventMapper->fetchUnreadByUserAndPage(User, integer)

#5 /home4/anskidsc/public_html/wiki/extensions/Echo/includes/EchoHooks.php(949): EchoHooks::processMarkAsRead(User, WebRequest, Title)

#6 /home4/anskidsc/public_html/wiki/includes/Hooks.php(174): EchoHooks::onPersonalUrls(array, Title, SkinMinerva)

#7 /home4/anskidsc/public_html/wiki/includes/Hooks.php(234): Hooks::callHook(string, array, array, NULL, string)

#8 /home4/anskidsc/public_html/wiki/includes/skins/SkinTemplate.php(744): Hooks::runWithoutAbort(string, array)

#9 /home4/anskidsc/public_html/wiki/includes/skins/SkinTemplate.php(446): SkinTemplate->buildPersonalUrls()

#10 /home4/anskidsc/public_html/wiki/skins/MinervaNeue/includes/skins/SkinMinerva.php(150): SkinTemplate->prepareQuickTemplate()

#11 /home4/anskidsc/public_html/wiki/includes/skins/SkinTemplate.php(215): SkinMinerva->prepareQuickTemplate()

#12 /home4/anskidsc/public_html/wiki/includes/OutputPage.php(2574): SkinTemplate->outputPage()

#13 /home4/anskidsc/public_html/wiki/includes/MediaWiki.php(907): OutputPage->output(boolean)

#14 /home4/anskidsc/public_html/wiki/includes/MediaWiki.php(919): MediaWiki->{closure}()

#15 /home4/anskidsc/public_html/wiki/includes/MediaWiki.php(527): MediaWiki->main()

#16 /home4/anskidsc/public_html/wiki/index.php(44): MediaWiki->run()

#17 {main}

Exception caught inside exception handler: [X1VXyH0qFBPD7urcbpcUrgAAOjk] /index.php?title=User:68duck Wikimedia\Rdbms\DBQueryError from line 1603 of /home4/anskidsc/public_html/wiki/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT event_id,event_type,event_variant,event_agent_id,event_agent_ip,event_extra,event_page_id,event_deleted,notification_timestamp FROM `mwu2_echo_event` INNER JOIN `mwu2_echo_notification` ON ((notification_event=event_id)) INNER JOIN `mwu2_echo_target_page` ON ((etp_event=event_id)) WHERE event_deleted = '0' AND notification_user = '1' AND notification_read_timestamp IS NULL AND etp_page = '11'

Function: EchoEventMapper::fetchUnreadByUserAndPage

Error: 1146 Table 'anskidsc_mw19395.mwu2_echo_event' doesn't exist (localhost)

Backtrace:

#0 /home4/anskidsc/public_html/wiki/includes/libs/rdbms/database/Database.php(1574): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)

#1 /home4/anskidsc/public_html/wiki/includes/libs/rdbms/database/Database.php(1152): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)

#2 /home4/anskidsc/public_html/wiki/includes/libs/rdbms/database/Database.php(1807): Wikimedia\Rdbms\Database->query(string, string)

#3 /home4/anskidsc/public_html/wiki/extensions/Echo/includes/mapper/EventMapper.php(171): Wikimedia\Rdbms\Database->select(array, array, array, string, NULL, array)

#4 /home4/anskidsc/public_html/wiki/extensions/Echo/includes/EchoHooks.php(872): EchoEventMapper->fetchUnreadByUserAndPage(User, integer)

#5 /home4/anskidsc/public_html/wiki/extensions/Echo/includes/EchoHooks.php(949): EchoHooks::processMarkAsRead(User, WebRequest, Title)

#6 /home4/anskidsc/public_html/wiki/includes/Hooks.php(174): EchoHooks::onPersonalUrls(array, Title, SkinMinerva)

#7 /home4/anskidsc/public_html/wiki/includes/Hooks.php(234): Hooks::callHook(string, array, array, NULL, string)

#8 /home4/anskidsc/public_html/wiki/includes/skins/SkinTemplate.php(744): Hooks::runWithoutAbort(string, array)

#9 /home4/anskidsc/public_html/wiki/includes/skins/SkinTemplate.php(446): SkinTemplate->buildPersonalUrls()

#10 /home4/anskidsc/public_html/wiki/skins/MinervaNeue/includes/skins/SkinMinerva.php(150): SkinTemplate->prepareQuickTemplate()

#11 /home4/anskidsc/public_html/wiki/includes/skins/SkinTemplate.php(215): SkinMinerva->prepareQuickTemplate()

#12 /home4/anskidsc/public_html/wiki/includes/OutputPage.php(2574): SkinTemplate->outputPage()

#13 /home4/anskidsc/public_html/wiki/includes/exception/MWExceptionRenderer.php(134): OutputPage->output()

#14 /home4/anskidsc/public_html/wiki/includes/exception/MWExceptionRenderer.php(53): MWExceptionRenderer::reportHTML(Wikimedia\Rdbms\DBQueryError)

#15 /home4/anskidsc/public_html/wiki/includes/exception/MWExceptionHandler.php(121): MWExceptionRenderer::output(Wikimedia\Rdbms\DBQueryError, integer)

#16 /home4/anskidsc/public_html/wiki/includes/exception/MWExceptionHandler.php(195): MWExceptionHandler::report(Wikimedia\Rdbms\DBQueryError)

#17 /home4/anskidsc/public_html/wiki/includes/MediaWiki.php(558): MWExceptionHandler::handleException(Wikimedia\Rdbms\DBQueryError)

#18 /home4/anskidsc/public_html/wiki/index.php(44): MediaWiki->run()

#19 {main}

KHarlan (WMF) (talkcontribs)

How did you install Echo? Did you run update.php?

Reply to "My site breaks when logging in after installing echo"
Return to "Echo" page.