in localsettings.php, add this: die('This is localsettings.php with no scriptpath in it');
When you go to any page on your wiki, it should print that message and no more. (remove it when you're done.)
If this doesn't happen, it means you're using a different localsettings.php.
On 7/19/05, Jason Lixfeld jason+lists.mediawiki@lixfeld.ca wrote:
Thanks for the tip, Jamie. That didn't appear to help though :(
# grep ^"$wgScriptPath" ../LocalSettings.php $wgScriptPath = ""; # php rebuildall.php ** Rebuilding fulltext search index (if you abort this will break searching; run this script again to fix): Dropping index... Rebuilding index fields for 946 pages... 0 500 Rebuild the index...
** Rebuilding recentchanges table: Loading from CUR table... Loading from OLD table... Updating links...
** Rebuilding links tables -- this can take a long time. It should be safe to about via ctrl+C if you get bored. Refreshing link table. Starting from cur_id 1 of 946. 100 200 300 400 500 600 700 800 900 Done. #
If I point a browser to the main page and click on any links off the main page, I still get a URL with /mediawiki in it:
https://wiki.ebit.ca:443/mediawiki/index.php/EBit_Networks
Am I running the script incorrectly? I put my mysql root user and password in the AdminSettings.php to be on the safe side incase the other user didn't have the access.
On 19-Jul-05, at 12:09 PM, Jamie Bliss wrote:
cache. Run rebuildall.php.
On 7/19/05, Jason Lixfeld jason+lists.mediawiki@lixfeld.ca wrote:
Hello,
I had mediawiki 1.4.6 installed on a machine which just had the
mediawiki directory hanging off the webserver documentroot. I moved this to a production server and onto a vhost and changed my LocalSettings.php over, but all my links are still broken and I'm not sure why.
I copied the database as per http://meta.wikimedia.org/wiki/ How_to_move_a_MediaWiki_Database without issue. I can get to the main page of my installation, no problem but whenever I try to click on any of the links which were copied with the database from the old server, the URL has /mediawiki in it, even though LocalSettings.php has: $wgScriptPath = "";. I'm somewhat stumped. From what I've read, it should be as easy as making sure the $wgScriptPath variable is set correctly, but I may be horribly wrong and there may be something else quite involved that I'm missing.
Any ideas? _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
--
http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail! Have lots of invites. Gmail now has 2GB. _______________________________________________ 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