Project:Support desk

From MediaWiki.org
(Redirected from Project:Support)
Jump to: navigation, search
vde   This page is for questions relating to the MediaWiki software.

Welcome to MediaWiki.org's Support desk, the central on-wiki place to ask MediaWiki questions!

The greater purpose of this page is to make our Manual and other available help so good that you do not have to come here to ask questions, or making them easier to find.

There are other ways for of communication as well (IRC, mailing lists etc.). Read more here.

Before you post

Post a new question

  1. To help us answer your questions, please always indicate which versions you are using:
    • MediaWiki (reported by your wiki's Special:Version page)
    • PHP (likewise)
    • Database (likewise, e.g. MySQL 5.5)
  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 discussion".

Archiving topics

Topics are automatically archived when they have been inactive for three weeks. If a question you have asked is approaching this limit and still has not been answered, please 'bump' it to prevent it being archived. However do not 'bump' for other reasons.

Start a new discussion

Contents

Thread titleRepliesLast modified
Install the Gumax skin (4.0.3)313:02, 20 October 2014
backup mediawiki - image etc.112:26, 20 October 2014
How to install MediaWiki Version 1.23.5?410:45, 20 October 2014
problem to send email (smtp) to exchange server210:44, 20 October 2014
[RESOLVED]cookies error message during connection to wiki310:17, 20 October 2014
[RESOLVED] Image gallery slider509:49, 20 October 2014
Disable dynamic redirects so that URL is correct?109:44, 20 October 2014
[RESOLVED] MediaWiki don't work with PCRE 8.34208:19, 20 October 2014
Multiple mediwiki installation305:35, 20 October 2014
[RESOLVED]No Notification tab in preferences005:29, 20 October 2014
Maintenance scripts not showing correct PHP version502:09, 20 October 2014
fatal error to create accounts300:21, 20 October 2014
Extension:Google Analytics Integration - Usage Instructions Unfinished and Unclear400:19, 20 October 2014
Side bar menu like on mediawiki.org200:03, 20 October 2014
Emailconfirmed users not able to edit pages120:58, 19 October 2014
Warning: require(/home/lonas/public_html/wiki/includes/WebStart.php) 120:53, 19 October 2014
Fatal exception of type MWException1219:48, 19 October 2014
Download VisualEditor package from Distributor page119:45, 19 October 2014
[RESOLVED] Failed to parse (unknown error) when using the math extension209:52, 19 October 2014
Image Thumbnail : Error creating thumbnail: '"/convert"' is not recognized as an internal or external command, operable program or batch file. Error code: 1206:39, 19 October 2014
First page
First page
Previous page
Previous page
Last page
Last page

Install the Gumax skin (4.0.3)

Hello there, I need help installing the Gumax skin for my Wiki I host. I downloaded the Gumax skin 4.0.3 from here. I like the version 4.0.3 more than the other (newer) versions. I installed the Mediawiki software two weeks ago and the current version is MW 1.23.4. Yesterday I followed these steps in order to install the Gumax skin. But it doesn't working, if use ?useskin=gumax or activate the skin as user (preferred) skin. This will appear, if I use the preview: (1) What can I do to solve the problem in order to use this skin without any errors.

Yässinzeldafan (talk)15:48, 19 October 2014

I think it has something to do with this line: "It has been tested and works with MediaWiki 1.17.0" ;) MediaWiki 1.17 is really oudated and not supported anymore.

The Hook mentioned in the expect (in MW 1.23) two variables (array &$vars, OutputPage $out), the first as a reference. The skin file try to run the Hook as th efollowing:

wfRunHooks( 'MakeGlobalVariablesScript', array( $this->data ) )

(only one parameter and not as a reference. So that's why the skin fails :) Try to upgrade to a newer versions or contact the developers, if they can help you to upgrade this skin version to work with newer versions of MediaWiki.

Florianschmidtwelzow (talk)05:28, 20 October 2014
Edited by author.
Last edit: 13:02, 20 October 2014

Okay, mir ist aufgefallen, dass du einen deutschen Namen hast und so gehe ich mal aus, dass du diese Sprache verstehst.

Ich habe schonmal den Support dort kontaktiert. Ich bin gerade am zweifeln, da das Forum als auch die Website seit 2013 nicht mehr bearbeitet wurden und ich zweifle daran, dass eine Antwort kommt... Natürlich kann ich versuchen andere Versionen zu installieren, aber was mich stört ist die Topbar, die zentriert ist. Ich hätte es gerne, wenn die links bleibt. Ich bin mir sicher, dass man in der aktuellen Version mittels PHP die Topbar nach rechts verschiebt. (Siehe zum Beispiel aktuelle Version und Version 4.0.3) Ich wäre offen, wenn man mir hilft, die Topbar nach rechts zu verschieben. Doch zunächst möchte ich warten auf eine Antwort vom dortigen Support. Was meint ihr? Wird es zu einer Antwort vom Support kommen, obwohl die Website schon seit 2013 nicht mehr bearbeitet wurde?

Ich bräuchte nochmal Hilfe: Und zwar versuche ich Extension:CheckUser zu installieren aber es erscheint, wenn ich jemanden CheckUserrechte gebe, "Datenbankfehler - [...] Es liegt ein Fehler in der Software vor". Ich muss gestehen, dass ich zwei Schritte, die auf der Extensionseite stehen übersprungen habe, da ich das erstens nicht verstanden habe und zweitens die nötigen Dateien nicht gefunden habe. Ich verwende FileZilla, aber nur für die Windows XP-Version. Kann man mir da auch helfen? (Wäre es angebracht, dass über Skype zu besprechen? Denn es würde dann vielleicht besser laufen.

Danke für eure Hilfe,

Yässinzeldafan (talk)12:06, 20 October 2014

Zu dem Skin: Ich fürchte, "das Team" ist schlicht Paul, der das Skin entworfen hat. ;-) Wenn du ne E-Mail-Adresse von ihm findest, kannst du ihn ja mal fragen, ob ihr zusammen das Skin für neuere MediaWiki-Versionen aktualisieren wollt.

Du musst alle Schritte von Extension:CheckUser#On_an_existing_wiki wie beschrieben durchführen. Der Datenbankfehler deutet z.B. darauf hin, dass du die nötigen DB-Updates nicht vorgenommen hast.

88.130.98.17612:36, 20 October 2014
 
 
 

backup mediawiki - image etc.

hi !

is export the mysql-database enought for a good backup - what is with the image? include the sql-export?

regards Jan :-)

