Project:Support desk

Jump to: navigation, search

About this board

vde   Welcome to MediaWiki.org's Support desk, where you can ask MediaWiki questions!

There are also other places where to askCommunication: IRCCommunication#Chat, mailing listsMailing lists, Q&A etc.

Before you post

Post a new question

  1. To help us answer your questions, please always indicate which versions you are using (reported by your wiki's Special:Version page):
    • MediaWiki
    • PHP
    • Database
  2. Please include the URL of your wiki unless you absolutely can't. It's often a lot easier for us to identify the source of the problem if we can look for ourselves.
  3. To start a new thread, click "Start a new topic".
By clicking "Add topic", you agree to our Terms of Use and agree to irrevocably release your text under the CC BY-SA 3.0 License and GFDL
Gmdesignuk (talkcontribs)

When I upload images it will not provide a thumbnail image. I read through various posts and understand many shared servers have blocked proc_open and seems mine is that too. I turned imagemagik to false and default to GD which is active on my server but imagemagik is not but still thumbnail is not showing and gives the error

https://upload.wikimedia.org/wikipedia/mediawiki/d/dc/Error99.jpeg

I have also noticed proc_open also affecting scribunto and the lua file as shown here

https://upload.wikimedia.org/wikipedia/mediawiki/8/88/Error99a.jpeg

Despite searching I cannot seem to find an alternative to fix the image thumbnail issue and the lua issue

I am sure there is a workaround about that will fix this as I cannot be the only one who has this blocked on their server.

i can ftp the main directory but have no access to the root otherwise i would have changed php.ini myself. I also added a flag command to .htaccess to see if i could activate proc_open that way but that did not work.

I have also noticed that version MediaWiki 1.23.15 the thumbnails work fine with imagemagik false yet when same setting is on 1.27 it fails.

Gmdesignuk (talkcontribs)

anyone?

Reply to "proc_open is not available"

First Login Issue: Problem with Sending Credentials

1
MarcelDueerkop (talkcontribs)

Hello Everyone, I know this is a long read but please help, I am edging towards insanity. I have setup Media Wiki on a few Virtual machines to play around with without any issues. Now I want to get it running on my ODroid XU4 with eMMC running a Debian called Armbian. MediaWiki version 1.27.1

Whenever I try to login (for the first time) it gives me a session error: "Es gab ein Problem bei der Übertragung deiner Benutzerdaten. Diese Aktion wurde daher sicherheitshalber abgebrochen, um eine falsche Zuordnung deiner Änderungen zu einem anderen Benutzer zu verhindern. Bitte gehe zurück zur vorherigen Seite, lade sie erneut und versuche, den Vorgang erneut auszuführen." This translates to There was a Problem with sending your login credentials. To Prevent damage to others the action has been interrupted.... refresh and try again.

Sadly refreshing does not work.

To try and solve the Issue I have tried the following steps:

1) PHP can write to the Sessions Directory, there are files being created.

2) Added session_save_path("tmp"); to the LocalSetting.php file and created the folder. Error still persists. The folder permissions were set to 777.

3) $wgSessionsInMemcached = true; # optional, still the same error

4) Checked if there is enough Disk Space, there is.

5) Added All Privileges to wikiuser on the Database

To try to figure out more I have turned on Logging with the following result from a login try:

I fail to see an error here, only that things are being marked "dirty"

Start request POST /w/index.php/Spezial:Anmelden

HTTP HEADERS:

HOST: 192.168.0.25

CONNECTION: keep-alive

CONTENT-LENGTH: 194

CACHE-CONTROL: max-age=0

ORIGIN: http://192.168.0.25

UPGRADE-INSECURE-REQUESTS: 1

USER-AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36

CONTENT-TYPE: application/x-www-form-urlencoded

ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8

REFERER: http://192.168.0.25/w/index.php/Spezial:Anmelden

ACCEPT-ENCODING: gzip, deflate

ACCEPT-LANGUAGE: en-US,en;q=0.8,pt;q=0.6

COOKIE: lisa_wiki_session=tn01m531t4620galnjof1vd315o189h7; mw_installer_session=dnvgbsojlvrglg5b56ok63mn24; PHPSESSID=facu7btbs5rm284hun5n891l92; wiki_lisa_session=si8jdotcgglfn5mthhc9l0so1huasacg; lisa_wiki_lisa_session=m4284liuqkucvv2oe2kdjvtv8drhbote

