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)