I've got two bugs that are preventing me from moving the latest release
of my wiki into production. Neither were a problem with the existing
version, but the new is upgraded.
Old: MW 1.6.3, Apache 2.0, PHP 5.1.2, MySQL 5.0.15, Win XP SP2
New: MW 1.9.1, Apache 2.2.4, PHP 5.2, MySQL 5.0.27, Win XP SP2
**Bug one:
PHP keeps getting allocation errors. E.g.:
PHP Fatal error: Out of memory (allocated 8126464) (tried to allocate
1572864 bytes)
I set memory_limit = 512M. This error originates from several different
php files; no single program seems to be at fault. According to the PHP
bug list, such a bug was fixed with the Feb 8 2007 PHP release.
However, that's the release I'm using.
Anyone know of this problem and/or of a fix?
**Bug two:
Apache keeps kicking out an error like:
The given path misformatted or contained invalid characters: Cannot
map GET /index.php/Special:Search?search=gps&fulltext=Search HTTP/1.1
to file
In every instance, the path contains a colon (:) as in the above
"Special:Search" (or Talk:Main_Page etc).
Nonetheless, the page displays correctly. I understand that on Windows,
there's a problem with a colon in the path. This seems to get kicked
out at an intermediate stage in the URL rewrite processing. Any idea on
how to get rid of this message?
Mike
I seem to be stuck at the same place as is described at this URL:
http://meta.wikimedia.org/wiki/Talk:Documentation:Security#Download_Secu
rity
Any suggestions? I've been working with tech support from my hosting
provider, but they are out of ideas.
------------------------------
Message: 5
Date: Mon, 26 Feb 2007 08:03:48 +0000
From: "Rob Church" <robchur(a)gmail.com>
Subject: Re: [Mediawiki-l] Blocking Access to Images
To: "MediaWiki announcements and site admin list"
<mediawiki-l(a)lists.wikimedia.org>
Message-ID:
<e92136380702260003p72a8d191yef8e040d3786d033(a)mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
On 26/02/07, Caplan, Hillel (US - New York) <hcaplan(a)deloitte.com>
wrote:
> description page in the wiki, I get an error (Access denied. You need
to
> log in to access files on this server.) Any suggestions?
Are you, in fact, logged in? This is part of what img_auth.php does.
Rob Church
This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message.
Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
Hi,
I know that this problem was discussed, but I still experience some problems
and would like to gather some feedback.
My wiki uses now addresses like this:
http://mywiki/index.php?title=Test
There were some problems with extensions as they have redirected users to:
http://mywiki/index.php?title=Index.php/Special:Extension/Pagename
instead to:
http://mywiki/index.php/Special:Extension/Pagename
In other words user was prompted to a new page instead of one that I've
created.
The links: http://mywiki/index.php/Test are still working, but are not set
as a default and it messes everything.
I've changed the LocalSettings.php to accept: $wgArticlePath =
"$wgScript/$1"; instead of $wgArticlePath = "$wgScript?title=$1";
but the problem still exist.
What needs to be changed to accept only one format of the url?
Regards,
Aretai
Hello,
I've setup Mediawiki so that only logged in users can view and edit wiki content. Everything seems to be working well in regards to page access, however I can't seem to secure uploaded files. I've searched the Mediawiki manuals and wiki for more information on file security, but can't seem to find too much information on it.
Mediawiki is running on my linux box via apache. I've tried moving the default uploads directory outside the installation dir, into a directory (owned by group "nobody") not served by apache, but that didn't work. I was hoping that Mediawiki would access the files directly from the file system instead of via a hyperlink to the file on the server.
Am I doing something wrong or missing something? I'm relatively new to Mediawiki. Any help would be greatly appreciated.
Thanks in Advance,
Kaman
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
Hi there,
We are in the process of starting a wiki solely dedicated to travelling etc.
As we have vast experience in this , we would like to share it. We are
looking for a few people to help that are well experienced in wiki's and
being sysops on a (we hope to be soon) larger wiki web page.
contact me at jlloyd(a)circletheearth.com
for more info
Cheers
Joe
_________________________________________________________________
Need more speed? Get Xtra Broadband @
http://jetstream.xtra.co.nz/chm/0,,202853-1000,00.html
I've asked this question before, but didn't receive any solution.
Why can't I add pages to Categories? I am using version 1.6.9
As an example, just to make sure I'm adding them correctly, at the
bottom of the page, I am putting the following:
[[Category:People|Fish, Ebenezer]]
If I go to the Special:Categories, it shows:
3. People (6 links)
If I then click on People, it takes me to Category:People but nothing
shows up other than the simple text I included explaining what the
category is for. None of the People category links are shown. Only
my overview. Is the category page normally automatically populated
with everything linking there, or am I supposed to put some sort of
template code on it?
The most likely cause of this problem is that something got broken
when I upgraded from an earlier version because the categories I had
in there before are still present, but if I hadn't already created
the category page, I no longer can because I receive the following
error:
Fatal error: Call to undefined function: openshowcategory() in
/home/trees/wiki/includes/EditPage.php on line 1126
Since I can edit one that existed prior to the upgrade to 1.6.9, it
seems to me that something in the above named function must create
the category pages and now that it's "undefined", that procedure is
not being executed.
Can anyone help me here? I can't upgrade any further because the
webserver I'm on isn't using PHP 5.
Sandy
Hi ,
Can anybody tell me how to find the version of apache and PHP running
on a Linux Machine.
Regards,
Baskar
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
AFFILIATION NOTIFICATION
If you are running an educational, vocational or professional institution or polytechnic and promoting and inspiring Self Employment and Placement, you can affiliate your organization with the Proposed Vishwakarma Open University For Self Employment, Delhi.
Log on to www.pvouse.org for details, Charter Booklet and Affiliation Forms download.
E. Mail: pvouse(a)yahoo.co.in
Secretary
PVOUSE/IRD
---------------------------------
Heres a new way to find what you're looking for - Yahoo! Answers
The following extension will allow embedding of QT videos in your wiki
pages. (Well, it does for me.) Thanks to the author of the gflash
extension; since I'm not actually a PHP programmer, this started out as
his gflash extension, and much of the code and comments are unchanged
from that extension.
Use; place in your extensions directory, in a file called 'qtmov.php'.
Put include statement in LocalSettings.php (see comment at start of
code.) Markup is of form:
<qtmov>320 240 mymove.mov</qtmov>
First number is width of display area, second is height, movie will be
scaled to fully fit within display area.
For me, this works with Firefox (OS X and Windows XP) and IE on XP.
Caveats:
* Not much testing. Don't know what happens if user doesn't have
appropriate qt plugin installed on system. (It's _supposed_ to show an
appropriate message, according to description on markup I cut and pasted.)
* Security?
* Dunno what happens with media types that aren't understood. Security?
----------------
<?php
# Copy into .../extensions/qtmov.php.
#
# To activate the extension, include it from your LocalSettings.php
# with: include("extensions/qtmov.php");
# Use:
# <qtmov>320 240 mymove.mov</qtmov>
# First number is width of display area, second is height, movie will be
scaled to fully fit within display area.
#
# Many thanks to author of 'gflash' extension (whose name I can't
immediately find, sorry.)
$wgExtensionFunctions[] = "wfQTMovExtension";
function wfQTMovExtension() {
global $wgParser;
# register the extension with the WikiText parser
# the first parameter is the name of the new tag.
# the second parameter is the callback function for processing the text
between the tags
$wgParser->setHook( "qtmov", "renderQTMov" );
}
# The callback function for converting the input text to HTML output
function renderQTMov( $input ) {
$exploin = explode(" ",$input);
$width = $exploin[0];
$height = $exploin[1];
$filename = $exploin[2];
$output = ('<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
width="'
.$width.
'"height="'
.$height.
'" codebase="http://www.apple.com/qtactivex/qtplugin.cab"><param
name="src" value="'
.$filename.
'"><param name="autoplay" value="false"> <param name="controller"
value="true"> <param name="scale" value="aspect"><embed src="'
.$filename.
'" autoplay="false" loop="false" controller="true" scale="aspect" width="'
.$width.
'"height="'
.$height.
'" pluginspage="http://www.apple.com/quicktime/"></embed>');
return $output;
}
?>