JanTappenbeck (talk)12:04, 20 October 2014

You will need the database and the files of the installation. For the database, using mysqldump is the standard way of creating a DB backup. The files can e.g. be tar'ed into an archive.

See Manual:Backing_up_a_wiki for more information!

88.130.98.17612:26, 20 October 2014
 

How to install MediaWiki Version 1.23.5?

  • XAMPP 1.8.3
  • MediaWiki Version 1.23.5
  • PHP Version 5.5.15
  • Database MySQL Version 5.6.20

Hello, I've downloaded XAMPP and get an error when I try to install MediaWiki Version 1.23.5. It requires a password for connection to the database with the user 'root' because it isn't safe without a password. I thought MediaWiki creates the database by itself and sets the password?!?

87.180.158.11418:30, 18 October 2014

> I thought MediaWiki creates the database by itself

No, it will create the tables into the database, that's why it needs the password ;)

> and sets the password?!?

No :) The user has to be created for MediaWiki (with a password). With this credentials, MediaWiki will create the tables into an existing database (you have to create this database, too). For this you can use phpMyAdmin (should be included in XAMPP).

Florianschmidtwelzow (talk)21:59, 18 October 2014

Thank you! It wasn't that tricky in previous versions.

87.180.140.23510:12, 19 October 2014
 

That's not correct. Mediawiki can create both the user and the database. When you follow the installation script, there's one step where you can provide privileged mysql account credentials and also credentials for the database user MediaWiki will use, so it can create the database and create the user with the necessary privileges. If you don't provide the privileged user, MediaWiki will assume the database and the user already exist.

Ciencia Al Poder (talk)09:43, 20 October 2014

That's what i mean, but for this you need an initial database user with the privileges to do that :)

Florianschmidtwelzow (talk)10:45, 20 October 2014
 
 
 

problem to send email (smtp) to exchange server

Edited by another user.
Last edit: 09:50, 20 October 2014

hi!

I installed on my Win7 64bit machine Apache 2.4, php 5.6.0, mediawiki and the pear mail-packet. the mediawiki server only should be used in the company - not from the www and we used a Exchange-Server 2010.

I added into localsettings.php following parameter:

$wgSMTP = array(
 'host'     => "ma22-ex-002.local.xxxxx.de", // could also be an IP address. Where the SMTP server is located
 'IDHost'   => "xxxxx.de",      // Generally this will be the domain name of your website (aka mywiki.org)
 'port'     => 25,                 // Port to use when connecting to the SMTP server
 'auth'     => true,               // Should we use SMTP authentication (true or false)
 'username' => "YYY-GIS-Hotline-Email@local.xxxxx.de",   // Username to use for SMTP authentication (if being used)
 #'username' => "gis-hotline@xxxxx.de",   // Username to use for SMTP authentication (if being used)
 'password' => "*******"       // Password to use for SMTP authentication (if being used)
);

we want that only the admin could create accounts ->

$wgGroupPermissions['*']['createaccount'] = false;

when I create a account I get the message: Fehler beim Senden der E-Mail(error by sending email) : authentication failure [SMTP: No supported authentication methods (code: 250, response: MA22-EX-002.local.xxxxx.de Hello [Ip-Adress] SIZE PIPELINING DSN ENHANCEDSTATUSCODES STARTTLS X-ANONYMOUSTLS AUTH NTLM X-EXPS GSSAPI NTLM 8BITMIME BINARYMIME CHUNKING XEXCH50 XRDST XSHADOW)]

my chef-admin try to send emails by telnet - there is no problem!

  • the main question is what are the correct parameters for $wgSMTP - is the username the name at the Exchange-Accout or the email-Adress ?
  • is it require to install a email-client on the server of mediawiki ?

on the other hand I found the tip to active the php-error-log. I add into localsettings.php following:

error_reporting( -1 );
ini_set( 'display_errors', 1 );

I look and see following message: PHP Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\PHP-5.6.0\pear\Net\SMTP.php on line 495

can anyone help me ?

it is the last problem on my way to our mediawiki. german answers could be understand better than English.

regards Jan

JanTappenbeck (talk)09:36, 20 October 2014

Pear-Mail has only support for a few authentication methods: Digest-MD5, CRAMMD5, LOGIN and PLAIN [1] and your server doesn't seem to support any of them.

Try to enable at least one of them on the server.

Ciencia Al Poder (talk)09:57, 20 October 2014

HI !

thanks for answer.

first i will add some parameter of php.ini i forget in the start-posting.

[mail function]

For Win32 only.
http://php.net/smtp

SMTP = localhost

http://php.net/smtp-port

smtp_port = 25

For Win32 only.
http://php.net/sendmail-from

sendmail_from = GIS-Hotline@ebhl.de

For Unix only. You may supply arguments as well (default
"sendmail -t -i").
http://php.net/sendmail-path
sendmail_path =
Force the addition of the specified parameters to be passed as extra parameters
to the sendmail binary. These parameters will always replace the value of
the 5th parameter to mail(), even in safe mode.
mail.force_extra_parameters =
Add X-PHP-Originating-Script
that will include uid of the script followed by the filename

mail.add_x_header = On

The path to a log file that will log all mail() calls. Log entries include
the full path of the script, line number, To address and headers.

mail.log = c:\temp\mail.log

Log mail to syslog (Event Log on Windows).
mail.log = syslog


now to the answer....

sorry - but i did not understand the order.

is mixedNet_SMTP::auth ('sender@mydomain.de', 'mypassword' , 'PLAIN' ) a parameter a had to add into php.ini .... or ??

regards Jan :-)

JanTappenbeck (talk)10:44, 20 October 2014
 
 

[RESOLVED]cookies error message during connection to wiki

Edited by another user.
Last edit: 00:09, 20 October 2014

Hi,

to prevent acces to my mediawiki server, I create a form requiring the login to server and I check the answer according to values saved into a DB table created with phymyadmin Now, before to run the mediawiki object the form is displayed

