Project:Support desk/Sections/Installation

__NEWSECTIONLINK__ = Installation/Legalities Support =

deleteBatch.php not working right

 * MediaWiki 	1.12.0
 * PHP 	5.1.6 (apache2handler)
 * MySQL 	5.0.22

I am using deleteBatch.php with a list of files to delete and it deletes the files or images, but the files still show up on a search. When you click on the link it shows as being deleted. I checked this with a file I deleted by hand and the deleted file did not show up on a search. Any idea how to delete mass files without them show up on a search.

--Johnp125 21:21, 16 December 2008 (UTC)

What is the solution for the "authentication error - check passwords" while click on "install MediaWiki"?

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.8-win32 version
 * MySQL version: 5.1.30-win32 version
 * URL: http://localhost/mediawiki-1.13.3/config/index.php

I am getting authentication error while I click on Install MediaWiki tab and it shows error (authentication error - check passwords) with the Superuser name and superuser password when the checkbox of superuser account is checked.

And when it is unchecked, it will give same error (authentication error - check passwords) for DB username and DB password.

Please suggest me, what should I do for the above problem?

—125.18.17.16 10:36, 24 December 2008 (UTC)

Scary transclusion problem
I enabled $wgScaryTranscluding, and it works well, but if you put in it does not show the template, only the Wikipedia policy page. What do I need to do to fix this? —82.42.237.84 19:45, 29 December 2008 (UTC)
 * MediaWiki version: SVN build
 * PHP version:
 * MySQL version:
 * URL: localhost

Installation

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.8
 * MySQL version: 5.2
 * URL:

I've uploaded MediaWiki over my server, when I try to goto Site config page for Installation, some lines as listed below appears. What I do now, second I dont know about mySQL or PHP. I've just uploaded software files and nothing else. Please help in setting up a Wiki site using MediaWiki software. Thanks. set it to a valid path which is read/write/execute for the user your web server is running under.
 * 1) PHP 5.2.8 installed
 * 2) Found database drivers for: MySQL SQLite
 * 3) PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title)
 * 4) Have XML / Latin1-UTF-8 conversion support.
 * 5) Warning: A value for session.save_path has not been set in PHP.ini. If the default value causes problems with saving session data,
 * 1) PHP's memory_limit is 32M.
 * 2) Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching.

Warning: shell_exec has been disabled for security reasons in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1874

Warning: shell_exec has been disabled for security reasons in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1874
 * 1) GNU diff3 not found.
 * 2) Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads.
 * 3) Found GD graphics library built-in.
 * 4) Installation directory: /home/tayyebo/public_html/mediawiki-1.13.3
 * 5) Script URI path: /mediawiki-1.13.3
 * 6) Installing MediaWiki with php file extensions
 * 7) Environment checked. You can install MediaWiki.

Warning: exec has been disabled for security reasons in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1965

Warning: array_map [function.array-map]: Argument #2 should be an array in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1970

Warning: Invalid argument supplied for foreach in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1973

Notice: Undefined variable: wikiLang in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1999 —Anonymous21 12:08, 6 January 2009 (UTC)

--> You really have to know something about MySQL, at least to setup a database for the MediaWiki.

Installing new MediaWiki with old Database
Actually my question is simple but to avoid a lot of work and errors i ask: Is it possible to install a new MediaWiki and use the old database with the old media files?

This is because my current installation (1.11) is moving to another server and it need to get an update. My thoughts were to install the latest version, copy the mediafiles to the new server, import the database to the new server, change de localsettings.php and go on with the Wiki's. So instead of updating it will be a new installation with the old content. Sypie

installation of version 1.13.3

 * MediaWiki version: 1.13.3
 * PHP version:  PHP 5.2.0
 * MySQL version: 5.0
 * URL:

Hi all,

I am installing media wiki version 1.13.3 from 1.11.0, I have backed up my database and filled in the requirements for the installation used my own extensions and images folder. And also used my own AdminSettings.php and after submitting i get this error:

PHP 5.2.0-dev installed Found database drivers for: MySQL PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)

[trimmed]

Creating protected_titles table...Query "CREATE TABLE `protected_titles` (

pt_namespace int NOT NULL,

pt_title varchar(255) binary NOT NULL,

pt_user int unsigned NOT NULL,

pt_reason tinyblob,

pt_timestamp binary(14) NOT NULL,

pt_expiry varbinary(14) NOT NULL default '',

pt_create_perm varbinary(60) NOT NULL,

PRIMARY KEY (pt_namespace,pt_title),

KEY pt_timestamp (pt_timestamp)

) TYPE=InnoDB

" failed with error code "CREATE command denied to user 'wiki'@'localhost' for table 'protected_titles' (localhost)".


 * Your MySQL user needs to be able to execute CREATE queries. Have your host give the user that right, or run the query manually in phpMyAdmin if it's available. —Emufarmers(T 11:38, 20 January 2009 (UTC)

