Project:Support desk/Archives/Installation/004

Problem to create an article/page

Hello, everyone!

I'm new here and I don't know if this is the right place for questions, but I need help.

I'm trying to install Media Wiki on my Web Host service provider, in a Windows Server 2003 machine. But when I'm trying to create a new page, an error messagem appears. In the link above you can see the messagem:

http://wikitecla.naweb.ws/index.php?title=I_can_not_create_new_page

I already search here and other places and I can't find the answer. Can you help me, please?

Thanks a lot!

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:



65.25.70.59 13:11, 20 June 2010 (UTC)[reply]

Config does not see MySQL when DBMS server is installed as RPM

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:

Hello,

My environment: Mediawiki v 1.15.3, PHP v 5.2.13 on RHEL 4

Mediawiki config 'Checking Environment' cannt see MySQL. This is installed as an RPM. Is it that the config expects it to be in /usr/local... ?

How can I tell the config that MySQL is in as an RPM?

Thanks


161.5.131.43 15:08, 21 June 2010 (UTC)[reply]

You need to install the MySQL extension for PHP. It could be called php-mysql or something like that. Max Semenik 15:27, 21 June 2010 (UTC)[reply]

Failed opening required Language.php

  • MediaWiki version: 1.15.4
  • PHP version: 5.2.13
  • MySQL version: 5.1.45
  • URL: Install error, wiki not up

Here's this MediaWiki 1.15.4 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
   * Found database drivers for: MySQL
   * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
   * Have XML / Latin1-UTF-8 conversion support.
   * Session save path (/php_sessions) appears to be valid.
   * PHP's memory_limit is 24M.
   * 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: /home/vol8/byethost14.com/b14_5840825/htdocs/wiki
   * Script URI path: /wiki
   * Installing MediaWiki with php file extensions
   * Environment checked. You can install MediaWiki.
     Fatal error: require() [function.require]: Failed opening required '/home/vol8/byethost14.com/b14_5840825/htdocs/wiki/languages/Language.php' (include_path='.') in /home/vol8/byethost14.com/b14_5840825/htdocs/wiki/includes/AutoLoader.php on line 582

Happens as soon as I goto the /wiki/config/index.php page to try to install, I have no idea what's going on or if I don't have full access to install the software, no clue, hope someone can help me out.


204.62.111.51 00:07, 25 June 2010 (UTC)[reply]

Apparently, you failed to upload all files, check that the aforementioned file exists and webserver has permissions to access it. Max Semenik 09:44, 26 June 2010 (UTC)[reply]

Installing Mediawiki

  • MediaWiki version: 1.15.4 
  • PHP version: 5.2.5
  • MySQL version: 5.0.51
  • URL: localhost

I want to install Mediawiki.
It appears: Something's not quite right yet; make sure everything below is filled out correctly.
It seems to me that I fill all fields, but installer ask me and ask and did not say which specific field is badly filled.


Borneq 09:36, 26 June 2010 (UTC)[reply]

You should see an error message in red near the field that needs to be filled. Max Semenik 09:42, 26 June 2010 (UTC)[reply]
I know! I pass own database root password, but password mu be as it is currently in XAMPP. In XAMPP inicjally name root is 'root' and password is empty. I install.--Borneq 09:51, 26 June 2010 (UTC)[reply]
See for example here how to change your password. Max Semenik 10:03, 26 June 2010 (UTC)[reply]

Liste der letzten Änderungen "leeren"

Hallo, ich führe in meiner Wiki ein paar Tests durch und ich möchte nicht, dass man später noch diese Änderungen "zurückverfolgen" kann. Kann man also einfach die Liste der letzten Änderungen leeren ?ℜepress 08:35, 12 June 2010 (UTC)[reply]

Salu, nein, das geht leider nicht "einfach", nur umständlich: Entweder Du markierst die Test-Edits in der History als "zeige/verstecke" ($wgGroupPermissions['sysop']['deleterevision'] = true; setzen), wobei die Versionen allerdings immer noch auftauchen, z. B. als übersprungen beim Versions-Vergleich, oder Du schmeißt die fraglichen Edits über ihre Versions-ID zuerst ins Archiv (→ deleteRevision.php) und dann endgültig über Bord (→ deleteArchivedFiles.php). All das ist mir immer zu umständlich, daher mache ich meine Experimente immer auf einer lokalen Parallel-Installation. Grüße --Robis 04:11, 29 June 2010 (UTC)[reply]