to perform this , I modified the index.php as following

 <?php
 session_start();
 header('Content-Type: text/html; charset=UTF-8');
 if ( !function_exists( 'version_compare' ) || version_compare( phpversion(), '5.3.2' ) < 0 ) {
	// We need to use dirname( __FILE__ ) here cause __DIR__ is PHP5.3+
	require dirname( __FILE__ ) . '/includes/PHPVersionError.php';
	wfPHPVersionError( 'index.php' );
 }
 if (isset($_SESSION['Acces']) && ($_SESSION['Acces']==false)){
      echo "<center><h2><font color='red'>Incorrect Login</font></h2><center>"; }
 
  if (isset($_SESSION['Acces']) && ($_SESSION['Acces'])){
 
     require __DIR__ . '/includes/WebStart.php'; 
     $mediaWiki = new MediaWiki();
     $mediaWiki->run();
     }
  else { 
   ?>
     <center>
       <form action ="checkForm.php" method="post">
       <b>identifiant : </b><input type="text" name="inputlogin" size="30"> <br />
       <b>password : </b><input type="password" name="inputpwd" size="30"> <br />
           <div class="action">
           <input type="submit" class="btn primary" value="Valider">
           </div>
       </form>     
    </center>
  <?php
  }

and I create a checkForm.php as following

<?php
session_start();
error_reporting(E_ALL & ~E_NOTICE);
 
 $_SESSION['mytwikiLog'] = $_POST['inputlogin'];
 $_SESSION['mywikiPwd'] = sha1($_POST['inputpwd']);
 
 $connect = mysqli_connect("localhost","root","rootpass","myDB") or die('error BD connect');
 $query = 'SELECT * FROM myTable' ;
 $result = mysqli_query($connect,$query) or die('Table error') ;
 
  while($row = mysqli_fetch_row($result)){
    if ( ($_SESSION['mywikiLog']==$row[1]) && ($_SESSION['mywikiPwd']==$row[2]) ){
        $_SESSION['Acces']=true;
        break;}
    else {
        $_SESSION['Acces']=false;}
  }
  mysqli_free_result($result);
  mysqli_close($connect);
 
  require("./index.php");
  exit();
 ?>

But Now when I want to enter my connect login to the mediawiki The login is performed but I always have the two messages (brown and pink)

  • 'userlogin-loggedin' : you are already logged in as .... use the form below to ogin an another user
  • 'nocookieslogin' : SITENAME uses cookies to login users. You have cookies disabled. Please enabe them and try again

but I am corectly connect to the wiki and my cookies are activated

WHY HAVE I THIS TWO MESSAGES ?

Please coud you help me great thanks

78.206.72.2318:17, 17 October 2014

Ehhh, please Do not hack MediaWiki core :) It's really not the best solution, what you are doing. MediaWiki itself should handle session initialization and all other stuff, so i think, that your problem is somewhere in your implementation.

For what i understand, what you want to reach its much better to use the MediaWiki-built in functions. So why not require login for users in order to read/access the content in your wiki?

If you really want to have a pre-login login, then maybe it's better to use .htaccess login, instead of the above code.

Last, but not least, if you really want to have a pre-login form with your own stuff, you should read, how to implement Extensions in MediaWiki. I think it would be much better to use one (or more) of MediaWikis hooks to break in to MediaWiki's page creation process.

Florianschmidtwelzow (talk)21:57, 18 October 2014

Before I protected all the serveur access with a .htaccess .htpassword but the form which was displayed are different according to the navigators and the access text was limited (no possibiity to add one image in background !)

So, it was requested to me to make a pre-login login form

because it is a private wiki we want "accueil page" should be accessible only when this pre-login is validated

Is existing an extension to perform that : I don't find it

After entering into the wiki: Ok the user right are correctly configurated with the localsetting (the anonymous can read but not write..., the extension confirmAccount is installed to accept only any users ....)

manage one hook is not clear for me : where can I find an exemple of pre-login form which run the mediawiki ony if the prelogin is correct ?

Thanks for your help

78.206.72.2310:37, 19 October 2014

Delete checkForm.php and put index.php back to normal. Add $wgGroupPermissions['*']['read'] = false; to your LocalSettings.php. Everything will work right with just the regular login then.

Jackmcbarn (talk)20:57, 19 October 2014
 
 
 

[RESOLVED] Image gallery slider

Hello all,
I use Mediawiki v.1.20.6
On one wiki site I saw a useful template which makes a images slider:
http://lurkmore.to/%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:MorphFile
I tried to make the same and copied the template, but it does not work at all (((:
http://www.wikijournal.ru/index.php/Test

Could you please tell me if there is a solution to fix the template to make it working? Or are the any other templates or extensions like this one?

Fokebox (talk)19:40, 19 October 2014

You need JavaScript to make that work. They posted it at http://lukomore.org/lurk/%D0%A3%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA:%D0%9B%D0%BE%D0%B9%D1%81/%D0%9C%D0%BE%D1%80%D1%84

Jackmcbarn (talk)20:51, 19 October 2014

Thx, yes it started to work, but there are two extra buttons appeared on the top that should be hidden, any solution on this?

Fokebox (talk)03:44, 20 October 2014
 

Note, that MediaWiki 1.20 isn't supported anymore. As a side note. You may want to upgrade to at least MediaWiki 1.22.x, or better to the last stable release MediaWiki 1.23.5.

Florianschmidtwelzow (talk)05:18, 20 October 2014
 

Additional question - are there some other templates / extensions with the same functionality?

Fokebox (talk)06:33, 20 October 2014
 

The thread can be closed ))) I decided my own template with jquery image slider … at least I will try )

Fokebox (talk)08:26, 20 October 2014
 

Disable dynamic redirects so that URL is correct?

How can I disable the dynamic redirects? I want the target to read the proper URL.

Subfader (talk)12:18, 19 October 2014

Could you please elaborate?

Ciencia Al Poder (talk)09:44, 20 October 2014
 

[RESOLVED] MediaWiki don't work with PCRE 8.34

I was running MediaWiki 1.20.8 with no problems. Then after upgrading PCRE from version 8.33 to 8.34, the content on most of the pages in my MediaWiki site does not display, only empty pages without content. Then I upgraded to MediaWIki 1.22.0, but the same problem still exist there.

The Apache Error Log shows many lines like this (note there is different line numbers in the errors, so its not only line number 902 like in this example) (I have changed the domain name and user name and ip from the error):

[Wed Dec 18 14:07:46.351691 2013] [:error] [pid 8193] [client 12.12.12.12:53455] PHP Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/xxx/domains/xxx.com/public_html/w/includes/MagicWord.php on line 907, referer: http:// xxx.no/w/index.php/Hovedside

Then I look at PCRE 8.34 changelog at pcre.org/news.txt wich says this:

"Perl no longer allows group names to start with digits, so I have made this change also in PCRE."

