When I update through the web with mw-config the LocalSetting.php is override by the update and it becames the default one and I loose all my configuration.
Where do I mistake?
thanks maria
I tried to install the Extension:Echo. My mediawiki version is 1.27.1
I download the exstension for that vrsion following Extension:Echo
I added to my LocalSettings.php the line wfLoadExtension( 'Echo' );
but when I update I have the following error, in effect I don't have the file extension.json in my directory Echo.
Where I can get this file?
Fatal error: Uncaught exception 'Exception' with message '/web/htdocs/www.nonunadimeno.net/home/wiki/extensions/Echo/extension.json does not exist!' in /web/htdocs/www.nonunadimeno.net/home/wiki/includes/registration/ExtensionRegistry.php:106 Stack trace: #0 /web/htdocs/www.nonunadimeno.net/home/wiki/includes/GlobalFunctions.php(115): ExtensionRegistry->queue('/web/htdocs/www...')
#1 /web/htdocs/www.nonunadimeno.net/home/wiki/LocalSettings.php(132): wfLoadExtension('Echo') #2 /web/htdocs/www.nonunadimeno.net/home/wiki/includes/WebStart.php(124): require_once('/web/htdocs/www...') #3 /web/htdocs/www.nonunadimeno.net/home/wiki/index.php(40): require('/web/htdocs/www...') #4 {main} thrown in /web/htdocs/www.nonunadimeno.net/home/wiki/includes/registration/ExtensionRegistry.php on line 106
If I try to install Echo Extension adding to my LocalSettings.php the line require_once "$IP/extensions/Echo/Echo.php"; I get the following error.
What I have to do which is the right line to add to LocalSettings.php
wfLoadExtension( 'Echo' );
require_once "$IP/extensions/Echo/Echo.php";
and how can i solve my problem? I am blocked
thnks
MediaWiki internal error.
Original exception: [WPYVHVkuavcAAAAiEJUAAAAB] /wiki/index.php?title=Main_Page DBQueryError from line 934 of /web/htdocs/www.nonunadimeno.net/home/wiki/includes/db/Database.php: A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: SELECT etp_user,etp_page,etp_event,event_type FROM `mw0a_echo_target_page` JOIN `mw0a_echo_event` ON ((etp_event=event_id)) WHERE etp_user = '2' AND etp_page = '1'
Function: EchoTargetPageMapper::fetchByUserPageId
Error: 1146 Table 'Sql1081972_1.mw0a_echo_target_page' doesn't exist (89.46.111.40)
Backtrace:
#0 /web/htdocs/www.nonunadimeno.net/home/wiki/includes/db/Database.php(901): DatabaseBase->reportQueryError(string, integer, string, string, boolean)
#1 /web/htdocs/www.nonunadimeno.net/home/wiki/includes/db/Database.php(1234): DatabaseBase->query(string, string)
#2 /web/htdocs/www.nonunadimeno.net/home/wiki/extensions/Echo/includes/mapper/TargetPageMapper.php(40): DatabaseBase->select(array, array, array, string, array, array)
#3 /web/htdocs/www.nonunadimeno.net/home/wiki/extensions/Echo/Hooks.php(786): EchoTargetPageMapper->fetchByUserPageId(User, integer)
#4 [internal function]: EchoHooks::onPersonalUrls(array, Title, SkinVector)
#5 /web/htdocs/www.nonunadimeno.net/home/wiki/includes/Hooks.php(195): call_user_func_array(string, array)
#6 /web/htdocs/www.nonunadimeno.net/home/wiki/includes/skins/SkinTemplate.php(706): Hooks::run(string, array)
#7 /web/htdocs/www.nonunadimeno.net/home/wiki/includes/skins/SkinTemplate.php(472): SkinTemplate->buildPersonalUrls()
#8 /web/htdocs/www.nonunadimeno.net/home/wiki/includes/skins/SkinTemplate.php(246): SkinTemplate->prepareQuickTemplate(OutputPage)
#9 /web/htdocs/www.nonunadimeno.net/home/wiki/includes/OutputPage.php(2324): SkinTemplate->outputPage()
#10 /web/htdocs/www.nonunadimeno.net/home/wiki/includes/MediaWiki.php(753): OutputPage->output()
#11 /web/htdocs/www.nonunadimeno.net/home/wiki/includes/MediaWiki.php(519): MediaWiki->main()
#12 /web/htdocs/www.nonunadimeno.net/home/wiki/index.php(43): MediaWiki->run()
#13 {main}