Untitled
Hello! My name is Pilar and I'm an extranet oficer suporting now our extranet development project.One of the things we are thinking to add media wiki to our extranet as BT did. Now I couldn't find any information about whether media wiki can be implemented with a password regulated site as an extranet. Another question is can we get an media wiki expert some where to support with instalation and training us on how to manage the site? All this information here is quite heavy and difficult to understand for not developers minds.
 * MediaWiki version: media wiki
 * PHP version:
 * MySQL version:
 * URL:

Untitled

 * MediaWiki version: mediawiki-1.13.3
 * PHP version: 5.2.5
 * MySQL version: 5.0.67-community
 * URL:

I Downloaded the mediawiki, and wanted to try on another site, my gave his server and try it on, when i finished installing it seems to be some wrong this is what appears to me in the first page

Warning: Cannot modify header information - headers already sent by (output started at /home/fcfitco/public_html/wiki/includes/WebStart.php:19) in /home/fcfitco/public_html/wiki/includes/WebResponse.php on line 10

it appears a dozen times, also this one appears also

Warning: ini_get has been disabled for security reasons in /home/fcfitco/public_html/wiki/includes/WebStart.php on line 19

Warning: ini_get has been disabled for security reasons in /home/fcfitco/public_html/wiki/includes/GlobalFunctions.php on line 1984

i think this from the server, how i can solve the problem?

