Project:Support desk

About this board

Welcome to the MediaWiki Support desk, where you can ask MediaWiki questions!

(Read this message in a different language)

See also

Other places to ask for help:

Before you post

Post a new question

  1. To help us answer your questions, please indicate which versions you are using, as found on your wiki's Special:Version page:
    • MediaWiki version
    • PHP version
    • Database type and version
  2. Please include the web address (URL) to your wiki if possible. It's often easier for us to identify the source of the problem if we can see the error directly.
  3. To start a new thread, click "Start a new topic".
211.44.77.199 (talkcontribs)

[8df40c467aa004a36d31c898] /index.php?title=%EB%AA%A8%EB%93%88:Wikilowve&action=submit MWException from line 95 of /var/www/clients/client359/web1558/web/extensions/Scribunto/includes/engines/LuaStandalone/LuaStandaloneInterpreter.php: The lua binary (/var/www/clients/client359/web1558/web/extensions/Scribunto/includes/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua) is not executable.

Backtrace:

#0 /var/www/clients/client359/web1558/web/extensions/Scribunto/includes/engines/LuaStandalone/LuaStandaloneEngine.php(104): Scribunto_LuaStandaloneInterpreter->__construct()

#1 /var/www/clients/client359/web1558/web/extensions/Scribunto/includes/engines/LuaCommon/LuaEngine.php(120): Scribunto_LuaStandaloneEngine->newInterpreter()

#2 /var/www/clients/client359/web1558/web/extensions/Scribunto/includes/engines/LuaStandalone/LuaStandaloneEngine.php(16): Scribunto_LuaEngine->load()

#3 /var/www/clients/client359/web1558/web/extensions/Scribunto/includes/engines/LuaCommon/LuaEngine.php(223): Scribunto_LuaStandaloneEngine->load()

#4 /var/www/clients/client359/web1558/web/extensions/Scribunto/includes/engines/LuaCommon/LuaModule.php(38): Scribunto_LuaEngine->getInterpreter()

#5 /var/www/clients/client359/web1558/web/extensions/Scribunto/includes/engines/LuaCommon/LuaModule.php(25): Scribunto_LuaModule->getInitChunk()

#6 /var/www/clients/client359/web1558/web/extensions/Scribunto/includes/common/ScribuntoEngineBase.php(193): Scribunto_LuaModule->validate()

#7 /var/www/clients/client359/web1558/web/extensions/Scribunto/includes/common/ScribuntoContent.php(35): ScribuntoEngineBase->validate()

#8 /var/www/clients/client359/web1558/web/extensions/Scribunto/includes/common/ScribuntoContent.php(107): ScribuntoContent->validate()

#9 /var/www/clients/client359/web1558/web/includes/content/AbstractContent.php(590): ScribuntoContent->fillParserOutput()

#10 /var/www/clients/client359/web1558/web/includes/Revision/RenderedRevision.php(263): AbstractContent->getParserOutput()

#11 /var/www/clients/client359/web1558/web/includes/Revision/RenderedRevision.php(235): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached()

#12 /var/www/clients/client359/web1558/web/includes/Revision/RevisionRenderer.php(215): MediaWiki\Revision\RenderedRevision->getSlotParserOutput()

#13 /var/www/clients/client359/web1558/web/includes/Revision/RevisionRenderer.php(152): MediaWiki\Revision\RevisionRenderer->combineSlotOutput()

#14 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}()

#15 /var/www/clients/client359/web1558/web/includes/Revision/RenderedRevision.php(197): call_user_func()

#16 /var/www/clients/client359/web1558/web/includes/Storage/DerivedPageDataUpdater.php(1315): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()

#17 [internal function]: MediaWiki\Storage\DerivedPageDataUpdater->getCanonicalParserOutput()

#18 /var/www/clients/client359/web1558/web/includes/edit/PreparedEdit.php(104): call_user_func()

