Project:Support desk/Sections/Installation

__NEWSECTIONLINK__

= Installation/Legalities Support =

integrating mediawiki
Hello, i want to integrate mediawiki with phpsge. what is phpsge? php strategy game engine is a cms/engine and with it you can make a strategy browsergame.

phpsge use the md5 hasch for password

i don't know how the login and the registration work on mediawiki. please help me!
 * You may find useful this pages — API:Login / API:Edit - Register new user. Besuglov.S 05:53, 26 July 2010 (UTC)
 * Or AuthPlugin, depending on what is needed. Max Semenik 05:55, 26 July 2010 (UTC)

Page Linking Help Needed
Hi, is there a plugin that automatically links key words to other Wiki pages? At the moment I am manually creating links but I'm sure there must be another way?

Any help would be much appreciated!

Mediawiki Appliance Version 1.13.20 Problems
Downloaded rPath Mediawiki Appliance, Running it on VMwear PLayer but can't find the localsettings.php file to edit.

Can't find much documentation. Any help or documentation would be great!

Extension Licensing Guidelines
I was wondering if there were licensing guidelines for extensions. I am combined several extensions with MediaWiki and noticed that some of the extensions have licenses that are incompatible with other extensions (e.g. Affero v.3 with a majority of extensions under GPL v.2). There are also several extensions that have no license indicated--is there a default license if you are coding for combination with MediaWiki? I was wondering if there was already guidance or if there could be some written on these topics. Thanks.

mySQL database username

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9
 * MySQL version: 5.1.33

I am configuring MediaWiki, except the one part I am having problems with is when it is asking me for a database username and password and confirm password. Below that is the superuser account, which is root.

>>>''Granting user permissions... Query "GRANT DELETE,INSERT,SELECT,UPDATE,CREATE TEMPORARY TABLES ON `wikidb`.* TO 'username'@'%' IDENTIFIED BY 'password' " failed with error code "Can't find file: 'user' (errno: 2) (localhost)".'' <<<<

But it will not let me continue the configuration unless I specify a user and password since it will not let me leave it blank.

I am installing on Windows XP, just need some help with this issue. I am not very familiar with databases, i know the root user account info, but it is asking for a username and password and confirm password.

Any help would be much appreciated.

homerm@rosedale.ca

What server variables are needed
My neywork admin needs to set server variables to allow the upload to be successful...

Trying to load to www.high12.org,

current php and all info can be seen at www.high12.org/phpinfo.php

currently receive "?"s when attempt to load php is made...admin requesting server settings needed

attempted to register for the forum but never receive conformation email...so hear i am.

I am not able to open setup wiki page, getting the following error
Getting PHP 5.2.1 installed Could not find a suitable database driver! Issue while Installing Mediawiki.


 * MediaWiki version: 1.15.1
 * PHP version: 5.2.12
 * MySQL version: MySQL Server 5.1
 * OS: FreeBSD 8
 * URL: http://localhost/wiki

I am not able to open setup wiki page, getting the following error:

MediaWiki 1.15.1 Installation

* Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list.

Checking environment...

Please include all of the lines below when reporting installation problems.

* PHP 5.2.12 installed

Installation Issue: Access denied for user root@localhost to datbase 'wikidb'

 * MediaWiki version: 1.15.3
 * PHP version: 5.2.8
 * MySQL version: 5.1.30
 * URL: Local Intranet

I downloaded and unarchived the Mediawiki package to a new folder (w) under htdocs. I tried running the installation and entered the required information on screen but then when I get this error and no successful installation message.

Checking environment... Please include all of the lines below when reporting installation problems.

PHP 5.2.8 installed Found database drivers for: MySQL PostgreSQL PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) Have XML / Latin1-UTF-8 conversion support. Session save path (D:\xampp\tmp) appears to be valid. PHP's memory_limit is 32M. Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. GNU diff3 not found. Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. Installation directory: D:\xampp\htdocs\w Script URI path: /w Installing MediaWiki with php file extensions Environment checked. You can install MediaWiki. Warning: $wgSecretKey key is insecure, generated with mt_rand. Consider changing it manually. Generating configuration file...

Database type: MySQL Loading class: DatabaseMysql Attempting to connect to database server as root...success. Connected to mysql 5.1.30-community; enabling MySQL 4.1/5.0 charset mode Database wikidb exists There are already MediaWiki tables in this database. Checking if updates are needed... Granting user permissions... Query "GRANT DELETE,INSERT,SELECT,UPDATE,CREATE TEMPORARY TABLES ON `wikidb`.* TO 'wikiuser'@'%' IDENTIFIED BY 'admin' " failed with error code "Access denied for user 'root'@'localhost' to database 'wikidb' (localhost)".

Any help on this matter is greatly appreciated. Thank you.

Regards, Yogesh Nahar E: yogeshnahar@crouse.org

Migration stoped umlauts from working

 * MediaWiki version: 1.15.2
 * PHP version: 5.2.13-pl0-gentoo
 * MySQL version: 5.0
 * URL: --