[caches] cluster: APCBagOStuff, WAN: mediawiki-main-default, stash: db-replicated, message: APCBagOStuff, parser: APCBagOStuff, session: APCBagOStuff

[caches] LocalisationCache: using store LCStoreCDB

[session] Session "m4284liuqkucvv2oe2kdjvtv8drhbote" requested without UserID cookie

[session] SessionBackend "m4284liuqkucvv2oe2kdjvtv8drhbote" is unsaved, marking dirty in constructor

MWCryptRand::realGenerate: Generating cryptographic random bytes for MediaWiki\Session\SessionManager->generateSessionId/MWCryptRand::generateHex/MWCryptRand->realGenerateHex/MWCryptRand::generate/MWCryptRand->realGenerate

MWCryptRand::realGenerate: mcrypt_create_iv generated 20 bytes of randomness.

MWCryptRand::realGenerate: 0 bytes of randomness leftover in the buffer.

[session] SessionBackend "4kcd10qtaidbb73dfcrbbict9agdan6t" metadata dirty due to ID reset (formerly "m4284liuqkucvv2oe2kdjvtv8drhbote")

[session] SessionBackend "4kcd10qtaidbb73dfcrbbict9agdan6t" save: dataDirty=1 metaDirty=1 forcePersist=0

[cookie] setcookie: "lisa_wiki_lisa_session", "4kcd10qtaidbb73dfcrbbict9agdan6t", "0", "/", "", "", "1"

[cookie] already deleted setcookie: "lisa_wiki_lisaUserID", "", "1440880079", "/", "", "", "1"

[cookie] already deleted setcookie: "lisa_wiki_lisaToken", "", "1440880079", "/", "", "", "1"

[cookie] already deleted setcookie: "forceHTTPS", "", "1440880079", "/", "", "", "1"

[session] SessionBackend "4kcd10qtaidbb73dfcrbbict9agdan6t" save: dataDirty=1 metaDirty=1 forcePersist=0

[cookie] already set setcookie: "lisa_wiki_lisa_session", "4kcd10qtaidbb73dfcrbbict9agdan6t", "0", "/", "", "", "1"

[cookie] already deleted setcookie: "lisa_wiki_lisaUserID", "", "1440880079", "/", "", "", "1"

[cookie] already deleted setcookie: "lisa_wiki_lisaToken", "", "1440880079", "/", "", "", "1"

[cookie] already deleted setcookie: "forceHTTPS", "", "1440880079", "/", "", "", "1"

[cookie] already set setcookie: "lisa_wiki_lisa_session", "4kcd10qtaidbb73dfcrbbict9agdan6t", "0", "/", "", "", "1"

[cookie] already deleted setcookie: "lisa_wiki_lisaUserID", "", "1440880079", "/", "", "", "1"

[cookie] already deleted setcookie: "lisa_wiki_lisaToken", "", "1440880079", "/", "", "", "1"

[cookie] already deleted setcookie: "forceHTTPS", "", "1440880079", "/", "", "", "1"

IP: 192.168.0.11

[session] SessionBackend "4kcd10qtaidbb73dfcrbbict9agdan6t" Taking over PHP session

Fully initialised

[MessageCache] MessageCache::load: Loading de... local cache is empty, got from global cache

Unstubbing $wgParser on call of $wgParser::firstCallInit from MessageCache->getParser

Parser: using preprocessor: Preprocessor_DOM

Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions->__construct

QuickTemplate::__construct was called with no Config instance passed to it

MWCryptRand::realGenerate: Generating cryptographic random bytes for PasswordFactory::generateRandomPasswordString/MWCryptRand::generateHex/MWCryptRand->realGenerateHex/MWCryptRand::generate/MWCryptRand->realGenerate

MWCryptRand::realGenerate: mcrypt_create_iv generated 7 bytes of randomness.

MWCryptRand::realGenerate: 0 bytes of randomness leftover in the buffer.

MWCryptRand::realGenerate: Generating cryptographic random bytes for MediaWiki\Session\Session->getToken/MWCryptRand::generateHex/MWCryptRand->realGenerateHex/MWCryptRand::generate/MWCryptRand->realGenerate

MWCryptRand::realGenerate: mcrypt_create_iv generated 16 bytes of randomness.

MWCryptRand::realGenerate: 0 bytes of randomness leftover in the buffer.