Please look into this and make MediaWiki compatible with newest PCRE 8.34

Also, please help me about what changes I need to do in order to patch this problem manually in MagicWord.php, so that I don't have to downgrade PCRE, please help.

87.252.72.8113:15, 18 December 2013

Thanks for the very good problem description!

I have just checked the bugtracker and here already is an issue about this problem:

https://bugzilla.wikimedia.org/show_bug.cgi?id=58640

Please add your findings there, especially this:

Then I look at PCRE 8.34 changelog at pcre.org/news.txt wich says this:
"Perl no longer allows group names to start with digits, so I have made this change also in PCRE."
88.130.117.15913:34, 18 December 2013

The patch on the link above and running php update.php fixed this issue for me. Thanks for directing us to the correct place.

LTech (talk)08:09, 20 October 2014
 
 

Multiple mediwiki installation

Hello!

I install and select Wikimedia method for installation.

My domains must be:

pool.mysite.com - Wiki pool

ua.mysite.com - Ukraine language WIKI

ru.mysite.com - Russian language WIKI

en.mysite.com - English language WIKI

Currently i see only website pool in my default language, and other WIKI in default language (not for domain).

Manual for installation not full writed.

Please helo me with installation multiple language to subdomains in wiki system.

09:19, 15 October 2014

You have to set the specific $wgLanguageCode for each wiki.

Ciencia Al Poder (talk)09:37, 16 October 2014

Ok, but how use one prefix table for user (registration,logging, recovery password) and prefix like LANG_ to any wiki?

217.77.222.510:16, 17 October 2014

You really should start to read the Manuals :) In the Manual for shared databases you can read how to share several tables/functions across multiple wikis :)

Florianschmidtwelzow (talk)05:35, 20 October 2014
 
 
 

[RESOLVED]No Notification tab in preferences

Edited by 2 users.
Last edit: 05:29, 20 October 2014

Mediawiki-1.23.5 is installed

the wikisysop send a bienvenue message to a new user.talk page the new user see an orange bar given him a notification but this notification cannot be removed.... it always appears on each page

my installation doesn't give a preference notification tab ? there is no red icon with a notification number next to user name as on this wiki What I have forgotten to installed ? Thanks for your answering

Chantoune (talk)11:02, 19 October 2014

Maintenance scripts not showing correct PHP version

On a wiki I've been working with, http://biosector01.com, I'm trying to update from MediaWiki 1.22 however when I do there are database issues. When I try to run update.php, I get an error saying the PHP version is insufficient, thinking it's PHP 5.2. However, Special:Version, as well as php -version say it's PHP 5.4 that's running, as well as when I run top it only shows php54 processes. PHP 5.2 isn't running on the server so I can't figure out why update.php won't run because it thinks the PHP version won't work. Any help would be appreciated.

GeorgeBarnick (talk)03:22, 12 October 2014

Remove php and then reinstall it see if that fixes the problem.

81.157.75.8010:46, 12 October 2014

Without having further information, this does not seem to be an appropriate advice. This doubtfully helps and given George's questions I am rather sure that this will leave him with a broken system.

Do you maintain the server (especially the PHP installation) yourself? If not, ask your host how you can run PHP 5.4 from the shell!

Often, different PHP versions are available under different names. E.g. calling php might call one PHP version, while something like php54 might call another version (5.4 obviously). If that is the case for you and how these programmes are named, depends on the server setup.

88.130.64.1310:52, 12 October 2014

The site is based on a Dreamhost shared VPS. I have little involvement with maintaining it. I think what you said is probably what's wrong with the server. php is probably the command for an older version whereas the actual version we're trying to run is php54.

GeorgeBarnick (talk)19:59, 12 October 2014

You can test that running php54 --version. This should display the version information, if a PHP version is available under that command. Otherwise ask your host for the right command.

88.130.99.20008:30, 13 October 2014

Hmm, now looking at top it says the process name is php54.cgi. Since this server is a shared server without root permission I can't look at where that's installed or where any other versions are installed.

Maybe I can talk the owners of this site I'm trying to upgrade if they'd be able to move to a dedicated server. I don't think they have any strong attachment to Dreamhost and there are a lot of reasons I can give them why they'd be better off with a dedicated server.

Thanks!

GeorgeBarnick (talk)02:09, 20 October 2014
 
 
 
 
 

fatal error to create accounts

Edited by another user.
Last edit: 00:21, 20 October 2014

In my wiki only users with an account should be able to edit sides and only the admin should be able to create accounts. so followings parameters will be define:

$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['edit'] = false;

no i try to make a account and send the random password to the user. before I add following to the end of the LocalSettings.php-File:

$wgSMTP = array(
 'host'     => "mail.xxxx.de", // could also be an IP address. Where the SMTP server is located
 'IDHost'   => "xxxx.de",      // Generally this will be the domain name of your website (aka mywiki.org)
 'port'     => 25,                 // Port to use when connecting to the SMTP server
 'auth'     => true,               // Should we use SMTP authentication (true or false)
 'username' => "contact@xxxx.de",   // Username to use for SMTP authentication (if being used)
 'password' => "******"       // Password to use for SMTP authentication (if being used)
);

when I create a new account and the message will be send (my opinion) the message will be: Internal error [e2be8d67] timestamp Fatal exception of type MWException

the second way....

$wgSMTP = array(
 'host'     => "mail.xxxx.de", // could also be an IP address. Where the SMTP server is located
 'IDHost'   => "xxxx.de",      // Generally this will be the domain name of your website (aka mywiki.org)
 'port'     => 25,                 // Port to use when connecting to the SMTP server
 'auth'     => false               // Should we use SMTP authentication (true or false)
);

I get the message

Internal error [1e5d5930] 2014-10-13 13:03:17: Fatal exception of type MWException

can someone help me....? (Win7 64 bit, Apache 2.4, PHP 5.6, MySQL 5.6, mediawiki 1.23.5)

85.233.12.11413:11, 13 October 2014

Hello!

Please add Manual:$wgShowExceptionDetails, so we can see, what exact error the fatal exception is. (so, set this to true, recreate the error and post here, what you see (Stack trace)).

Florianschmidtwelzow (talk)13:49, 13 October 2014

hi !

here is my error-report....

[231ccfbf] /eblwiki/index.php?title=Spezial:Anmelden&action=submitlogin&type=signup Exception from line 304 of C:\mediawiki\includes\UserMailer.php: PEAR mail package is not installed