Hi there, i just wanne describe my problem once again and maybe today there someone with an great idea, i have an wiki running, it was migrated from another webspace _whithout_ changing the database, the webspace are the same architecture, an gentoo webserver with equal configuration, so now, it stoped showing umlauts, even in preview mode and only when the side gets edited or is new, the old sides works just fine, So if i edit the side on the old Webspace it shows umlauts very well, if i edit the same side and go to preview mode then it just changes every ä ü ö to <?>, the encoding in evry file is set tu utf-8, the database as well, and in php and mysql config also. I created an php file which writes data to an tinyblob in the same database, and umlauts work. so it should/must be something within mediawiki itsel, but i really dont know where i should take a look. Remember the side is just migrated, with an tar cpf and unpacked at the new webspace, there was no change in the sources. Hope someone has an really good idea

regards Jörg

JoomlaWIKI could not admin by click on Administrator

 * MediaWiki version: 1.15 (JoomlaWIKI 0.10)
 * PHP version: 5.2.12
 * MySQL version: 5.0.51a
 * URL: localhost

If I klick in the Joomla Component "joomlaWiki- Manage Contributions" at Administrator, I receive the following Mesage "Fatal error: Class 'mosUser' not found in /www/htdocs/w00xxxxx/jooma/administrator/components/com_joomlawiki/admin.joomlawiki.html.php on line 415"

I think a little special could be, my Joomla-Table-Prefix is "jorb_" instead of "jos_". But the WIKI create some Tables with "jos_"

General: The installation went good, I could reach the WIKI-Sike within my Joomla-Site, I can upload a PIC, and I can create NEW user. But the Mediawiki, doesnt use or copy the Joomla user as well. It exist only the Administrator (wahts the Password?) and my Joomla-Admin account during installation, and the WIKI handle me as a normal user, not as Admin as in Joomla.

I would like the have a Group "Autors" they only can create new Posts, or Edit. All other Joomla users AND guests, can view the WIKI.

In the Moment I study the LocalSettings.php and the Manual from this site to understand wehats needed. But I´m in an hurry and happy for any help or hint.

—84.60.173.239 19:57, 20 July 2010 (UTC) Sinndorfer
 * The error appears in Joomla code, you should contact the JoomlaWiki developers. Max Semenik 20:04, 20 July 2010 (UTC)

Internal Server Error during wiki setup

 * MediaWiki version: 1.16.0
 * PHP version: PHP 5.3.3
 * MySQL version: 5.0
 * URL: http://osler.cs.umanitoba.ca/wiki_neuro/index.php (but this won't give you good errors...)
 * Windows 2008 server, IIS7

I am trying to set up a new wiki, following a mix of the instructions here and here, since the 2008 instructions are not very comprehensive. I got to the point where php can give me its info page, and where mysql and mediawiki appear to be installed.

When I use the wiki setup page I get the following error, only more nicely formatted ;-) HTTP Error 500.0 - Internal Server Error c:\php\php-cgi.exe - The FastCGI process exceeded configured activity timeout Detailed Error Information Module	FastCgiModule Notification	ExecuteRequestHandler Handler	PHP via FastCGI Error Code	0x80070102 Requested URL	http://osler.cs.umanitoba.ca:80/wiki_neuro/config/index.php Physical Path	C:\inetpub\wwwroot\wiki_neuro\config\index.php Logon Method	Anonymous Logon User	Anonymous

Most likely causes: * IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred. * IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly. * IIS was not able to process configuration for the Web site or application. * The authenticated user does not have permission to use this DLL. * The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.

Things you can try: * Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account. * Check the event logs to see if any additional information was logged. * Verify the permissions for the DLL. * Install the .NET Extensibility feature if the request is mapped to a managed handler. * Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.

Links and More Information This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error.

View more information Microsoft Knowledge Base Articles: * 294807

Any idea what I need to do to fix this? Thanks!

—Tenbergen 23:03, 30 July 2010 (UTC)

OK, I figured it out. I needed to install the Admin pack for IIS. This made available the FastCGI settings. I needed to increase ActivityTimeout and RequestTimeout ( I set them to 90) and then the setup part of Mediawiki finished, before that it timed out. Tenbergen 15:07, 3 August 2010 (UTC)

---

Ran into a similar issue and found this also works:

Here is how to set the configuration with IIS 7.0:

%windir%\system32\inetsrv\appcmd set config -section:system.webServer/fastCgi /[fullPath='C:\php\php-cgi.exe'].activityTimeout:600

You need to change the 'C:\php\php-cgi.exe' to the actual location PHP that you registered with IIS.

If you want to make double-check that the configuration worked properly, you can check it like this:

%windir%\system32\inetsrv\appcmd list config -section:system.webServer/fastCgi

You should see output similar to the following:

      

Then restart the server and you should be good to go.

To complete the installation, move config/LocalSettings.php to the parent directory. ???

 * MediaWiki version: 1.16.0
 * PHP version: 5.2
 * MySQL version: 5.0.81-community
 * URL: http://hsawiki.uphero.com/

After instalation and setup this message appears: "To complete the installation, move config/LocalSettings.php to the parent directory" Where is the parent directory?

Regards, sludge
 * First result of Google search for "parent directory". Max Semenik 09:23, 5 August 2010 (UTC)

Vector font is way too small (totally illegible)
I have just upgraded from 1.12 to 1.16, hoping to refresh our site with the really nice vector skin. I followed the handy upgrade article and all went fine! I then edited the LocalSetttings.php to:

$wgDefaultSkin = 'vector';

The pages still render but the are now completely illegible. The fonts on all articles seem to be about 4pt! I tried a variety of browsers (IE, Chrome) but no joy. If I change back to

$wgDefaultSkin = 'monobook'; all is well again. I spent the evening trawling forums, but no joy at all.

any ideas?