#19 /var/www/clients/client359/web1558/web/includes/edit/PreparedEdit.php(119): MediaWiki\Edit\PreparedEdit->getOutput()

#20 /var/www/clients/client359/web1558/web/includes/Storage/DerivedPageDataUpdater.php(1293): MediaWiki\Edit\PreparedEdit->__get()

#21 /var/www/clients/client359/web1558/web/includes/page/WikiPage.php(2117): MediaWiki\Storage\DerivedPageDataUpdater->getPreparedEdit()

#22 /var/www/clients/client359/web1558/web/extensions/ConfirmEdit/SimpleCaptcha/SimpleCaptcha.php(614): WikiPage->prepareContentForEdit()

#23 /var/www/clients/client359/web1558/web/extensions/ConfirmEdit/SimpleCaptcha/SimpleCaptcha.php(833): SimpleCaptcha->shouldCheck()

#24 /var/www/clients/client359/web1558/web/extensions/ConfirmEdit/SimpleCaptcha/SimpleCaptcha.php(869): SimpleCaptcha->doConfirmEdit()

#25 /var/www/clients/client359/web1558/web/extensions/ConfirmEdit/includes/ConfirmEditHooks.php(41): SimpleCaptcha->confirmEditMerged()

#26 /var/www/clients/client359/web1558/web/includes/HookContainer/HookContainer.php(320): ConfirmEditHooks::confirmEditMerged()

#27 /var/www/clients/client359/web1558/web/includes/HookContainer/HookContainer.php(131): MediaWiki\HookContainer\HookContainer->callLegacyHook()

#28 /var/www/clients/client359/web1558/web/includes/HookContainer/HookRunner.php(1529): MediaWiki\HookContainer\HookContainer->run()

#29 /var/www/clients/client359/web1558/web/includes/EditPage.php(1904): MediaWiki\HookContainer\HookRunner->onEditFilterMergedContent()

#30 /var/www/clients/client359/web1558/web/includes/EditPage.php(2232): EditPage->runPostMergeFilters()

#31 /var/www/clients/client359/web1558/web/includes/EditPage.php(1724): EditPage->internalAttemptSave()

#32 /var/www/clients/client359/web1558/web/includes/EditPage.php(680): EditPage->attemptSave()

#33 /var/www/clients/client359/web1558/web/includes/actions/EditAction.php(71): EditPage->edit()

#34 /var/www/clients/client359/web1558/web/includes/actions/SubmitAction.php(38): EditAction->show()

#35 /var/www/clients/client359/web1558/web/includes/MediaWiki.php(527): SubmitAction->show()

#36 /var/www/clients/client359/web1558/web/includes/MediaWiki.php(313): MediaWiki->performAction()

#37 /var/www/clients/client359/web1558/web/includes/MediaWiki.php(940): MediaWiki->performRequest()

#38 /var/www/clients/client359/web1558/web/includes/MediaWiki.php(543): MediaWiki->main()

#39 /var/www/clients/client359/web1558/web/index.php(53): MediaWiki->run()

#40 /var/www/clients/client359/web1558/web/index.php(46): wfIndexMain()

#41 {main}


This error phrase appears when trying to create a module. Do you know how to solve this?

Malyacko (talkcontribs)

It says "The lua binary is not executable", so if you want to fix that you'll have to make the lua binary executable...

Reply to "What kind of error is this?"
2600:8800:5009:9800:CD7D:E7DF:9E17:E81A (talkcontribs)

Hi everyone. I have 3 different installations of MediaWiki running. I have a 1.27.3, 1.27.4, and 1.34.2.

In all three installations when I try to navigate to the Special Pages page I get an HTTP 500 Error. The log says: RedirectSpecialArticle.php): failed to open stream: No such file or directory"

everything was working fine 2 weeks ago when I was in the database last. I haven't changed anything on the server end. Did MediaWiki make a change to their program? What could cause all 3 installs to have the same error like this?

