Topic on Project:Support desk

Cm2785 (talkcontribs)

Hi there! I have Xampp installed and mediawiki and I can access it on another computer over LAN by typing in the IP and exact path, but when logging on or selecting other links it reverts back to localhost and I have to re-enter the IP address in place of localhost to get that page to work. Is there a way I can set this up to avoid this? Thanks!

AhmadF.Cheema (talkcontribs)

You probably need to set $wgServer to your computer's IP.

71.9.45.186 (talkcontribs)

Thank you, where would I enter this?

Jackmcbarn (talkcontribs)
71.9.45.186 (talkcontribs)

Thanks I added that and got: Parse error: syntax error, unexpected '.168' (T_DNUMBER) in C:\xampp\htdocs\wiki\LocalSettings.php on line 135

71.9.45.186 (talkcontribs)

Parse error: syntax error, unexpected '.168' (T_DNUMBER) in C:\xampp\htdocs\wiki\LocalSettings.php on line 70

71.9.45.186 (talkcontribs)

Nevermind I got it, thanks!