How uninstall Mediawiki

  • MediaWiki version: 1.15.4  
  • PHP version: 5.2.5
  • MySQL version: 5.0.51 
  • URL: localhost

I install Mediawiki local in XAMPP directory C:\xampp\htdocs\mediawiki\
How uninstall ?, only deleting C:\xampp\htdocs\mediawiki directory be enough?

Borneq 10:04, 26 June 2010 (UTC)[reply]

Hi there, no, you also have to delete the database content. In XAMPP the MySQL database tables are usually stored in /xampp/mysql/data/mediawiki (or what you might have named your project). The more correct way, however, is to delete the database table over the phpMyAdmin backend. If you want to keep your XAMPP installation this is the recommendable method. Bye --Robis 04:21, 29 June 2010 (UTC)[reply]

Copyrighted (non-free) content on a MediaWiki-powered wiki

Is it possible to use MediaWiki software for a database which will consist largely of non-free content? In installation, the only options are no license metadata, Creative Commons, GFDL or public domain. I've been asked to help with a wiki that the owners may wish to use to organize copyrighted content (with the permission of the copyright holder). Is it possible to use MediaWiki software without making all the content free? —Josiah Rowe 01:38, 13 July 2010 (UTC)[reply]

I have a new project with Mediawiki..But I need some helps.

Hi! I have a new project with Mediawiki..But I need some helps. How can I change interface like your homepage? I want to create frontpage like Wikipedia.

How can I include advanced content editor like your content editor?

Please check my child project: http://www.islamvebiz.net/saadetepedia/index.php/Ana_sayfa

Thank you.


Bulent Turgut

Also I put here my old writings with Mr.Diego. But we couldn't solve problems.

Please read my opinions and way of steps on trying to solve problems...


Writings:

See Extension:UsabilityInitiative and follow the steps to install it, then you will be able to setup the 'advanced content editor'. To set up the Vector skin, you must update your MediaWiki installation to the last trunk version of the software. Cheers, Diego Grez ¡hablemos! 22:35, 14 July 2010 (UTC)[reply]

Thanks Diego. But where will I put this codes in? In localsettings.php? I tried somethings, but site gone away!

Please advise me somethings..

OK. I suggest to download the packages that appear there. Don't forget to backup! Then, extract the files of MediaWiki 1.16alpha on the path of your current installation of MediaWiki. After that, if you have shell access, go to "maintenance/" and run "php update.php". After you have successfully updated MediaWiki, extract the MediaWiki extensions in "extensions/". Add to your LocalSettings.php:

require_once("$IP/extensions/UsabilityInitiative/WikiEditor/WikiEditor.php");
$wgWikiEditorModules['toc']['global'] = true; // Enable the TOC for everyone
$wgWikiEditorModules['toc']['user'] = false; // Don't allow users to turn the TOC on/off individually

