Topic on Project:Support desk

Error on Echo after installation

8
WikiGamee (talkcontribs)

Hey there,

I recently installed echo extension on my wiki and I get error like this:

[XtnxGA5HlhkDk-tPralCPwAAABI] /wiki/Main_Page MWException from line 588 of /home/vol5_4/epizy.com/epiz_25902755/htdocs/wiki/includes/cache/localisation/LocalisationCache.php: LocalisationCache::readJSONFile: Invalid JSON file: /home/vol5_4/epizy.com/epiz_25902755/htdocs/wiki/extensions/Echo/i18n/hi.json

Backtrace:

#0 /home/vol5_4/epizy.com/epiz_25902755/htdocs/wiki/includes/cache/localisation/LocalisationCache.php(918): LocalisationCache->readJSONFile(string)

#1 /home/vol5_4/epizy.com/epiz_25902755/htdocs/wiki/includes/cache/localisation/LocalisationCache.php(489): LocalisationCache->recache(string)

#2 /home/vol5_4/epizy.com/epiz_25902755/htdocs/wiki/includes/cache/localisation/LocalisationCache.php(363): LocalisationCache->initLanguage(string)

#3 /home/vol5_4/epizy.com/epiz_25902755/htdocs/wiki/includes/cache/localisation/LocalisationCache.php(304): LocalisationCache->loadItem(string, string)

#4 /home/vol5_4/epizy.com/epiz_25902755/htdocs/wiki/languages/Language.php(4413): LocalisationCache->getItem(string, string)

#5 /home/vol5_4/epizy.com/epiz_25902755/htdocs/wiki/languages/Language.php(265): Language::getFallbacksFor(string)

#6 /home/vol5_4/epizy.com/epiz_25902755/htdocs/wiki/languages/Language.php(225): Language::newFromCode(string)

#7 /home/vol5_4/epizy.com/epiz_25902755/htdocs/wiki/includes/ServiceWiring.php(163): Language::factory(string)

#8 /home/vol5_4/epizy.com/epiz_25902755/htdocs/wiki/includes/libs/services/ServiceContainer.php(458): Wikimedia\Services\ServiceContainer->{closure}(MediaWiki\MediaWikiServices)

#9 /home/vol5_4/epizy.com/epiz_25902755/htdocs/wiki/includes/libs/services/ServiceContainer.php(427): Wikimedia\Services\ServiceContainer->createService(string)

#10 /home/vol5_4/epizy.com/epiz_25902755/htdocs/wiki/includes/MediaWikiServices.php(540): Wikimedia\Services\ServiceContainer->getService(string)

#11 /home/vol5_4/epizy.com/epiz_25902755/htdocs/wiki/includes/Setup.php(801): MediaWiki\MediaWikiServices->getContentLanguage()

#12 /home/vol5_4/epizy.com/epiz_25902755/htdocs/wiki/includes/WebStart.php(81): require_once(string)

#13 /home/vol5_4/epizy.com/epiz_25902755/htdocs/wiki/index.php(41): require(string)

#14 {main}

I follow all the instructions provided for avoid this error but, nothing happens. This is very important extension for me please help. I set my wiki to Hindi language.

Thanks

Ciencia Al Poder (talkcontribs)

Looks like the /home/vol5_4/epizy.com/epiz_25902755/htdocs/wiki/extensions/Echo/i18n/hi.json file is corrupted. Try to download the extension again

WikiGamee (talkcontribs)

@Ciencia Al Poder: Thanks for reply. but, when I reinstall echo after download. I see "HTTP 500 error - unable to handle this request".

AhmadF.Cheema (talkcontribs)

The 500 error could be because of some syntax mistake you might've made while editing your LocalSettings.php file. Kindly check and make sure that such errors don't exist.

WikiGamee (talkcontribs)

@AhmadF.Cheema: I check that file, there is nothing any syntax mistake. but, when I remove "wfLoadExtension( 'Echo' )" line from LocalSettings.php file then my wiki is work like before.

AhmadF.Cheema (talkcontribs)

There should be a semicolon ; at the end of wfLoadExtension( 'Echo' ).

WikiGamee (talkcontribs)

Sorry. but, I forget to add semicolon on my previous comment. Semicolon is already exist in my file.

Ciencia Al Poder (talkcontribs)

See Blank page. Obviously we're not on your server to check what the error is.

Most likely you forgot to run composer update --no-dev

Reply to "Error on Echo after installation"