[session] SessionBackend "4kcd10qtaidbb73dfcrbbict9agdan6t" data dirty due to dirty(): LoginSignupSpecialPage->getFakeTemplate/SpecialUserLogin->getToken/MediaWiki\Session\Session->getToken/MediaWiki\Session\Session->set/MediaWiki\Session\SessionBackend->dirty

[session] SessionBackend "4kcd10qtaidbb73dfcrbbict9agdan6t" save: dataDirty=1 metaDirty=0 forcePersist=0

MediaWiki::preOutputCommit: all transactions committed

MediaWiki::preOutputCommit: pre-send deferred updates completed

[connect] Connected to database 0 at localhost

[MessageCache] MessageCache::load: Loading en... local cache is empty, got from global cache

OutputPage::sendCacheControl: private caching;  **

LoadBalancer::reuseConnection: this connection was not opened as a foreign connection

Request ended normally

[session] Saving all sessions on shutdown

Does anyone have any ideas? Thanks in Advance for any input!

Reply to "First Login Issue: Problem with Sending Credentials"
41.77.149.22 (talkcontribs)

I've been running Mediawiki 1.27 for some time now. Few days ago I was receiving an error in the browser saying that my website cannot be reached. So navigated to mw-config to reconfigure it. Went through the process quiet well, but after that I started getting error messages on every page. The Internal error message is below. I tried to reinstall Mediawiki but nothing has worked.

Please help! You can have a look at my website here: www.chalochatu.org.

Internal error

[V8LDn8ZH7RYADTL@JGAAAAEN] 2016-08-28 10:57:35: Fatal exception of type "MWException"

87.123.34.155 (talkcontribs)

Please enable $wgShowExceptionDetails at the bottom of your LocalSettings.php!

197.220.196.199 (talkcontribs)

Thanks a lot. I displayed the errors and it pointed to Scribunto. I reinstalled it and everything is working fine. Appreciated.

Reply to "Internal Error on my MediaWiki"
Azot944 (talkcontribs)

Which file is responsible for top navigation panel? (Talk, Log in, Create acount, etc..) because I would like to modify the path for "Create acount" from the standard url to for example: mydomain.com/register

87.123.34.155 (talkcontribs)

You do not want to modify core files. Instead, there are various personalization extensions, which can modify this band of links by adding functions to the PersonalUrls hook. Category:PersonalUrls extensions contains a list of available extensions.

Apart from that you can also write an own hook function in LocalSettings.php.

Reply to "Top navigation panel."

Firmware not able to update?

2
Summary by Jackmcbarn

Completely unrelated to MediaWiki

RadioSlavesSuck (talkcontribs)

I just bought a new MiniTT1. I followed the instructions. Step 5 says Under the Update Tab, click "Check for Updates", which will download the latest firmware version, and prompt to update the firmware in the connected radio.  That button does not appear on my screen and the MiniTT1 does need to be updated.

TheDJ (talkcontribs)

Hi, this is the helpdesk for the MediaWiki software project. I don't think we can help you with your problem.

Summary by Jackmcbarn

It's not possible for MediaWiki usernames to begin with a lowercase letter.

Joriandrake (talkcontribs)

Hello, I just made an account, for some reason my first letter is large, I may have accidentally done this myself, any way I can make the j small as well?

87.123.27.202 (talkcontribs)

The answer is: No, you can't. :-(

Usernames in MediaWiki have some restrictions, e.g. they cannot have underscores in them and their first letter always is in uppercase. Also they cannot have special combinations of characters in them, e.g. "../" is not possible as that would make the user page unreachable.

However, depending on in which wiki you are, there at least is a small help: Some wikis allowusing a magic word to change the display of the page title of a page.

E.g. you could add

{{DISPLAYTITLE:joriandrake}}

on top of your user page and your user talk page. If you add that on your user page, then the page at least will display the name in the spelling with small j.

Почему бессрочно заблокировали мою учётную запить Main Guns ?

2
Summary by Jackmcbarn

Question about a block on Commons, not a MediaWiki software issue

Main Guns (talkcontribs)

Почему бессрочно заблокировали мою учётную запить Main Guns ? - https://commons.wikimedia.org/wiki/User:Main_Guns

Создавал страницу с учётом всех требований википедии, за что получил блокировку , как я могу исправить / восстановить учётную запись?

Спасибо. С Уважением Иван Кичук. Разработчик игры Main Guns (mainguns.ru)

87.123.9.129 (talkcontribs)

Hi Ivan,

I understand that you are asking why your user account Main Guns got blocked on Commons.