—JustTalking 08:02, 28 January 2009 (UTC)


 * MediaWiki is not likely to run properly on a server with important functions disabled. Tell the server owner that ini_get must be enabled. —Emufarmers(T 18:28, 28 January 2009 (UTC)

Rights to read page history and differences between them

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.6 (cgi-fcgi)
 * MySQL version: 5.0.51a
 * URL:

Hi everyone,

We cannot view page history (...action=history) and differences between them (...diff=...), message: "You have not enough rights".

The "admin" account is part of the groups "sysop" and "bureaucrat". We use the GroupPermissionsManager, additionally I already added all sysop-default-rights to LocalSettings.php

Can you please tell me, which right has to be set to view the history and compare page versions?

Thank you in advance!

Kind regards

—Suesse 08:30, 31 January 2009 (UTC)

"Fatal error" after installing

 * MediaWiki version: The latest
 * PHP version: 5
 * MySQL version: 4.1.25
 * URL: mikelink.org

I downloaded the files, set up the database, went through the install process (where I gave it all the info it asked for) successfully. Moved the LocalSettings.php file, too. Now, however, when I go to MikeLink.org I get an error message:

Warning: require_once(/nfs/c03/h04/mnt/48214/domains/mikelink.org/install-utils.inc) [function.require-once]: failed to open stream: No such file or directory in /nfs/c03/h04/mnt/48214/domains/mikelink.org/html/index.php on line 39

Fatal error: require_once [function.require]: Failed opening required '/nfs/c03/h04/mnt/48214/domains/mikelink.org/install-utils.inc' (include_path='.:/usr/local/php-5.2.6-1/share/pear') in /nfs/c03/h04/mnt/48214/domains/mikelink.org/html/index.php on line 39

I'm not sure why it's saying this. It says that it's failing to open that file, but the file exists:

http://mikelink.org/install-utils.inc

So does index.php (and index.php5 for that matter).

I've tried every combination I can for the permissions for that file, so it's not that. Not sure what to do next at this point, and couldn't find anything on Google. Please help.

—216.185.15.13 16:39, 5 February 2009 (UTC)


 * Your files are really in /nfs/c03/h04/mnt/48214/domains/mikelink.org/html/, but the script is looking in /nfs/c03/h04/mnt/48214/domains/mikelink.org/. What is $wgScriptPath set to in LocalSettings.php? —Emufarmers(T 17:22, 7 February 2009 (UTC)


 * It was set to ="" but I just went ahead and tried changing it, with no different results. I first tried changing it to the long path you said all my files were at (surrounded by the quotes, of course). When that didn't work, I tried just making it equal "html/" and when that didn't work, I tried "/html/" with same result again. So no luck yet.


 * I also tried changing all the $IP/ to $IP/html/. That didn't work, either.


 * Anyone?

problems with install mediawiki on PHP 5.2.8?
http://wiki.it2go.be/wiki/
 * MediaWiki version: 1.13.3
 * PHP version: 	5.2.8
 * MySQL version: 5.0.67
 * URL:

When i want to install Mediawiki, i have to go to http://wiki.it2go.be/wiki/config/index.php to set up the wiki. When i do so, i get the message "PHP 5.2.8 installed" at checking environment. And that's all the script does...

—213.49.146.211 23:01, 8 February 2009 (UTC)

Upgrading mw by applying patch
Hi. I'm trying to update my mediawiki installation from 1.13.3 to 1.13.4. I had downloaded mediawiki-1.13.4.patch.gz. But how can I apply many patches from this archive to my MediaWiki directory tree at one command? I think "patch" utility would be useful but I don't know how to do it fast and easy. Unfortunately any instructions for this are absent at Manual:Upgrading. Thanks. 84.204.216.36 08:30, 11 February 2009 (UTC)

Migrate from TWiki to Mediawiki
We have a Twiki portal in office with many webs in it. We would like > to move the WEB specific to my project in to a separate mediawiki server at a different location.


 * Look at the Twiki page. —Emufarmers(T 21:18, 12 February 2009 (UTC)

Editing Meta Keywords

 * MediaWiki version: 1.13.0
 * PHP version: 5.2.5 (apache)
 * MySQL version: 5.0.45-log
 * URL:

My Wiki has some keywords in the meta tag. I don't remember where I set these. My wiki has expanded so I would like to edit these. Where do I find them?

—Kristofer2 17:50, 12 February 2009 (UTC)

install problem

 * MediaWiki version: 1.13.1
 * PHP version: 5.2.6
 * MySQL version:
 * URL:

it doesnt install all the way.

* PHP 5.2.6 installed * Found database drivers for: MySQL * PHP server API is cgi; using ugly URLs (index.php5?title=Page_Title) * Have XML / Latin1-UTF-8 conversion support. * Warning: A value for session.save_path has not been set in PHP.ini. If the default value causes problems with saving session data, set it to a valid path which is read/write/execute for the user your web server is running under. * PHP's memory_limit is 32M. * Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. * Found GNU diff3: /usr/bin/diff3. * Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads. * Found GD graphics library built-in. * Installation directory: /home/bernie/public_html/wiki * Script URI path: /wiki * Installing MediaWiki with php5 file extensions * Environment checked. You can install MediaWiki. *

Generating configuration file... * Database type: MySQL * Loading class: DatabaseMysql * Attempting to connect to database server as bernie_auswiki...success. * Connected to 4.1.22-standard; enabling MySQL 4.1/5.0 charset mode * Database bernie_wiki exists * Creating tables...Query "CREATE TABLE `user` ( user_id int unsigned NOT NULL auto_increment, user_name varchar(255) binary NOT NULL default , user_real_name varchar(255) binary NOT NULL default , user_password tinyblob NOT NULL, user_newpassword tinyblob NOT NULL, user_newpass_time binary(14), user_email tinytext NOT NULL, user_options blob NOT NULL, user_touched binary(14) NOT NULL default , user_token binary(32) NOT NULL default , user_email_authenticated binary(14), user_email_token binary(32), user_email_token_expires binary(14), user_registration binary(14), user_editcount int, PRIMARY KEY user_id (user_id), UNIQUE INDEX user_name (user_name), INDEX (user_email_token) ) ENGINE=InnoDB, DEFAULT CHARSET=binary " failed with error code "Table 'user' already exists (localhost)".

maybe i need to get the mysql to setup the tables manually ? where do i get it?

—153.107.103.155 04:40, 16 February 2009 (UTC)

Skin changes will not be displayed in my browser.

 * MediaWiki version: 1.11.2
 * PHP version: 5.2.8 (apache2handler)
 * MySQL version: 4.1.22-log
 * URL: http://fondsresearch.fo.funpic.de/mediawiki-1.11.2/index.php/Hauptseite

I've changed the backround-image and the wiki.png-image, but I can not see changes of the page. It still looks the same as before the changes (see Image File: http://fondsresearch.fo.funpic.de/mediawiki-1.11.2/index.php/Bild:MainPage.jpg). I've deleted all temporary files in the IE Explorer (Version 7), but nothing happens. But if I watch the site with another computer, I have no problems. I can see the new Version with the new background.


 * What can I do to see the actual background in my browser? I suppose, there must be a problem in my LocalSettings.php.

--Fonds 12:36, 18 February 2009 (UTC)

Blank screen when pressing "submit article"

 * MediaWiki version: 1.13.4
 * PHP version: 5.2.6-0.dotdeb.1 (cgi-fcgi)
 * MySQL version: 5.0.67-0.dotdeb.1-log
 * URL: http://www.korczak-clan.de

Dear All,

I updated my MediaWiki from version 1.6 (backward compatible) to an empty version 1.13.4 (unicode utf-8). Trying to copy/paste articles from the old version to new articles in teh new version I mostoften get a blank/white screen when submitting the article. Returing to main page the new article was neither submittet nor visible in special:allpages.

Some articles pass copy/paste/submitting and are stored as usual (even long articles containing special characters from slavic languages).

—195.127.188.198 09:08, 19 February 2009 (UTC)

After Installatin the Editor Icons do not show up
* MediaWiki version:1.13.3 * PHP version: 5.1.6 * MySQL version:5.0.22 * URL: http://www.elthvcc.org/gswiki

I do not see the icons (images) (for Bold, Italic, etc.) in the editor. Also, I cannot see the icons in the Help page (Image:Geographylogo.png, Image:PD-icon.svg)

Please help.

Thank you.

Abe

Hi there,

pls. check in "gswiki/skins/common/images/" if the icons are available. If not download mediawiki, unzip and copy to the before location.

--195.127.188.198 11:37, 20 February 2009 (UTC)

Installing MediaWiki in a "live" website
I have downloaded the 1.14.0 version of mediawiki. My host server has Apache, PHP, and MySQL and have confirmed that they run on linux and will support mediawiki as long as I do all the configuring.
 * MediaWiki version: 1.14.0
 * PHP version: PHP5.0
 * MySQL version:
 * URL: zamboanga.com

I am somewhat familiar with the above items but am unsure as to the behavior of mediawiki when uploaded and unzipped in my host server.

Will mediawiki delete my current home index file in the root directory when uploaded? I checked your FAQ but this question was not addressed. Does mediawiki immediately create an homepage index file in the root directory? —Maletsky 03:29, 24 February 2009 (UTC)


 * MediaWiki will unpack into a new directory; it will not overwrite your existing files. —Emufarmers(T 11:15, 25 February 2009 (UTC)

Can't find suitable mysql db driver during mediawiki 1.13.14 install

 * MediaWiki version: 1.13.4
 * PHP version: 5.1.6 (cli)
 * MySQL version:14.14 Distrib 5.1.31
 * URL: localhost

After successfully installing on my XP workstation, I tried to install on my Linux box (RedHat ES 5.2). Apache, PHP and MySQL all installed without error. I downloaded wikipedia and successfully brought up setup form in browser. When I ran setup, I got the following error.

* PHP 5.1.6 installed Could not find a suitable database driver! o For MySQL, compile PHP using --with-mysql, or install the mysql.so module o For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module o For SQLite, compile PHP using --with-pdo_sqlite, or install the pdo_sqlite.so module o For MSSQL, compile PHP using --with-mssql not ready, or install the mssql not ready.so module

PHP installed with the RedHat ES operating system and I am unable to find mysql.so for ES 5.2. Any assistance will be greatly appreciated.

—Johncarlton 16:27, 26 February 2009 (UTC)

Installing a second wiki

 * MediaWiki version: 1.11.0
 * PHP version: 5.2.4
 * MySQL version: 5.0.45
 * URL:

I want to create another wiki alongside our current wiki but can not find a documentation on how to do that. Can you please provide a link or advice.

thanks

bobj

It's OK I finally found the page on the MediaWiki site Wiki_family

—203.10.55.11 04:33, 27 February 2009 (UTC)

Problem When I Click the "set up the wiki".

 * MediaWiki version: 1.14.0
 * PHP version: Free host - cannot find version number
 * MySQL version: Free host - cannot find version number
 * URL: blizzcraft.l4rge.com/wiki

This is probabaly a proplem with the host and not your program, but I cannot figure out what to do. Whenever I click the "set up the wiki" button, I get this error:

Warning: require_once [function.require-once]: open_basedir restriction in effect. File(/home/l4rge/public_html/l4rge.com/b/l/i/blizzcraft/wiki/install-utils.inc) is not within the allowed path(s): (/firewall:/tmp:.) in /home/l4rge/public_html/l4rge.com/b/l/i/blizzcraft/wiki/config/index.php on line 39

Warning: require_once(/home/l4rge/public_html/l4rge.com/b/l/i/blizzcraft/wiki/install-utils.inc) [function.require-once]: failed to open stream: Operation not permitted in /home/l4rge/public_html/l4rge.com/b/l/i/blizzcraft/wiki/config/index.php on line 39

Fatal error: require_once [function.require]: Failed opening required '/home/l4rge/public_html/l4rge.com/b/l/i/blizzcraft/wiki/install-utils.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php:/firewall') in /home/l4rge/public_html/l4rge.com/b/l/i/blizzcraft/wiki/config/index.php on line 39

Thanks.

—99.236.138.72 02:32, 28 February 2009 (UTC)


 * It's a problem with your host, yes. Unless you can get them to uncripple PHP, you will not be able to run MediaWiki. —Emufarmers(T 17:14, 28 February 2009 (UTC)

Linux

 * MediaWiki version:
 * PHP version:
 * MySQL version:
 * URL:

Just to double-check, if I use GoDaddy to host my wiki, will MediaWIki work? The "GoDaddy Hosting Connection" preview says that it is Linux-only. So, GoDaddy needs to be Linux, not me, right? Thanks, Genius101 22:42, 2 March 2009 (UTC)