My webhost has just transferred one server to another, and in the process decided to run PHP as cgi! I no longer have pretty urls. Is there anything I can do about this?
As some of you might know, I have had severe problems installing
Mediawiki 1.3.3 on a Solaris 9 box running Apache.
I have spent the better part of the evening trying to debug this
problem, and has made some progress:
1) The first problem was that Php complained it could not find
DefaultSettings.php. This arose after I had pressed "Install!" on
wiki/config/index.php . In other words the bug was triggered by the
Eval($local) at around line 370 in index.php
It started to work when I altered this line in $local from
require_once( \"DefaultSettings.php\" );
to
require_once( \"includes/DefaultSettings.php\" );
It started to work. Somehow it seems like MediaWiki didn't honor the
include_path correctly.
2) My second problem is much stranger(!). (But this only happens on a
host which in running PHP 4.2.3, on another host with PHP 4.3.8 it
doesn't happen.)
I started getting messages of the type:
Can't find a writable temp directory for the XHTML template. Check
that the TMP environment variable points to a writable directory, or
that the default temp dir (/tmp) exists and is writable.
This is probably correct, I have no write access to /tmp, nor is any
TMP variable set for PHP to point somewhere else. Is this needed for
running MediaWiki?
I traced the error into Parser.php, InitialiseFromUser and the line:
$this->mSkin =& $user->getSkin();
When I commented out this line it got all the way through until a
MySQL error (which is not related to this at all.)
--
Regards
Johan Seland
I'm interested using MediaWiki as our intranet wiki. Rather than making
everyone create a new account, I am hoping to find an easy way to hook
the login into our existing LDAP database. One low-tech way to do this
is to shell out of PHP and somehow ask UNIX. Has anyone looked into
this before?
Hello Mediawiki users and hackers,
I use
$wgParser->setHook
to add my own markup and callback function. The string that I get in
this function seems to be utf8. Is there any way to get the string
encoded in latin-1? (Wherever this is possible) Or is this more a php
question or ...?
Patrick
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
MediaWiki 1.3.5 is a security update, which contains a small fix for a
potential cross-site scripting vulnerability. All MediaWiki 1.3.x users
are strongly encouraged to upgrade to this latest release.
The only substantial change from 1.3.4 is in includes/RawPage.php, so
you can copy that one file in to perform a 'hotfix'. (Copy also
includes/DefaultSettings.php to update the version number.)
Changes from 1.3.4:
* Clean up input validation in 'raw' page output mode which was a
potential
cross-site scripting opportunity.
Release notes:
http://sourceforge.net/project/shownotes.php?release_id=271848
Download:
http://prdownloads.sf.net/wikipedia/mediawiki-1.3.5.tar.gz?download
Wiki admin help mailing list:
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Bug report system:
http://bugzilla.wikipedia.org/
Play "stump the developers" live on IRC:
#mediawiki on irc.freenode.net
- -- brion vibber (brion @ pobox.com)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFBXGXdwRnhpk1wk44RAmIwAJ0RupGm+mNo1cZ433k8hHa7J50U2QCgnuG+
SZLnmAK5JuKaHyIaVkxvHbg=
=0PBU
-----END PGP SIGNATURE-----
Sorry for my newbie ignorance. How do you grant sysop permission to
change this text in the wiki?
Thanks again for your patience.
Chuck
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Brion Vibber
Sent: Wednesday, September 29, 2004 4:03 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] How to change the 'Main Page' title?
On Sep 29, 2004, at 12:56 PM, Chuck Bishop wrote:
> How can you change the 'Main Page' title name to something else?
The 'Main Page' title can be changed, like most other UI text, via the
MediaWiki: messages. While logged in as a sysop go to
[[Special:Allmessages]] and look up the one with the text you want to
change.
-- brion vibber (brion @ pobox.com)
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
Sorry list!
After sending my last message the list, I have a really *close* look at
my monobook.css - it's all my fault. I switched the copyrightwarning off.
Very sorry. I should have a *closer* look before posting.
Yours Hanke
Hello list,
just looking for the reason of this:
No Copyrightwarning is displayed when editing an article.
$wgUseDatabaseMessages is set to true in LocalSettins.php
Okay, now found one reason for this behaviour:
I created a monobook.css for my login and so the message is no longer
displayed.
Hmmpf, I want to use my own monobook.css but I also like to have the
copyrightwarning - using 1.3.2...
Thank you very much for hints...
Greetings Hanke
[pear_error: message="Template function
'tpl_0_7_0_0e4a84c354c32eecdeef1095264de07d' not found (template source
: /home/groups/h/hu/humane/htdocs/wiki/templates/xhtml_slim.pt" code=0
mode=return level=notice prefix="" info=""]
We get this very often when just clicking on a link or updating a page.
I see that 1.3.4 fixes some template related things. Are these error
messages likely to go away if we move to it?
Dick
Hi,
How can you change the 'Main Page' title name to something else?
Thanks,
Chuck
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************