The block was done by commons:User:INeverCry. The block reason, which he provided was "promotion-only account". Background for this block is the content of your (deleted) user page, which the admin considered promotional. Note that Wikipedia Commons is no place for promotional materials. Having posted this page is the reason why your account got blocked.

Wintricks apps list not expanding

2
Summary by Jackmcbarn

Wrong website

2001:56A:F141:B500:5FD:234C:FEAC:5725 (talkcontribs)

Im trying to download steam with winetricks. But the problem is I cant access the list of apps because it wont expand when I click on it. Help?????

TheDJ (talkcontribs)

Hi, you posted to the helpdesk of the software project MediaWiki. Your question seems to pertain to something other than our project, so unfortunately, we won't be able to help you.

Kiwkius (talkcontribs)

I want image upload to external server. how to?

Jackmcbarn (talkcontribs)

See Manual:$wgForeignFileRepos.

Reply to "External File Server"
TraaBBIT (talkcontribs)

Hello.

I added some SVG files.

But now I see on page when that files are added this error:

"Error creating thumbnail"

I have that code in LocalSettings:

$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ppt', 'pdf', 'psd', 'mp3', 'xls', 'xlsx', 'swf', 'svg', 'doc','docx', 'odt', 'odc', 'odp', 'odg', 'mpp');

$wgSVGConverter = 'ImageMagick';

$wgAllowTitlesInSVG = true;

$wgSVGConverterPath= "C:/ImageMagic/convert.exe";

$wgLoadFileinfoExtension = true;

$wgMimeDetectorCommand = "file -bi";

I'm not sure about that:

$wgSVGConverterPath= "C:/ImageMagic/convert.exe";

Does that mean that I should have installed ImageMagic on my PC?

87.123.13.181 (talkcontribs)

That means that you should either remove the wrong configuration so that MediaWiki will no longer try using a program, which is not there thus throwing an error. Or you should install ImageMagick and make the path point to it.

The first $wgSVGConverterPath is superfluous and should be removed no matter what you decide to do.

TraaBBIT (talkcontribs)

OK. But should I install ImageMagic on my PC or on server?

87.123.63.88 (talkcontribs)

If, then on the server.

TraaBBIT (talkcontribs)

OK. I installed IM on my serwer.

I got this error now:

Error creating thumbnail

/bin/bash: /usr/local/bin/convert/convert: Not a directory

page:hthttp://westeros.com.pl/index.php?title=Plik:House_Mormont.svg

Ciencia Al Poder (talkcontribs)

Whenever you have /usr/local/bin/convert/convert in your LocalSettings.php, it should probably be /usr/local/bin/convert or even /usr/local/bin

TraaBBIT (talkcontribs)

I have this settings in LocalSettings.php:

#ImageMagic

$wgUseImageMagick = true;

#$wgImageMagickConvertCommand = 'C:/ImageMagick/convert.exe'; # for windows

$wgImageMagickConvertCommand = '/usr/bin/convert'; # for linux

#SVG

$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ppt', 'pdf', 'psd', 'mp3', 'xls', 'xlsx', 'swf', 'svg', 'doc','docx', 'odt', 'odc', 'odp', 'odg', 'mpp');

$wgSVGConverter = 'ImageMagick';

$wgAllowTitlesInSVG = true;

$wgSVGConverterPath= '/usr/local/bin/convert';

$wgLoadFileinfoExtension = true;

$wgMimeDetectorCommand = "file -bi";

I got this error on pages:

Błąd przy generowaniu miniatury /bin/bash: /usr/bin/convert: No such file or directory

Error code: 127

http://westeros.com.pl/index.php?title=Milcz%C4%85ce_siostry

87.123.34.155 (talkcontribs)

From the shell, run this command to see where convert actually is:

which -a convert
TraaBBIT (talkcontribs)

[budrysl2@s53:: ~ ]:$ which -a convert

/usr/local/bin/convert

[budrysl2@s53:: ~ ]:$

87.123.34.155 (talkcontribs)

Adjust the path in $wgImageMagickConvertCommand to

$wgImageMagickConvertCommand = '/usr/local/bin/convert';
TraaBBIT (talkcontribs)

OK. Now it works. But still issue with SVG file:

http://westeros.com.pl/index.php?title=Plik:House_Stark.svg

87.123.34.155 (talkcontribs)

The value of $wgSVGConverterPath is wrong. It needs to be the path without(!) /convert at the end.

Reply to "Issue with SVG file"