Also, to set up Vector (Wikipedia's skin) as the main skin of your wiki (be sure to have updated the wiki as I explained before), change:

$wgDefaultSkin = "monobook";

...that is located in your LocalSettings.php. If you don't understand, don't bother to ask again! Cheers, Diego Grez ¡hablemos! 01:58, 15 July 2010 (UTC)[reply]



Dear Diego,

Thank you for your support.

I donwloaded: Alpha 1.6v + All MediaWiki extensions

I upload Mediawiki to my host and installed it. Also I uploaded extensions to my host, and is opened it in extensions directory.

Added lines below to Localsettings.php in root for editor:

require_once("$IP/extensions/UsabilityInitiative/WikiEditor/WikiEditor.php");

$wgWikiEditorModules['toc']['global'] = true; // Enable the TOC for everyone

$wgWikiEditorModules['toc']['user'] = false; // Don't allow users to turn the TOC on/off individually

Checked line below to Localsettings.php in root for skin:

$wgDefaultSkin = "monobook";

Result as:

http://www.islamvebiz.net/saadetepedia/index.php/Ana_sayfa

Same it.. Nothings are changed!

What must I do?

Thanks

I want these:


[IMG]http://i31.tinypic.com/syxwty.jpg[/IMG]

[IMG]http://i31.tinypic.com/5tuduc.jpg[/IMG]

[IMG]http://i29.tinypic.com/2i94e2s.jpg[/IMG]

Need to run update.php for finishing? If it is necessary, how can I finish to setup?

I changed skin as Vector.

But I couldn't change editor.. I installed wiki in subdirectory. I have tried to change this line:

require_once("$IP/saadetepedia/extensions/UsabilityInitiative/WikiEditor/WikiEditor.php");

But nothing..


It isn't working because you are using "/saadetepedia". Please remove that and use:

require_once("extensions/UsabilityInitiative/WikiEditor/WikiEditor.php");

This time will work, unless your "extensions" directory is located somewhere else. --Diego Grez ¡hablemos! 21:10, 15 July 2010 (UTC)[reply]



I tried both of 2 ways: with /ssadetepedia and non.. it is not working..

Now it is included under all codes of localsettings.php:



<?php

# This file was automatically generated by the MediaWiki installer.
# If you make manual changes, please keep track in case you need to
# recreate them later.
#
# See includes/DefaultSettings.php for all configurable settings
# and their default values, but don't forget to make changes in _this_
# file, not there.
#
# Further documentation for configuration settings may be found at:
# http://www.mediawiki.org/wiki/Manual:Configuration_settings

# If you customize your file layout, set $IP to the directory that contains
# the other MediaWiki files. It will be used as a base to locate files.
if( defined( 'MW_INSTALL_PATH' ) ) {
	$IP = MW_INSTALL_PATH;
} else {
	$IP = dirname( __FILE__ );
}

$path = array( $IP, "$IP/includes", "$IP/languages" );
set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() );

require_once( "$IP/includes/DefaultSettings.php" );

if ( $wgCommandLineMode ) {
	if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) {
		die( "This script must be run from the command line\n" );
	}
}
## Uncomment this to disable output compression
# $wgDisableOutputCompression = true;

$wgSitename         = "Saadetepedia";

## The URL base path to the directory containing the wiki;
## defaults for all runtime URL paths are based off of this.
## For more information on customizing the URLs please see:
## http://www.mediawiki.org/wiki/Manual:Short_URL
$wgScriptPath       = "/saadetepedia";
$wgScriptExtension  = ".php";

## The relative URL path to the skins directory
$wgStylePath        = "$wgScriptPath/skins";

## The relative URL path to the logo.  Make sure you change this from the default,
## or else you'll overwrite your logo when you upgrade!
$wgLogo             = "$wgStylePath/common/images/wiki.png";

## UPO means: this is also a user preference option

$wgEnableEmail      = true;
$wgEnableUserEmail  = true; # UPO

$wgEmergencyContact = "saadetbuca@gmail.com";
$wgPasswordSender = "saadetbuca@gmail.com";

$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = true; # UPO
$wgEmailAuthentication = true;

## Database settings
$wgDBtype           = "mysql";
$wgDBserver         = "localhost";
$wgDBname           = "mydb";
$wgDBuser           = "myuser";
$wgDBpassword       = "mypass";

# MySQL specific settings
$wgDBprefix         = "";

# MySQL table options to use during installation or update
$wgDBTableOptions   = "ENGINE=InnoDB, DEFAULT CHARSET=utf8";

# Experimental charset support for MySQL 4.1/5.0.
$wgDBmysql5 = true;

## Shared memory settings
$wgMainCacheType = CACHE_NONE;
$wgMemCachedServers = array();

## To enable image uploads, make sure the 'images' directory
## is writable, then set this to true:
$wgEnableUploads       = true;
# $wgUseImageMagick = true;
# $wgImageMagickConvertCommand = "/usr/bin/convert";