Bawolff (talkcontribs)

does the php file exist and is readable by the webserver?

2600:8800:5009:9800:E83D:52:FF3A:E31F (talkcontribs)

No. The error message says "RedirectSpecialArticle.php" is missing. I went into the file manager on the server side and I can only see "RedirectSpecialPage.php", not Special Article.

2600:8800:5009:9800:E83D:52:FF3A:E31F (talkcontribs)

So I upgraded one of the older versions to 1.31 and now the Special Page link works again, even though it still doesn't have that specific page from the error menu.

Bawolff (talkcontribs)

you might have a mix of files from different versions or something like that (sometimes happens if you extract a tar file over an already existing install)

Reply to "Special Pages error"
2600:8800:5009:9800:E83D:52:FF3A:E31F (talkcontribs)

I just completely hosed my install by accidentally deleting the "SpecialPage" subfolder. Now the wiki won't load at all. Is there way to a "repair install" of the application?

Malyacko (talkcontribs)

Download a tarball release of the corresponding version of your wiki and copy that subfolder with the correct permissions from the tarball release to your installation, I'd say. :)

2600:8800:5009:9800:E83D:52:FF3A:E31F (talkcontribs)

I'll give that a shot, thanks

Bawolff (talkcontribs)

you could also just take the latest version of mediawiki and follow the Upgrade instructions.

Reply to "Repair Install?"
Cocopuff2018 (talkcontribs)

[6d47fe4abf2e849c3be39ccd] /index.php/Special:Block/testuser Error from line 210 of /var/www/neko.kazdel.com/mediawiki/extensions/Discord/src/DiscordHooks.php: Cannot access protected property MediaWiki\Block\DatabaseBlock::$mReason


When attempting to block a user The Discord Extension is causing this, and when i remove the Discord feed it fixes it however i want to have wiki feed without this error does anyone know how to fix this?

Cocopuff2018 (talkcontribs)

the Discord feed extensions is causing this error when blocking anyone knows how to fix it?

Ammarpad (talkcontribs)

You'd have to report the issue to the Discord maintainers, so that the extension can be fixed to stop attempting to access the property.

Reply to "Discord Feed Causing error"

Still getting Parsoid/RESTBase server (HTTP 500) errors when enabling visual editor in mediawiki 1.35 version

6
24.45.134.47 (talkcontribs)

Title says it all. Does it matter if I'm on a shared hosting at this point? I thought version 1.35 would fix this and you wouldn't need a parsoid setup.


The errors I'm getting is "Error contacting the Parsoid/RESTBase server (HTTP 500)"


Thanks for your help!

24.45.134.47 (talkcontribs)

I'm using siteground for hosting and I used their one-click install. I then added the following to the localsettings file:


wfLoadExtension( 'VisualEditor' );

// Enable by default for everybody $wgDefaultUserOptions['visualeditor-enable'] = 1;

// Optional: Set VisualEditor as the default for anonymous users // otherwise they will have to switch to VE // $wgDefaultUserOptions['visualeditor-editor'] = "visualeditor";

// Don't allow users to disable it $wgHiddenPrefs[] = 'visualeditor-enable';

// OPTIONAL: Enable VisualEditor's experimental code features #$wgDefaultUserOptions['visualeditor-enable-experimental'] = 1;

Bawolff (talkcontribs)

I would suggest trying it without using their one-click installer. Does it work if you download the official tarball from Download?

2001:B400:E27F:1A9B:CA8:8B8C:84A:3010 (talkcontribs)

I am having the same issue as well. I used official tar and did not change anything

RookieBeard (talkcontribs)

Hello,

I am using Siteground and have the same issue, did you manage to resolve the problem?

Lucio Linae (talkcontribs)

