Thread:Project:Support desk/I think I broke my thinker ...


 * ''Warning: I am smart, but not a geek.

Okay. I've been fiddling with this for weeks now and I'm no closer to figuring it out than I was when I started, so here I am... Here's my situation (bear with me if this is a little long or disjointed - my brain's kinda like jello right now), along with some background:
 * MediaWiki 	1.14.0
 * PHP 	5.2.17 (cgi-fcgi)
 * MySQL 	5.5.21-55

I have a wiki at www.gunownersresource.com/gorole/ that's been up for years, working fine, almost no problems with it, ever. I wanted to mirror it (if that's the right term) on another domain, so I picked up www.gunsopedia.com and configured an addon domain in cpanel to point to the directory that the wiki was in and gave each wiki it's own LocalSettings[x].php file, like it says at Manual:Wiki family. So my LocalSettings.php now looks like: <?php switch ($_SERVER["SERVER_NAME"]) {               case "www.gunownersresource.com": require_once "LocalSettings_this.php"; break; case "gunownersresource.com": require_once "LocalSettings_this.php"; break; case "www.gunsopedia.com": require_once "LocalSettings_that.php"; break; case "gunsopedia.com": require_once "LocalSettings_that.php"; break; default: echo "This wiki is not available. Check configuration."; exit(0); } Okay, so far so jolly. Both sites come up with their own skins, site names, logos, etc.. Everything's cool. So, naturally, this is when things go ahead and take a turn for the discombobulatory (no, I don't give a damn if that's a word). There's some kind of problem with the paths on some pages, but not all of them, that is now officially driving me nuts. Here's an example (which is the best way I can explain it):

If you look at these two pages: They are both the same page, from the same database, etc.. But, you can't see the images on Page2 and, if you mouse over them you will see that the path they point to the image is at gunsopedia.com/gorole/ instead of just gunsopedia.com. You get the same thing with every link on the page.
 * gunownersresource.com/gorole/index.php?title=Browning_Hi-Power (we'll call this Page1)
 * gunsopedia.com/index.php?title=Browning_Hi-Power (and this Page2)

However..., if you were to edit the page (the edit link at the top works) and save it, this page would work fine BUT, over on Page1, all the paths would now show just gunownersresource.com instead of gunownersresource.com/gorole/.

So basically, either both pages have the /gorole/ in the paths of the links on them or neither of them do, depending on where the last change was made from. Page1 should have it and Page 2 shouldn't. --- /gorole/, no /gorole/, /gorole/, no /gorole/. Marco! Polo! AAAUUUGGGHHH!!!

In conclusion: I'm stumped, I'm pretty sure I broke my brain (and the damn thing's out of warranty now), my computer won't stop laughing at me, and I do believe I'm going to go get drunk now.

Any help much appreciated, thanks in advance...


 * More info:
 * Page gunownersresource.com/gorole/index.php?title=M24_Sniper_Weapon_System was created and the corresponding page showed at gunsopedia.com/index.php?title=M24_Sniper_Weapon_System. Second page works right, first one doesn't.  Exactly backwards from what it's been doing before...