## If you use ImageMagick (or any other shell command) on a
## Linux server, this will need to be set to the name of an
## available UTF-8 locale
# $wgShellLocale = "en_US.UTF-8";

## If you want to use image uploads under safe mode,
## create the directories images/archive, images/thumb and
## images/temp, and make them all writable. Then uncomment
## this, if it's not already uncommented:
$wgHashedUploadDirectory = false;

## If you have the appropriate support software installed
## you can enable inline LaTeX equations:
$wgUseTeX           = false;

## Set $wgCacheDirectory to a writable directory on the web server
## to make your wiki go slightly faster. The directory should not
## be publically accessible from the web.
#$wgCacheDirectory = "$IP/cache";

$wgLocalInterwiki   = strtolower( $wgSitename );

$wgLanguageCode = "tr";

$wgSecretKey = "3bca36241c60cceb5f94617a8318ade5f0ebbe85d0bd28c582caa5350170152";

## Default skin: you can change the default skin. Use the internal symbolic
## names, ie 'vector', 'monobook':
$wgDefaultSkin = 'vector';

## For attaching licensing metadata to pages, and displaying an
## appropriate copyright notice / icon. GNU Free Documentation
## License and Creative Commons licenses are supported so far.
# $wgEnableCreativeCommonsRdf = true;
$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl = "";
$wgRightsText = "";
$wgRightsIcon = "";
# $wgRightsCode = ""; # Not yet used

$wgDiff3 = "";

# When you make changes to this configuration file, this will make
# sure that cached pages are cleared.
$wgCacheEpoch = max( $wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) );



require_once("$IP/extensions/UsabilityInitiative/WikiEditor/WikiEditor.php");
$wgWikiEditorModules['toc']['global'] = true; // Enable the TOC for everyone
$wgWikiEditorModules['toc']['user'] = false; // Don't allow users to turn the TOC on/off individually


 

Need any permissions?

No it doesn't. Diego Grez ¡hablemos! 22:06, 15 July 2010 (UTC)[reply]
Try without the $IP thing. Diego Grez ¡hablemos! 22:09, 15 July 2010 (UTC)[reply]
require_once("extensions/UsabilityInitiative/WikiEditor/WikiEditor.php");

No any new action.. Same it.. I don't understand why is shown editor?

Also my admin login is rejected. There is an error:

"Login error: There is an error with login attempt.. Please go bak, refresh your page, and try again later"

(I traslated from Turkish)

"Oturum açma hatası. Giriş oturumunuzla ilgili bir sorun var gibi görünüyor; bu eylem, oturum gaspına karşı önlem olarak iptal edildi. Lütfen "geri" gidin ve geldiğiniz sayfayı yeniden yükleyin, sonra tekrar deneyin. "




Also I have tried to crate a new user.. It gave me same message like above..



Diego,

I have reinstalled MediaWiki to my system.. Also I have included codes, but result is same again.. What do you advide me? Could you interest to install it with my admin and FTP account? Or could you advise me what must I do?

Thanks..

Hi Burgutex, I don't really know what's the issue here. I'm gonna move this thread to the support desk for comments of developers and more experienced users than me, perhaps they can help you solve this problem. Do you want that? Diego Grez ¡hablemos! 01:49, 16 July 2010 (UTC)[reply]

It may be.. Cause anybody can help me for these problem. I want to contact with them.. Thanks..

  Done Your help request is now located at the Support Desk. Sorry for not being much helpful there >:( Diego Grez ¡hablemos! 01:58, 16 July 2010 (UTC)[reply]

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)[reply]
Or AuthPlugin, depending on what is needed. Max Semenik 05:55, 26 July 2010 (UTC)[reply]

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[reply]

The error appears in Joomla code, you should contact the JoomlaWiki developers. Max Semenik 20:04, 20 July 2010 (UTC)[reply]

Internal Server Error during wiki setup

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)[reply]

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)[reply]


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:

 <system.webServer>
   <fastCgi>
     <application fullPath="C:\php\php-cgi.exe" activityTimeout="600">
       <environmentVariables>
       </environmentVariables>
     </application>
   </fastCgi>
 </system.webServer> 

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

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

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)[reply]