[Mediawiki-l] Mediawiki on CentOS 5, PHP 5.1.6, MySQL 14.12, not working.

DanTMan dan_the_man at telus.net
Wed Jun 11 09:40:21 UTC 2008

Well, theres your issue. You need to mention more in IRC.
The ScriptPath and all other variables in MediaWiki are always 
absolutes. Relatives are never used because with all the aliases and 
other stuff, relative paths get corrupted quickly and easily.
For example:
The path: wiki/index.php/Main_Page
From: http://mail.deathstar.net/wiki/index.php/Main_Page
Would be treated as a link to: 
And similarly your wiki/skins/ is going to be corrupted in the same way 
in an attempt to grab links to things under wiki/index.php/

Though, I note that your wiki is just plain gone right now.

I'd recommend reinstalling from scratch... But this time actually 
install MediaWiki yourself. Every last one of the external installers 
are junk... They don't keep up with the software, and 99% of the time 
they are horribly buggy and don't simplify things at all. MediaWiki 
already has it's own config script.

~Daniel Friesen(Dantman) of:
-The Nadir-Point Group (http://nadir-point.com)
--It's Wiki-Tools subgroup (http://wiki-tools.com)
--Games-G.P.S. (http://ggps.org)
-And Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)

Radio Tron wrote:
> Hello, I installed MediaWiki using yum. The web based
> config gave me no errors and the db was populated just
> fine. The problem is that when i browse
> http://mail.deathstar.net/wiki/ , my page is broken
> with no images and no cool layout. I just get a white
> background thing with some formatted text.
> I did a view src and:
> --------------
> <a style="background-image:
> url(wiki/skins/common/images/wiki.png);"
> href="wiki/index.php/Main_Page" title="Visit the Main
> Page 
> ------------------
> Note that wiki/skins.. does not lie under my Apache
> DocumentRoot. Why is the PHP generating a link like
> that?
> I have a default apache install with:
> LoadModule php5_module modules/libphp5.so
> Apache: DocumentRoot "/var/www/"
> My /var/www/wiki/LocalSettings.php contains:
> if( defined( 'MW_INSTALL_PATH' ) ) {
>         $IP = MW_INSTALL_PATH;
> } else {
>         $IP = '/usr/share/mediawiki';
> }
> $wgScriptPath       = "wiki"; (because this should be
> relative to my Apache DocumentRoot [URL base path])
> -------------------------------------------------------
> Could someone help me figure out what needs to be done
> to gett his to work?? Should i create an Apache Alias
> for wiki/skins ??
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

More information about the MediaWiki-l mailing list