Backtrace:

  1. 0 C:\mediawiki\includes\User.php(3885): UserMailer::send(MailAddress, MailAddress, string, string, NULL)
  2. 1 C:\mediawiki\includes\specials\SpecialUserlogin.php(983): User->sendMail(string, string)
  3. 2 C:\mediawiki\includes\specials\SpecialUserlogin.php(258): LoginForm->mailPasswordInternal(User, boolean, string, string)
  4. 3 C:\mediawiki\includes\specials\SpecialUserlogin.php(223): LoginForm->addNewAccountMailPassword()
  5. 4 C:\mediawiki\includes\specialpage\SpecialPage.php(379): LoginForm->execute(NULL)
  6. 5 C:\mediawiki\includes\specialpage\SpecialPageFactory.php(503): SpecialPage->run(NULL)
  7. 6 C:\mediawiki\includes\Wiki.php(285): SpecialPageFactory::executePath(Title, RequestContext)
  8. 7 C:\mediawiki\includes\Wiki.php(588): MediaWiki->performRequest()
  9. 8 C:\mediawiki\includes\Wiki.php(447): MediaWiki->main()
  10. 9 C:\mediawiki\index.php(46): MediaWiki->run()
  11. 10 {main}


regards jan :-)

85.233.12.11406:57, 14 October 2014

The PEAR mail package is either not installed or it is not available inside the open_basedir path of PHP. Install it and make sure that it is within the allowed paths.

88.130.78.4308:07, 14 October 2014
 
 
 

Extension:Google Analytics Integration - Usage Instructions Unfinished and Unclear

https://www.mediawiki.org/wiki/Extension:Google_Analytics_Integration

I am familiar and have used this extension for years. Trying to upgrade to the new "enhanced" code.

The Installation Instructions say to: 1. Download. -Check 2. Add following code to LocalSettings (replacing XXX with my #) -Check 3. Check Special:Version to see that it installed successfully - Check.

Then the Useage directions say 1. "Create GA account" -Check. 2. "Locate UA number" -Check. Then it lists two lines of code, one for legacy, one for new, then follow installation instructions??!?!?! What good does "locating your UA" and listing two lines of code DO? Inotherwords, what do you do with the line of code? Do you put it in LocalSettings? No, that will break your site. I have no idea what to DO with the code that I've located, and the writer of the usage instructions forgot to say what to do with it either. All I know is GA says the new code isn't working. Help!

Eckre (talk)17:24, 13 October 2014

You copy the UA string and add it as the value of $wgGoogleAnalyticsAccount ;)

Florianschmidtwelzow (talk)06:16, 14 October 2014

So like this:

"$wgGoogleAnalyticsAccount = var pageTracker = _gat._getTracker("UA-xxxxxxx-x"); "

If that's all it is, the guide should say so.

Eckre (talk)23:21, 14 October 2014

That's not it it breaks the site.

What do I do with this line?

var pageTracker = _gat._getTracker("UA-xxxxxxx-x");

Eckre (talk)23:25, 14 October 2014
Edited by another user.
Last edit: 00:19, 20 October 2014

