Last modified: 2011-03-13 18:06:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T23627, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21627 - MediaWiki 1.9.3 install fails under XAMPP 1.7.2
MediaWiki 1.9.3 install fails under XAMPP 1.7.2
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
User blocking (Other open bugs)
1.9.x
PC Windows XP
: Lowest blocker (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-24 18:28 UTC by Keith Gregory
Modified: 2011-03-13 18:06 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Keith Gregory 2009-11-24 18:28:52 UTC
Following instructions in http://www.nat32.com/xampp/wiki.htm executing step 4 obtain "Please set up the wiki first" page (correct), but when click "set up the wiki" link get the error 

Parse error: syntax error, unexpected T_NAMESPACE, expecting T_STRING in C:\xampp\htdocs\mediawiki\includes\Namespace.php on line 46

First 46 lines here:

/**
 * Provide things related to namespaces
 * @package MediaWiki
 */

/**
 * Definitions of the NS_ constants are in Defines.php
 * @private
 */
$wgCanonicalNamespaceNames = array(
	NS_MEDIA            => 'Media',
	NS_SPECIAL          => 'Special',
	NS_TALK             => 'Talk',
	NS_USER             => 'User',
	NS_USER_TALK        => 'User_talk',
	NS_PROJECT          => 'Project',
	NS_PROJECT_TALK     => 'Project_talk',
	NS_IMAGE            => 'Image',
	NS_IMAGE_TALK       => 'Image_talk',
	NS_MEDIAWIKI        => 'MediaWiki',
	NS_MEDIAWIKI_TALK   => 'MediaWiki_talk',
	NS_TEMPLATE         => 'Template',
	NS_TEMPLATE_TALK    => 'Template_talk',
	NS_HELP             => 'Help',
	NS_HELP_TALK        => 'Help_talk',
	NS_CATEGORY         => 'Category',
	NS_CATEGORY_TALK    => 'Category_talk'
);

if( is_array( $wgExtraNamespaces ) ) {
	$wgCanonicalNamespaceNames = $wgCanonicalNamespaceNames + $wgExtraNamespaces;
}

/**
 * This is a utility class with only static functions
 * for dealing with namespaces that encodes all the
 * "magic" behaviors of them based on index.  The textual
 * names of the namespaces are handled by Language.php.
 *
 * These are synonyms for the names given in the language file
 * Users and translators should not change them
 *
 * @package MediaWiki
 */
class Namespace {

So error occurs at "class Namespace"

Version info from XAMPP:

###### Apache Friends XAMPP (Basis Package) version 1.7.2 ######

  + Apache 2.2.12 (IPV6 enabled)
  + MySQL 5.1.37 (Community Server) with PBXT engine 1.0.08-rc
  + PHP 5.3.0 + PEAR (PEAR, Mail_Mime, MDB2, Zend)
  + Perl 5.10.0 (Bundle::Apache2, Bundle::Apache::ASP, Bundle::Email, Bundle::DBD::mysql, DBD::SQlite)
  + XAMPP Control Version 2.5.8 (ApacheFriends Edition)
  + XAMPP CLI Bundle 1.6
  + XAMPP Port Check 1.4
  + XAMPP Security 1.1
  + SQLite 2.8.17
  + SQLite 3.6.16
  + OpenSSL 0.9.8k
  + phpMyAdmin 3.2.0.1
  + ADOdb v5.09a
  + FPDF v1.6
  + Zend Framework 1.9 Minimal Package (via PEAR)
  + Mercury Mail Transport System v4.62
  + msmtp 1.4.17 (a sendmail compatible SMTP client)
  + FileZilla FTP Server 0.9.32
  + Webalizer 2.21-02 (with GeoIP lite)
  + Xdebug 2.0.5 for PHP
  + eAccelerator 0.9.6-rc1 for PHP
  + Ming 0.4.2 for PHP
  + PDF with pdflib lite v7.0.4p4 for PHP
Comment 1 Sam Reed (reedy) 2009-11-24 18:29:51 UTC
You do realise 1.15.1 is out, right?
Comment 2 Sam Reed (reedy) 2009-11-24 18:31:19 UTC
http://www.mediawiki.org/wiki/Version_lifecycle

And it's obsolete by MW
Comment 3 Sam Reed (reedy) 2009-11-24 18:32:25 UTC
You want http://download.wikimedia.org/mediawiki/1.15/mediawiki-1.15.1.tar.gz
Comment 4 Keith Gregory 2009-11-24 18:45:10 UTC
Thanks for the fast/clear response - I noticed that as I reported the bug, and wondered if I was behind or seeing new threads, but had assumed that since I downloaded from http://sourceforge.net/projects/wikipedia/ I had the most recent (Windows XP exe) GA version.  Ooops - lesson learned.  Sorry, and thanks again!
Comment 5 Sam Reed (reedy) 2009-11-24 18:47:54 UTC
:)

Seems XAMPP is partially out of date (and also, the files still being available on that old project), so I've noted to them on IRC to see about getting that updated too :)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links