Last modified: 2014-06-23 16:07:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51360, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49360 - Problems after changing LocalSettings.php
Problems after changing LocalSettings.php
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.21.x
PC Linux
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-09 12:16 UTC by Peter
Modified: 2014-06-23 16:07 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Peter 2013-06-09 12:16:35 UTC
After changing LocalSettings.php, the home page of my wiki is not available. I see a blank page. This happens when you add new content to LocalSettings.php.
Thanks in advance for your help
Comment 1 Alex Monk 2013-06-09 12:53:57 UTC
Bugzilla is not a support forum. Please check your error log to see why your changes to LocalSettings are breaking your wiki.
Comment 2 Jesús Martínez Novo (Ciencia Al Poder) 2013-06-09 12:56:22 UTC
Just to provide a little more help of a documented common problem:

Have you looked at the warning displayed at the top of this manual page? [1] "Warning: Don't edit LocalSettings.php with Notepad, TextEdit, or any other text editor that adds byte order marks to files, or you will break your wiki."

If that happened, restore a backup of that file, or rename the LocalSettings.php file to something else and try following the installation wizard again, or even create an emtpy LocalSettings.php file and manually copy the contents from the old one.

----

[1] https://www.mediawiki.org/wiki/Manual:LocalSettings.php
Comment 3 Peter 2013-06-09 13:55:32 UTC
I can edit it, but I can not add your configuration. For example this occurs when a row is added:
require_once ('extensions / WYSIWYG / WYSIWYG.php');
Comment 4 Alex Monk 2013-06-09 13:57:01 UTC
Yeah, that won't be a valid URL.
Comment 5 Peter 2013-06-09 14:26:41 UTC
I do not use it as a "valid URL"!
I see a blank page when a go to http://mywiki.com/index.php/ !!!
Comment 6 Jesús Martínez Novo (Ciencia Al Poder) 2013-06-09 14:37:51 UTC
(In reply to comment #5)
> I do not use it as a "valid URL"!
> I see a blank page when a go to http://mywiki.com/index.php/ !!!

Because "extensions / WYSIWYG / WYSIWYG.php" is not a valid URL for require_once, and this is not a valid MediaWiki bug.

Please follow the instructions provided on the Extension page at mediawiki.org and ask for help on the extension's talk page or MediaWiki's support desk at https://www.mediawiki.org/wiki/Project:Support_desk
Comment 7 Peter 2013-06-10 06:39:01 UTC
Hmm, and what I write is $IP = "123.123.123.123"; later and see a blank page, this is not a problem wiki?!?!?!?
Comment 8 Kevin Israel (PleaseStand) 2013-06-10 06:55:42 UTC
(In reply to comment #7)
> Hmm, and what I write is $IP = "123.123.123.123"; later and see a blank page,
> this is not a problem wiki?!?!?!?

The $IP variable is for the (I)nstall (P)ath, not for an (I)nternet
(P)rotocol address, and it does not have to be set manually in supported
versions of MediaWiki.

https://www.mediawiki.org/wiki/Manual:$IP

Again, support questions belong not here, but at
https://www.mediawiki.org/wiki/Project:Support_desk .

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links