Just copy the "UA-xxxxxxx-x" string (without ") and paste it as a var to $wgGoogleAnalyticsAccount, e.g. this line in your LocalSettings.php:

$wgGoogleAnalyticsAccount = "UA-xxxxxxx-x";

Florianschmidtwelzow (talk)07:05, 15 October 2014
 
 
 
 

Side bar menu like on mediawiki.org

Hi, can anyone tell me how can I build menu like we have on mediawiki.org on left side?

Lonas (talk)20:08, 19 October 2014

Go to at your wiki: mywiki.com/index.php/MediaWiki:Sidebar

Fokebox (talk)20:21, 19 October 2014
 
 

Emailconfirmed users not able to edit pages

I am using Mediawiki 1.20 I gave settings $wgGroupPermissions['emailconfirmed']['edit'] = true; Still users whose email addresses are getting confirmed through confirmation mail and code are not able to edit wiki pages. Please reply ASAP

Sanjeetkumarit (talk)09:45, 15 October 2014

MediaWiki 1.20 is not supported. Please upgrade to a newer version if you want support.

Jackmcbarn (talk)20:58, 19 October 2014
 

Warning: require(/home/lonas/public_html/wiki/includes/WebStart.php)

Hi, I'm trying to install media wiki and at the begining I have an error like: Warning: require(/home/lonas/public_html/wiki/includes/WebStart.php) [function.require]: failed to open stream: No such file or directory in /home/lonas/public_html/wiki/index.php on line 43

Fatal error: require() [function.require]: Failed opening required '/home/lonas/public_html/wiki/includes/WebStart.php' (include_path='.:/home/lonas/pear/php/:/usr/lib/php/') in /home/lonas/public_html/wiki/index.php on line 43

Can anybody tell me what is wrong? Is this permisions issue? I've set 755 for includes forlder

Lonas (talk)18:24, 19 October 2014

Why doesn't includes/WebStart.php exist? It's there when you extract the tarball or checkout from Git.

Jackmcbarn (talk)20:53, 19 October 2014
 

Fatal exception of type MWException

Edited by another user.
Last edit: 07:01, 15 October 2014

My MediaWiki version is *1.23.5

My PHP version is *5.3.28

My Database version is *5.5.37-cll

My site url is * [1]


When I try to use a infobox code like this:


{{Infobox
 |name         = {{subst:PAGENAME}}
 |bodystyle    = 
 
 |titlestyle   = 
 |abovestyle = background:#cfc;
 |subheaderstyle =
 |title        = Test Infobox
 |above        = Above text
 |subheader    = Subheader above image
 |subheader2   = Second subheader
 
 |imagestyle   = 
 |captionstyle = 
 |  image      = [[File:example.png|200px|alt=Example alt text]]
 |caption      = Caption displayed below example.png
 
 |headerstyle  = background:#ccf;
 |labelstyle   = background:#ddf;
 |datastyle    = 
 
 |header1 = Header defined alone
 | label1 = 
 |  data1 = 
 |header2 = 
 | label2 = Label defined alone does not display (needs data, or is suppressed)
 |  data2 = 
 |header3 =
 | label3 = 
 |  data3 = Data defined alone
 |header4 = All three defined (header, label, data, all with same number)
 | label4 = does not display (same number as a header)
 |  data4 = does not display (same number as a header)
 |header5 =
 | label5 = Label and data defined (label)
 |  data5 = Label and data defined (data)
 
 |belowstyle = background:#ddf;
 |below      = Below text
}}

I run across this error:

[dae52cea] 2014-10-15 05:42:03: Fatal exception of type MWException<br />
 
[15-Oct-2014 07:07:26 Europe/Berlin] PHP Notice:  Uncommitted DB writes (transaction from DatabaseBase::query (WikiPage::pageData)). in /home/deathsrepo/public_html/wiki/includes/db/Database.php on line 4147
[15-Oct-2014 07:07:31 Europe/Berlin] PHP Notice:  Uncommitted DB writes (transaction from DatabaseBase::query (WikiPage::pageData)). in /home/deathsrepo/public_html/wiki/includes/db/Database.php on line 4147
[15-Oct-2014 07:08:07 Europe/Berlin] PHP Notice:  Uncommitted DB writes (transaction from DatabaseBase::query (LCStoreDB::get)). in /home/deathsrepo/public_html/wiki/includes/db/Database.php on line 4147
[15-Oct-2014 07:08:13 Europe/Berlin] PHP Notice:  Uncommitted DB writes (transaction from DatabaseBase::query (LCStoreDB::get)). in /home/deathsrepo/public_html/wiki/includes/db/Database.php on line 4147
[15-Oct-2014 07:09:25 Europe/Berlin] PHP Notice:  Uncommitted DB writes (transaction from DatabaseBase::query (LCStoreDB::get)). in /home/deathsrepo/public_html/wiki/includes/db/Database.php on line 4147
[15-Oct-2014 07:12:47 Europe/Berlin] PHP Notice:  Uncommitted DB writes (transaction from DatabaseBase::query (LCStoreDB::get)). in /home/deathsrepo/public_html/wiki/includes/db/Database.php on line 4147
[15-Oct-2014 07:13:35 Europe/Berlin] PHP Notice:  Uncommitted DB writes (transaction from DatabaseBase::query (LCStoreDB::get)). in /home/deathsrepo/public_html/wiki/includes/db/Database.php on line 4147
[15-Oct-2014 07:17:49 Europe/Berlin] PHP Notice:  Uncommitted DB writes (transaction from DatabaseBase::query (LCStoreDB::get)). in /home/deathsrepo/public_html/wiki/includes/db/Database.php on line 4147
[15-Oct-2014 07:19:08 Europe/Berlin] PHP Notice:  Uncommitted DB writes (transaction from DatabaseBase::query (LCStoreDB::get)). in /home/deathsrepo/public_html/wiki/includes/db/Database.php on line 4147
[15-Oct-2014 07:20:47 Europe/Berlin] PHP Notice:  Uncommitted DB writes (transaction from DatabaseBase::query (LCStoreDB::get)). in /home/deathsrepo/public_html/wiki/includes/db/Database.php on line 4147
[15-Oct-2014 07:25:07 Europe/Berlin] PHP Notice:  Uncommitted DB writes (transaction from DatabaseBase::query (LCStoreDB::get)). in /home/deathsrepo/public_html/wiki/includes/db/Database.php on line 4147
[15-Oct-2014 07:26:48 Europe/Berlin] PHP Notice:  Uncommitted DB writes (transaction from DatabaseBase::query (LCStoreDB::get)). in /home/deathsrepo/public_html/wiki/includes/db/Database.php on line 4147
[15-Oct-2014 07:42:03 Europe/Berlin] PHP Notice:  Uncommitted DB writes (transaction from DatabaseBase::query (LCStoreDB::get)). in /home/deathsrepo/public_html/wiki/includes/db/Database.php on line 4147
D3ATH2020 (talk)05:54, 15 October 2014

Setting $wgShowExceptionDetails provides a stacktrace. See https://www.mediawiki.org/wiki/Manual:How_to_debug

AKlapper (WMF) (talk)09:20, 15 October 2014
Edited by another user.
Last edit: 05:29, 16 October 2014
[7fdea938] /index.php?title=Test_Page&action=submit Exception from line 167 of /home/deathsrepo/public_html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php: The lua binary (/home/deathsrepo/public_html/wiki/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua) is not executable.
 
Backtrace:
 
#0 /home/deathsrepo/public_html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(114): Scribunto_LuaStandaloneInterpreter->__construct(Scribunto_LuaStandaloneEngine, array)
#1 /home/deathsrepo/public_html/wiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(92): Scribunto_LuaStandaloneEngine->newInterpreter()
#2 /home/deathsrepo/public_html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(8): Scribunto_LuaEngine->load()
#3 /home/deathsrepo/public_html/wiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(194): Scribunto_LuaStandaloneEngine->load()
#4 /home/deathsrepo/public_html/wiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(841): Scribunto_LuaEngine->getInterpreter()
#5 /home/deathsrepo/public_html/wiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(858): Scribunto_LuaModule->getInitChunk()
#6 /home/deathsrepo/public_html/wiki/extensions/Scribunto/common/Hooks.php(113): Scribunto_LuaModule->invoke(string, PPTemplateFrame_DOM)
#7 [internal function]: ScribuntoHooks::invokeHook(Parser, PPTemplateFrame_DOM, array)
#8 /home/deathsrepo/public_html/wiki/includes/parser/Parser.php(3620): call_user_func_array(string, array)
#9 /home/deathsrepo/public_html/wiki/includes/parser/Parser.php(3336): Parser->callParserFunction(PPTemplateFrame_DOM, string, array)
#10 /home/deathsrepo/public_html/wiki/includes/parser/Preprocessor_DOM.php(1113): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
#11 /home/deathsrepo/public_html/wiki/includes/parser/Parser.php(3492): PPFrame_DOM->expand(PPNode_DOM)
#12 /home/deathsrepo/public_html/wiki/includes/parser/Preprocessor_DOM.php(1113): Parser->braceSubstitution(array, PPFrame_DOM)
#13 /home/deathsrepo/public_html/wiki/includes/parser/Parser.php(3153): PPFrame_DOM->expand(PPNode_DOM, integer)
#14 /home/deathsrepo/public_html/wiki/includes/parser/Parser.php(1216): Parser->replaceVariables(string)
#15 /home/deathsrepo/public_html/wiki/includes/parser/Parser.php(395): Parser->internalParse(string)
#16 /home/deathsrepo/public_html/wiki/includes/content/WikitextContent.php(322): Parser->parse(string, Title, ParserOptions, boolean, boolean, NULL)
#17 /home/deathsrepo/public_html/wiki/extensions/SpamBlacklist/SpamBlacklistHooks.php(28): WikitextContent->getParserOutput(Title)
#18 [internal function]: SpamBlacklistHooks::filterMergedContent(RequestContext, WikitextContent, Status, string, User, boolean)
#19 /home/deathsrepo/public_html/wiki/includes/Hooks.php(206): call_user_func_array(string, array)
#20 /home/deathsrepo/public_html/wiki/includes/GlobalFunctions.php(4013): Hooks::run(string, array, NULL)
#21 /home/deathsrepo/public_html/wiki/includes/EditPage.php(1371): wfRunHooks(string, array)
#22 /home/deathsrepo/public_html/wiki/includes/EditPage.php(1716): EditPage->runPostMergeFilters(WikitextContent, Status, User)
#23 /home/deathsrepo/public_html/wiki/includes/EditPage.php(1237): EditPage->internalAttemptSave(boolean, boolean)
#24 /home/deathsrepo/public_html/wiki/includes/EditPage.php(427): EditPage->attemptSave()
#25 /home/deathsrepo/public_html/wiki/includes/actions/EditAction.php(50): EditPage->edit()
#26 /home/deathsrepo/public_html/wiki/includes/actions/EditAction.php(74): EditAction->show()
#27 /home/deathsrepo/public_html/wiki/includes/Wiki.php(428): SubmitAction->show()
#28 /home/deathsrepo/public_html/wiki/includes/Wiki.php(292): MediaWiki->performAction(Article, Title)
#29 /home/deathsrepo/public_html/wiki/includes/Wiki.php(588): MediaWiki->performRequest()
#30 /home/deathsrepo/public_html/wiki/includes/Wiki.php(447): MediaWiki->main()
#31 /home/deathsrepo/public_html/wiki/index.php(46): MediaWiki->run()
#32 {main}
D3@TH's Creations (Where Dreams Come True!)02:53, 16 October 2014

That says all:

/home/deathsrepo/public_html/wiki/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua

Please make {wiki-root}/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua executable (chmod +x).

Florianschmidtwelzow (talk)05:30, 16 October 2014
Edited by another user.
Last edit: 09:05, 16 October 2014

Now I get this:

[61625a7f] /index.php?title=Test_Page&action=submit Exception from line 167 of /home/deathsrepo/public_html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php: The lua binary (/home/deathsrepo/public_html/wiki/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua) is not executable.
 
Backtrace:
 
#0 /home/deathsrepo/public_html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(114): Scribunto_LuaStandaloneInterpreter->__construct(Scribunto_LuaStandaloneEngine, array)
#1 /home/deathsrepo/public_html/wiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(92): Scribunto_LuaStandaloneEngine->newInterpreter()
#2 /home/deathsrepo/public_html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(8): Scribunto_LuaEngine->load()
#3 /home/deathsrepo/public_html/wiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(194): Scribunto_LuaStandaloneEngine->load()
#4 /home/deathsrepo/public_html/wiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(841): Scribunto_LuaEngine->getInterpreter()
#5 /home/deathsrepo/public_html/wiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(858): Scribunto_LuaModule->getInitChunk()
#6 /home/deathsrepo/public_html/wiki/extensions/Scribunto/common/Hooks.php(113): Scribunto_LuaModule->invoke(string, PPTemplateFrame_DOM)
#7 [internal function]: ScribuntoHooks::invokeHook(Parser, PPTemplateFrame_DOM, array)
#8 /home/deathsrepo/public_html/wiki/includes/parser/Parser.php(3620): call_user_func_array(string, array)
#9 /home/deathsrepo/public_html/wiki/includes/parser/Parser.php(3336): Parser->callParserFunction(PPTemplateFrame_DOM, string, array)
#10 /home/deathsrepo/public_html/wiki/includes/parser/Preprocessor_DOM.php(1113): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
#11 /home/deathsrepo/public_html/wiki/includes/parser/Parser.php(3492): PPFrame_DOM->expand(PPNode_DOM)
#12 /home/deathsrepo/public_html/wiki/includes/parser/Preprocessor_DOM.php(1113): Parser->braceSubstitution(array, PPFrame_DOM)
#13 /home/deathsrepo/public_html/wiki/includes/parser/Parser.php(3153): PPFrame_DOM->expand(PPNode_DOM, integer)
#14 /home/deathsrepo/public_html/wiki/includes/parser/Parser.php(1216): Parser->replaceVariables(string)
#15 /home/deathsrepo/public_html/wiki/includes/parser/Parser.php(395): Parser->internalParse(string)
#16 /home/deathsrepo/public_html/wiki/includes/content/WikitextContent.php(322): Parser->parse(string, Title, ParserOptions, boolean, boolean, NULL)
#17 /home/deathsrepo/public_html/wiki/extensions/SpamBlacklist/SpamBlacklistHooks.php(28): WikitextContent->getParserOutput(Title)
#18 [internal function]: SpamBlacklistHooks::filterMergedContent(RequestContext, WikitextContent, Status, string, User, boolean)
#19 /home/deathsrepo/public_html/wiki/includes/Hooks.php(206): call_user_func_array(string, array)
#20 /home/deathsrepo/public_html/wiki/includes/GlobalFunctions.php(4013): Hooks::run(string, array, NULL)
#21 /home/deathsrepo/public_html/wiki/includes/EditPage.php(1371): wfRunHooks(string, array)
#22 /home/deathsrepo/public_html/wiki/includes/EditPage.php(1716): EditPage->runPostMergeFilters(WikitextContent, Status, User)
#23 /home/deathsrepo/public_html/wiki/includes/EditPage.php(1237): EditPage->internalAttemptSave(boolean, boolean)
#24 /home/deathsrepo/public_html/wiki/includes/EditPage.php(427): EditPage->attemptSave()
#25 /home/deathsrepo/public_html/wiki/includes/actions/EditAction.php(50): EditPage->edit()
#26 /home/deathsrepo/public_html/wiki/includes/actions/EditAction.php(74): EditAction->show()
#27 /home/deathsrepo/public_html/wiki/includes/Wiki.php(428): SubmitAction->show()
#28 /home/deathsrepo/public_html/wiki/includes/Wiki.php(292): MediaWiki->performAction(Article, Title)
#29 /home/deathsrepo/public_html/wiki/includes/Wiki.php(588): MediaWiki->performRequest()
#30 /home/deathsrepo/public_html/wiki/includes/Wiki.php(447): MediaWiki->main()
#31 /home/deathsrepo/public_html/wiki/index.php(46): MediaWiki->run()
#32 {main}
D3@TH's Creations (Where Dreams Come True!)07:15, 16 October 2014

Still the same, still not executable. Which rights has the lua binary?

Florianschmidtwelzow (talk)09:06, 16 October 2014
 
 
 
 
 

Download VisualEditor package from Distributor page

I can*t download Viisual package VisualEditor (Branch 1.24)

Link does not work. I faced 404 error. Please check. https://www.mediawiki.org/wiki/Special:ExtensionDistributor/VisualEditor

46.164.142.6808:27, 17 October 2014

Hello!

Sorry for this. There was a little error in the backend, which doing all the work for ExtensionDistributor. I have pinged @legoktm: yesterday and he fixed it. Now you should be able to download REL1_24 versions of Extensions :)

