I've successfully migrated my mediawiki installation to a faster
server, and everything works; except - the existing images or files I
upload return 404s when accessed (not 403). The files are present on
the server, and there are global read permissions.
Anyone know what's happening?
Thanks,
Srini
Hello all,
question concerning markup/parser:
In a <pre> section, all markup is preserved (not interpreted), except
for <nowiki>....</nowiki> tags. So
<pre>
text <b>bold?</b>
</pre>
gets rendered as
text <b>bold?</b>
(that's what I expected), whereas
<pre>
text <nowiki>bold?</nowiki>
</pre>
gets rendered
text bold?
Isn't this inconsistent? Or is this intentional behaviour? I am
asking, because I write a mediawiki markup parser in Ruby and like to
get things 'right' (whatever that means).
Patrick
Using Mediawiki 1.411-1 (Debian testing) on a small intranet.
We had the wiki on a machine called tmccs2. The $wgScriptPath setting
in LocalSettings.php was "/techwiki".
We've moved the wiki to another machine called appstage1. I've left
the LocalSettings.php alone.
Now, whenever we try to open the wiki from appstage1, e.g., using
"http://appstage1/techwiki/" the url is rewritten as "tmccs2/techwiki/
index.php" immediately.
If I correct the url by hand, I can open up pages -- but I can't edit
them; the redirect after the edit always references tmccs2.
I've tried running rebuildall in /maintenance; I've cleared out my
object cache, I've reset $wgGlobalCache (as per this thread http://
mail.wikipedia.org/pipermail/mediawiki-l/2005-July/006108.html), all
to no avail.
How do I fix the pages themselves so that they don't refer to the old
server. I could rename the server for this, but it seems a bit
ridiculous.
Any help would be greatly appreciated.
I had a perfectly functioning wiki, happily making edits and uploading
stuff. All was good.
http://law.flindersclubs.asn.au/wiki/index.php?title=Main_Page
Then *something* happened at the hosting company that has broken my wiki. :-(
1. To login, I now need to tick "Remember my password across
sessions.", otherwise it reverts to my IP address
2. When uploading, I get the red ; "Upload error. The file you
uploaded seems to be empty. This might be due to a typo in the file
name."
3. When I do make a change, and save changes, it's as if I hit the
preview button. The changes are *not* saved.
So essentially I'm stuck with a wiki stuck in time. A stiki-wiki
I'm running :
MediaWiki (http://wikipedia.sf.net/): 1.4.9
PHP (http://www.php.net/): 4.3.10 (cgi) (output of php -i attached)
MySQL (http://www.mysql.com/): 4.0.18-Max
I get valid cookies for :
PHPSESSID - expires at end of sesssion
Token, UserID and UserName - all expire in one month
The hosting company won't talk to me directly, and the intemediary is
not really helpful.
I do have SSH access, but with quite limited, non-root access.
My only clue is that this page
http://law.flindersclubs.asn.au/wiki/index.php?title=Photos
shows an incomplete thumbnail. The photos were all uploaded - these
uploads looks like the last thing that was done to the wiki just
before it broke.
So, I don't know if we hit a diskspace limit (I've been advised that
it's been increased anyway), and if that broke something, or if this
is co-incidence, and some underlying PHP, or Apache thing has changed
that has broken the wiki.
Any ideas gratefully received,
cheers,
darren.
never mind; figured it out.
Apparently I had given a different DB password on the
second installation. Fixing that in my
LocalSettings.php brought it back.
after searching diligently through the documentation
for some hint on how to support multiple wikis on the
same site (and finding none), I decided to try just
untarring the distribution into a separate directory
under the Apache home directory. Sounds safe, right?
i.e. I had been running with everything under
htdocs/wiki, and now I created a htdocs/wiki2 by
untarring, and ran the installation procedure again on
the wiki2, and everything seemed fine, wiki2 was up.
(I used a separate table prefix for wiki2, so the two
sets of tables are distinct.)
However, now on the original wiki, I get
Fatal error: Call to a member function on a non-object
in
/usr/local/apache2/htdocs/wiki/includes/Database.php
on line 1667
even deleting the wiki2 directory and restarting
Apache doesn't make this go away.
How can I at least get the original wiki back, even if
this strategy for multiple wikis won't work? Thanks,
Bob
All,
searched the docs and the forum, but could not find an answer to my
question. So. . .
Requirements that I have folks log in to view pages of a wiki. I've
added the following to the my LocalSettings:
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['read'] = false;
$wgGroupPermissions['*']['edit'] = false;
$wgWhitelistRead = array ("Special:Userlogin");
So, when I go to /index.php I get a nice redirection to an error page
urging the user to go to the log in page. First problem: the page
reloads every 10 seconds or so. I'm getting the following errors
everytime the page loads:
Error: syntax error
Source File: http://10.1.10.25/wiki/index.php?title=-&action=raw&gen=js
Line: 1
Source Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Error: The stylesheet
http://10.1.10.25/wiki/index.php?title=-&action=raw&gen=css&maxage=18000
was not loaded because its MIME type, "text/html", is not "text/css".
Error: The stylesheet
http://10.1.10.25/wiki/index.php?title=MediaWiki:Monobook.css&action=raw&ct…
was not loaded because its MIME type, "text/html", is not "text/css".
Just what the heck is happening here and how do I make it go away?
Second question: I'd like to have the user reirected directly to the
log-in page rather then go to this error page. Possible?
thanks much for any help. I've been looking at this for a couple of
days now and have gotten as far as I can go on my own.
thx,
Eric
__________________________________
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
Thanks!
It works!
Just so you know, if you go to
http://www.infpro.com/.%5Cdownloads%5Cdownloads%5Cwordmedia.htm and try to
download the .bas you get a 404 but if you go to
http://www.infpro.com/downloads/downloads/wordmedia.htm it is fine.
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Alistair Johnson
Sent: 1 novembre, 2005 21:58
To: MediaWiki announcements and site admin list
Subject: RE: [Mediawiki-l] Word to MediaWiki
http://www.infpro.com/.%5Cdownloads%5Cdownloads%5Cwordmedia.htm
Al.
-----Original Message-----
From: Simon Renshaw [mailto:simon@castortech.com]
Sent: Wednesday, 2 November 2005 8:15 a.m.
To: mediawiki-l(a)Wikimedia.org
Subject: [Mediawiki-l] Word to MediaWiki
Hi,
I'm using MediaWiki to host the documentation that our developers are
writing.
I had to do a lot of cup & paste (169 pages)...
Is there a Word (2003) to MediaWiki converter somewhere?
I found one on www.mediawiki.org (site is really slow right now and can't
find the link) that claim to convert Word to Wiki but it convert to
TikiWiki. I tried it but MediaWiki did not recognize the code.
Anybody can help?
Thanks!
Simon
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
This works:
http://www.infpro.com/downloads/downloads/wordmedia.htm
Al.
-----Original Message-----
From: Coombes, Andrew [mailto:andrew.coombes@hants.gov.uk]
Sent: Wednesday, 2 November 2005 10:37 p.m.
To: MediaWiki announcements and site admin list
Subject: RE: [Mediawiki-l] Word to MediaWiki
Seems to be giving a 404, in German. Is it available anywhere else? This
would be a very good tool to have :o)
Regards,
Andrew
MediaWiki: 1.4.10
PHP: 4.3.10 (cgi) Apache 1.3.33
MySQL: 4.0.25-standard
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org]On Behalf Of Alistair Johnson
Sent: 02 November 2005 02:58
To: MediaWiki announcements and site admin list
Subject: RE: [Mediawiki-l] Word to MediaWiki
http://www.infpro.com/.%5Cdownloads%5Cdownloads%5Cwordmedia.htm
Al.
-----Original Message-----
From: Simon Renshaw [mailto:simon@castortech.com]
Sent: Wednesday, 2 November 2005 8:15 a.m.
To: mediawiki-l(a)Wikimedia.org
Subject: [Mediawiki-l] Word to MediaWiki
Hi,
I'm using MediaWiki to host the documentation that our developers are
writing.
I had to do a lot of cup & paste (169 pages)...
Is there a Word (2003) to MediaWiki converter somewhere?
I found one on www.mediawiki.org (site is really slow right now and can't
find the link) that claim to convert Word to Wiki but it convert to
TikiWiki. I tried it but MediaWiki did not recognize the code.
Anybody can help?
Thanks!
Simon
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l