Me too. :(

Reply to "Still getting Parsoid/RESTBase server (HTTP 500) errors when enabling visual editor in mediawiki 1.35 version"

Mediawiki update 1.27.0 to 1.35.1, LDAPauthentication extension failures

3
Valentina vr (talkcontribs)

We are updating our version of Mediawiki 1.27 that has the LDAPAuthentication extension, to the latest version 1.35.1 in this the extension stopped working and according to the documentation I must use the new Ldap stack, a set of applications that I already have installed and according to the Documentation examples, authentication does not work, it says "Invalid username and password" even though I have already run the php "update" but I have no other errors.

I have enabled debugging on Mediawiki, also tried the extension migration documentation and it has not worked.

I tried resetting the password of any user from active directory, at that time the user was able to access.

Kizule (talkcontribs)

Hello,

documentation of mentioned extension says that it isn't fully updated for MediaWiki 1.27+, and that you should use Extension:LDAPAuthentication2 which is newer and maintained extension.

Please try with it.

Best regards!

Valentina vr (talkcontribs)

Hi!

It is the LDAPAuthentication2 extension that presented the authentication problem


Best regards!

Reply to "Mediawiki update 1.27.0 to 1.35.1, LDAPauthentication extension failures"

Upgrade to 1.33/1.34/1.35 = missing pages

11
168.235.111.245 (talkcontribs)

Site: https://www.lurkmore.com/view/Main_page

A huge amount of articles just give me "There is currently no text in this page. You can search for this page title in other pages, search the related logs, or create this page." after upgrading. Hit "Random page" and you'll likely end up on an article that's fine.

If you had an account and hit "Edit" while logged in, you'd see "The revision #0 of the page named "Main page" does not exist.

This is usually caused by following an outdated history link to a page that has been deleted. Details can be found in the deletion log."

Of course, the page hasn't been deleted so there's nothing there. View "History" and you get it telling you that there are "x pages" of revisions but they will not display. I have since used pretty much every maintenance script and nothing works.

Inside the DB, broken articles and working articles are all seemingly formatted in the same way. The text exists in the DB for broken ones just as it does in working ones. The maintenance script to check for pages tells me the pages exist. They just won't show up on the wiki itself.

I can revert to 1.32 with a backed up DB just fine, but attempting to upgrade fails every time in the same way.

I will note that I'm pretty sure all of the articles that don't work were modified more recently than the ones that do work. I'm pretty sure I narrowed the broken articles down to a certain point, in that articles from before that point are all fine. Like I said, though, the article structure seems to be the same in the DB for ones that do and don't work.

Bawolff (talkcontribs)
168.235.111.245 (talkcontribs)

I already said I've run every maintenance script. It doesn't matter at what step I run them.

Jonathan3 (talkcontribs)

You said, "I have since used pretty much every maintenance script"...

Bawolff (talkcontribs)

well update.php, migrateComments.php, migrateActors.php and cleanupUsersWithNoId.php are the relavent ones. When you ran them did they run siccesfully, was error messages or warnings outputted?

168.235.111.245 (talkcontribs)

They ran and did the things they do. They added some prefixed users and completed. The affected articles have nothing to do with those user accounts.

168.235.111.245 (talkcontribs)

Dumping pages using the maintenance script does not dump the "missing" pages. I can view the text content of the pages in the database. Whatever the software does to display the pages is also the method the maintenance script is using to dump them. At this point, I'm going to have to go through the DB to get the text and "create" the missing pages one by one.

168.235.111.245 (talkcontribs)

Doing it again and ensuring it's running properly with the old DB, the revisions are there in the dump, and MediaWiki 1.35 even recognizes it, yet it refuses to import the revisions with a result along the lines of "content already exists or errors during import".

Jonathan3 (talkcontribs)

Would it be possible to install MediaWiki again, and write a script taking the latest revision of each page directly from the old database and create pages in the new wiki using the MediaWiki API?

In the past I had a malfunctioning extension that prevented the job queue from categorising any pages saved while the extension was present. I had to upgrade the extension to a non-buggy version and then run the relevant maintenance scripts. I wonder if something similar happened to you to cause your problem for the recent pages. Maybe an extension or customisation is using a function that’s been removed in MW1.33 or something like that.

Bawolff (talkcontribs)

can you check that referential integrity is correct for the pages in question (i.e. find the entry in page table, check that page_latest points to a valid rev_id in revision table. For that row, verify that rev_actor points to a valid actor_id row in actor table and rev_comment_id points to a valid row in comment table)

131.215.251.79 (talkcontribs)

Are there any fixes for this issue? I've just encountered the exact same problem.

Reply to "Upgrade to 1.33/1.34/1.35 = missing pages"

Weird links on a documentation page

3
Summary by Clump

Not spam, but broken.

165.225.76.79 (talkcontribs)

I'm at work and I tried to go to the download page of an Extension called LicenseOnUpload.

What a suprise !

Not sure it belongs there tho

Extension:LicenceOnUpload

Pppery (talkcontribs)

@Clump: This extension was not spam and once had a valid download link. The fact that the website that hosted the code also hosts porn should not disqualify the extension from being posted. It should have been archived or tagged as {{DownloadBroken}}, not deleted.

Clump (talkcontribs)

Hi. Ok. It was less the porn hosting, and more the combination of externally-hosted/broken-link/porn/IP-created/vanished-author. In any case, restored (talk page and associated archive was empty) and tagged.

Reply to "Weird links on a documentation page"

Problems loading the wiki on Windows

10
Cible30 (talkcontribs)

Hello, i moved my wiki from Debian to Windows. I use XAMPP (php 7.4) and i had the folder (named wiki) containing the file system of the wiki on xampp/htdocs. I also removed the folder of 2 extension (and their localsetting line) that gived a warning.

When i write localhost/wiki it gives the following error:

MediaWiki internal error.

Original exception: [cedf8c6d6bc85e98eb987394] /wiki/ Wikimedia\Rdbms\DBConnectionError from line 1380 of C:\xampp1\htdocs\wiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php: Cannot access the database: Unknown error (127.0.0.1) Backtrace:

  1. 0 C:\xampp1\htdocs\wiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(931): Wikimedia\Rdbms\LoadBalancer->reportConnectionError()
  2. 1 C:\xampp1\htdocs\wiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(898): Wikimedia\Rdbms\LoadBalancer->getServerConnection(integer, string, integer)
  3. 2 C:\xampp1\htdocs\wiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(1043): Wikimedia\Rdbms\LoadBalancer->getConnection(integer, array, string, integer)
  4. 3 C:\xampp1\htdocs\wiki\includes\GlobalFunctions.php(2576): Wikimedia\Rdbms\LoadBalancer->getMaintenanceConnectionRef(integer, array, string)
  5. 4 C:\xampp1\htdocs\wiki\includes\cache\localisation\LCStoreDB.php(56): wfGetDB(integer)
  6. 5 C:\xampp1\htdocs\wiki\includes\cache\localisation\LocalisationCache.php(441): LCStoreDB->get(string, string)
  7. 6 C:\xampp1\htdocs\wiki\includes\cache\localisation\LocalisationCache.php(487): LocalisationCache->isExpired(string)
  8. 7 C:\xampp1\htdocs\wiki\includes\cache\localisation\LocalisationCache.php(363): LocalisationCache->initLanguage(string)
  9. 8 C:\xampp1\htdocs\wiki\includes\cache\localisation\LocalisationCache.php(304): LocalisationCache->loadItem(string, string)
  10. 9 C:\xampp1\htdocs\wiki\languages\Language.php(4413): LocalisationCache->getItem(string, string)
  11. 10 C:\xampp1\htdocs\wiki\languages\Language.php(265): Language::getFallbacksFor(string)
  12. 11 C:\xampp1\htdocs\wiki\languages\Language.php(225): Language::newFromCode(string)
  13. 12 C:\xampp1\htdocs\wiki\includes\ServiceWiring.php(163): Language::factory(string)
  14. 13 C:\xampp1\htdocs\wiki\includes\libs\services\ServiceContainer.php(458): Wikimedia\Services\ServiceContainer->{closure}(MediaWiki\MediaWikiServices)
  15. 14 C:\xampp1\htdocs\wiki\includes\libs\services\ServiceContainer.php(427): Wikimedia\Services\ServiceContainer->createService(string)
  16. 15 C:\xampp1\htdocs\wiki\includes\MediaWikiServices.php(540): Wikimedia\Services\ServiceContainer->getService(string)
  17. 16 C:\xampp1\htdocs\wiki\includes\Setup.php(801): MediaWiki\MediaWikiServices->getContentLanguage()
  18. 17 C:\xampp1\htdocs\wiki\includes\WebStart.php(81): require_once(string)
  19. 18 C:\xampp1\htdocs\wiki\index.php(41): require(string)
  20. 19 {main}

Exception caught inside exception handler: [cedf8c6d6bc85e98eb987394] /wiki/ Wikimedia\Rdbms\DBConnectionError from line 1380 of C:\xampp1\htdocs\wiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php: Cannot access the database: Unknown error (127.0.0.1) Backtrace:

  1. 0 C:\xampp1\htdocs\wiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(931): Wikimedia\Rdbms\LoadBalancer->reportConnectionError()
  2. 1 C:\xampp1\htdocs\wiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(898): Wikimedia\Rdbms\LoadBalancer->getServerConnection(integer, string, integer)
  3. 2 C:\xampp1\htdocs\wiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(1043): Wikimedia\Rdbms\LoadBalancer->getConnection(integer, array, string, integer)
  4. 3 C:\xampp1\htdocs\wiki\includes\GlobalFunctions.php(2576): Wikimedia\Rdbms\LoadBalancer->getMaintenanceConnectionRef(integer, array, string)
  5. 4 C:\xampp1\htdocs\wiki\includes\cache\localisation\LCStoreDB.php(56): wfGetDB(integer)
  6. 5 C:\xampp1\htdocs\wiki\includes\cache\localisation\LocalisationCache.php(386): LCStoreDB->get(string, string)
  7. 6 C:\xampp1\htdocs\wiki\includes\cache\localisation\LocalisationCache.php(304): LocalisationCache->loadItem(string, string)
  8. 7 C:\xampp1\htdocs\wiki\languages\Language.php(4413): LocalisationCache->getItem(string, string)
  9. 8 C:\xampp1\htdocs\wiki\languages\Language.php(265): Language::getFallbacksFor(string)
  10. 9 C:\xampp1\htdocs\wiki\languages\Language.php(225): Language::newFromCode(string)
  11. 10 C:\xampp1\htdocs\wiki\includes\ServiceWiring.php(163): Language::factory(string)
  12. 11 C:\xampp1\htdocs\wiki\includes\libs\services\ServiceContainer.php(458): Wikimedia\Services\ServiceContainer->{closure}(MediaWiki\MediaWikiServices)
  13. 12 C:\xampp1\htdocs\wiki\includes\libs\services\ServiceContainer.php(427): Wikimedia\Services\ServiceContainer->createService(string)
  14. 13 C:\xampp1\htdocs\wiki\includes\MediaWikiServices.php(540): Wikimedia\Services\ServiceContainer->getService(string)
  15. 14 C:\xampp1\htdocs\wiki\includes\ServiceWiring.php(440): MediaWiki\MediaWikiServices->getContentLanguage()
  16. 15 C:\xampp1\htdocs\wiki\includes\libs\services\ServiceContainer.php(458): Wikimedia\Services\ServiceContainer->{closure}(MediaWiki\MediaWikiServices)
  17. 16 C:\xampp1\htdocs\wiki\includes\libs\services\ServiceContainer.php(427): Wikimedia\Services\ServiceContainer->createService(string)
  18. 17 C:\xampp1\htdocs\wiki\includes\MediaWikiServices.php(738): Wikimedia\Services\ServiceContainer->getService(string)
  19. 18 C:\xampp1\htdocs\wiki\includes\cache\MessageCache.php(115): MediaWiki\MediaWikiServices->getMessageCache()
  20. 19 C:\xampp1\htdocs\wiki\includes\exception\MWExceptionRenderer.php(310): MessageCache::singleton()
  21. 20 C:\xampp1\htdocs\wiki\includes\exception\MWExceptionRenderer.php(51): MWExceptionRenderer::reportOutageHTML(Wikimedia\Rdbms\DBConnectionError)
  22. 21 C:\xampp1\htdocs\wiki\includes\exception\MWExceptionHandler.php(121): MWExceptionRenderer::output(Wikimedia\Rdbms\DBConnectionError, integer)
  23. 22 C:\xampp1\htdocs\wiki\includes\exception\MWExceptionHandler.php(195): MWExceptionHandler::report(Wikimedia\Rdbms\DBConnectionError)
  24. 23 C:\xampp1\htdocs\wiki\includes\exception\MWExceptionHandler.php(167): MWExceptionHandler::handleException(Wikimedia\Rdbms\DBConnectionError)
  25. 24 [internal function]: MWExceptionHandler::handleUncaughtException(Wikimedia\Rdbms\DBConnectionError)
  26. 25 {main}
Ciencia Al Poder (talkcontribs)

This is the error: Cannot access the database: Unknown error (127.0.0.1)

Review the database connection settings, check if they are correct. Try to connect to mysql using the database credentials stored in LocalSettings.php through phpmyadmin or a local mysql client

Cible30 (talkcontribs)

Yes thank you, it was easier than i expected.

Now the wiki work but this message stay on top of every page:

"Warning: array_key_exists() expects parameter 2 to be array, null given inC:\xampp1\htdocs\wiki\extensions\Iframe\Iframe_body.phpon line136"


And this that stay on top of the homepage:

"Notice: Trying to access array offset on value of type bool inC:\xampp1\htdocs\wiki\extensions\SemanticMediaWiki\includes\dataitems\SMW_DI_Property.phpon line508"

Cible30 (talkcontribs)

And also when i search a page named "Camponotus vagus" it gives to me this error

"[7cd620d1cfe1c7b70b38f41f] /wiki/index.php/Camponotus_vagus Wikimedia\Rdbms\DBReadOnlyError from line 975 of C:\xampp1\htdocs\wiki\includes\libs\rdbms\database\Database.php: Database is read-only: Dumping Database, Access will be restored shortly"


The DBuser have all privileges on the database

Ciencia Al Poder (talkcontribs)
Cible30 (talkcontribs)

But where i must add that php code?

Ciencia Al Poder (talkcontribs)

If you use the function error_reporting(0); put that in LocalSettings.php

You can edit php.ini and set display_errors = Off to turn off any error reporting (it's recommended to set it to log file instead)

Cible30 (talkcontribs)

Thank you very much for the help!

Ciencia Al Poder (talkcontribs)

The "Database is read-only: Dumping Database, Access will be restored shortly" seems pretty self explanatory.

You probably set the database to readonly, or even set the site to readonly in LocalSettings.php

Cible30 (talkcontribs)

I didn't expect that, i don't remember that line on LocalSetting.php :/

Proton PDF Installation on Mediawiki 1.35.1

3
143.97.2.35 (talkcontribs)

Hello Team,

Can I get Proper steps to install proton in my RHEL-7 with PHP 7.4.

I have seen it in Wikimedia page and same I want to install in my application.


Thanks

Akki S.

Malyacko (talkcontribs)
143.97.2.35 (talkcontribs)

Do we need node Js for proton ?

Reply to "Proton PDF Installation on Mediawiki 1.35.1"