Florianschmidtwelzow (talk)19:45, 19 October 2014
 

[RESOLVED] Failed to parse (unknown error) when using the math extension

Edited by 2 users.
Last edit: 09:52, 19 October 2014

I have pretty much given up on troubleshooting this issue. I simply cannot get math/Latex to work. Here is the relevant information about my setup:

  • Operating system: Fedora 20
  • Mediawiki version: 1.23.5
  • Database server: MySql 5.6.21
  • PHP: 5.5.17 (apache2handler)

LocalSettings.php:

$wgEnableUploads = true;
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = "/usr/bin/convert";
 
require_once("$IP/extensions/Math/Math.php");
$wgUseTeX =true;
$wgUploadDirectory = "{$IP}/images";
$wgUploadPath ="{$wgScriptPath}/images";
$wgMathPath = "{$wgUploadPath/}math";
$wgMathDirectory = "{$wgUploadDirectory}/math";
 
$wgTmpDirectory = "{$wgUploadDirectory}/tmp";
$wgTexvc ="{$IP}/extensions/Math/math";
$wgDebugLogFile="{$IP}/images/tmp/logfile.log";

Troubleshooting already done:

  • Did not forget to use php ./maintenance/update.php after changing my LocalSettings.php file.
  • I have a tmp and math directory in /images. They have group owner "apache" with the appropriate permissions (775).
  • I checked texvc by issuing this command in the terminal (with the appropriate directory names changed):
