Hi everyone, I'm currently developing a wiki for our corporate intranet and I've run into a very odd problem. I'm not sure this is the list I should be posting to, but here it goes:
It seems that no matter what I add to my LocalSettings.php at this point (I've added settings in the past that work just fine), it results in none of the pages of my wiki being displayed at all. Just blank pages.
Has anyone encountered this, or does anyone have any advice on what may cause this?
Dave Pace
Do you have any blank lines before or after the opening and closing php tags in localsettings.php or even defaultsettings.php, if so remove them.
Arthur arthur@assys.net -----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of David Pace Sent: 25 July 2006 10:54 To: mediawiki-l@Wikimedia.org Subject: [Mediawiki-l] Problem With LocalSettings.php
Hi everyone, I'm currently developing a wiki for our corporate intranet and I've run into a very odd problem. I'm not sure this is the list I should be posting to, but here it goes:
It seems that no matter what I add to my LocalSettings.php at this point (I've added settings in the past that work just fine), it results in none of the pages of my wiki being displayed at all. Just blank pages.
Has anyone encountered this, or does anyone have any advice on what may cause this?
Dave Pace _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Well, as it turns out, I did but removing them did not have any impact. Thanks for the advice though, that's something I will keep my eye on in the future.
If I remove whatever new code I added everything goes back to normal. It's really strange.
On 7/25/06, Arthur Guy Arthur@assys.net wrote:
Do you have any blank lines before or after the opening and closing php tags in localsettings.php or even defaultsettings.php, if so remove them.
Arthur arthur@assys.net -----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of David Pace Sent: 25 July 2006 10:54 To: mediawiki-l@Wikimedia.org Subject: [Mediawiki-l] Problem With LocalSettings.php
Hi everyone, I'm currently developing a wiki for our corporate intranet and I've run into a very odd problem. I'm not sure this is the list I should be posting to, but here it goes:
It seems that no matter what I add to my LocalSettings.php at this point (I've added settings in the past that work just fine), it results in none of the pages of my wiki being displayed at all. Just blank pages.
Has anyone encountered this, or does anyone have any advice on what may cause this?
Dave Pace _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
On Tue, 25 Jul 2006 05:41:32 -0500 "David Pace" gps.david.pace@gmail.com wrote:
Well, as it turns out, I did but removing them did not have any impact. Thanks for the advice though, that's something I will keep my eye on in the future.
If I remove whatever new code I added everything goes back to normal. It's really strange.
Are you remembering the semi-colon at the end of new lines?
David Pace wrote:
Hi everyone, I'm currently developing a wiki for our corporate intranet and I've run into a very odd problem. I'm not sure this is the list I should be posting to, but here it goes:
It seems that no matter what I add to my LocalSettings.php at this point (I've added settings in the past that work just fine), it results in none of the pages of my wiki being displayed at all. Just blank pages.
Check your PHP error log.
If you don't have a PHP error log, add these lines to LocalSettings.php, right after the '<?php' line:
error_reporting( E_ALL ); ini_set( 'display_errors', true );
If you still don't see anything, try going to the 'Special:Version' page instead of the main page, eg: http://myserver/wiki/index.php?title=Special:Version
If you are using IIS 6.0 and the Special:Version page works while some other pages don't, you may be stuck with a problem we can't trace. Try Apache instead of IIS.
-- brion vibber (brion @ pobox.com)
Thanks everyone for all of your help. Everything seems to be working now, I've managed to add a custom namespace and some user groups. I will try some of the other stuff I was struggling with and see if it works.
Not sure exactly what it was, but it may have been the semi-colon.
PS: I'm running Apache 2.
On 7/25/06, Brion Vibber brion@pobox.com wrote:
David Pace wrote:
Hi everyone, I'm currently developing a wiki for our corporate intranet
and
I've run into a very odd problem. I'm not sure this is the list I
should be
posting to, but here it goes:
It seems that no matter what I add to my LocalSettings.php at this point (I've added settings in the past that work just fine), it results in
none of
the pages of my wiki being displayed at all. Just blank pages.
Check your PHP error log.
If you don't have a PHP error log, add these lines to LocalSettings.php, right after the '<?php' line:
error_reporting( E_ALL ); ini_set( 'display_errors', true );
If you still don't see anything, try going to the 'Special:Version' page instead of the main page, eg: http://myserver/wiki/index.php?title=Special:Version
If you are using IIS 6.0 and the Special:Version page works while some other pages don't, you may be stuck with a problem we can't trace. Try Apache instead of IIS.
-- brion vibber (brion @ pobox.com)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org