texvc /home/wiki/tmp /home/wiki/math "y=x+2" iso-8859-1 "rgb 1.0 1.0 1.0"

and everything is fine (the file is created in the math directory).

  • I tried editing my page with SELinux turned off by using "setenforce 0" and I still get "unknown error" when using math.
  • I've made every relevant .php and .php5 file executable with group owner set to "apache".
  • I've check the Special:Version page and the math extension is correctly installed.
  • Here is the log file that is generated after trying to access the wiki page:
Start command line script ./maintenance/update.php
[caches] main: EmptyBagOStuff, message: SqlBagOStuff, parser: SqlBagOStuff
[caches] LocalisationCache: using store LCStoreNull
Fully initialised
Connected to database 0 at localhost
DatabaseBase::query: Writes done: UPDATE `page` SET page_random = RAND() WHERE page_random = 0
SQL ERROR (ignored): Table 'my_wiki.profiling' doesn't exist (localhost)
  • I tried placing the latex.fmt file in the /images/tmp directory and that still doesn't work.

Final comments:

I've followed every troubleshooting method that I could find through web search and nothing has worked. At this point, I have given up and I'm asking for some help.

Thank You

Mfort123 (talk)16:00, 16 October 2014

You say issuing the texvc command directly works, do you mean it doesn't work in MediaWiki?

Your log file seem to have info about running ./maintenance/update.php, that's not the log of viewing any page. Try setting a debug log as explained in Manual:How to debug

Ciencia Al Poder (talk)09:49, 17 October 2014

Per your recommendation, I read the "How to debug" page and enabled the php debugger. The texvcchecker executable was not built, so I had to run "make" in /extensions/Math/texvccheck .

Now everything seems to be working!

Thank you very much

Mfort123 (talk)22:14, 17 October 2014
 
 

Image Thumbnail : Error creating thumbnail: '"/convert"' is not recognized as an internal or external command, operable program or batch file. Error code: 1

Edited by 2 users.
Last edit: 09:52, 17 October 2014

Morning everyone, I'm currently configuring a wiki for a project, everything seems to be working fine and mediawiki is great.

Only missing point that I'm facing is the image thumb-nailing not working =/

When I upload a file, I always get this error message in thumb section:

Error creating thumbnail: '"/convert"' is not recognized as an internal or external command, operable program or batch file.

Error code: 1


The setup:

  • Windows Server 2008 R2
  • XAMPP 1.8.3
  • MediaWiki 1.23.5
  • PHP 5.5.15 (apache2handler)
  • MySQL5.6.20

I've installed ImageMagick and it's working as environment variable. I used this release: ImageMagick-6.8.9-8-Q16-x64-dll.exe which installs everything (or not maybe) needed for windows running. The install dir is placed under ../extensions/ of MediaWiki just to be on the safe that htdocs can have access to convert command. But still i got the error.

[MediaWiki configuration] Under LocalSettings.php:

$wgUseImageMagick = true;
$wgImageMagickConvertCommand = '$IP/extensions/ImageMagick/convert.exe';


[PHP configuration]

php_imagick.dll must be added into php.ini? I can't find this dll extension.. on the imagick folder.


Anyway, It would be awesome if I could get this working, even if I got to install other extensions to render thumbs... The option of disabling thumbnails works as plan b


Many thanks in advance

Wbr, Sam

Samuel Matildes (talk)07:57, 17 October 2014

It's strange, it's like it doesn't recognize the setting Manual:$wgImageMagickConvertCommand and it's using the default (because it doesn't say "convert.exe" in the error message).

Check that you haven't mispelled the variable name and that you're editing the correct LocalSettings.php

Ciencia Al Poder (talk)09:56, 17 October 2014
 

PHP only escapes variables within double quotes, not single ones. Try replacing:

$wgImageMagickConvertCommand = '$IP/extensions/ImageMagick/convert.exe';

with:

$wgImageMagickConvertCommand = "$IP/extensions/ImageMagick/convert.exe";
Ricordisamoa06:39, 19 October 2014
 
First page
First page
Previous page
Previous page
Last page
Last page