*sigh* I'm a wiki newbie trying to setup MediaWiki 1.10.
My problem is none of the links work. Whenever I click on them it stays on the main page. After reading through the pages it was noted that this problem could occur due to not setting register_globals = On in php.ini. The variable had already been set correctly so this couldn't be the problem.
My sql version is 3.23.58 Apache version Apache/1.3.27 PHP 4.3.4
http://www.adverserealms.com/wiki/wiki.phtml
Here are the steps I took
mysqladmin -u root password 'mynewpassword'
started mysql mysql> GRANT ALL PRIVILEGES ON *.* TO emeraldwiki@localhost -> IDENTIFIED BY 'some_pass' WITH GRANT OPTION;
Then I set my sql part of my LocalSettings file to the following
$wgDBserver = "localhost"; $wgDBuser = "emeraldwiki"; $wgDBname = "mywiki"; $wgDBpassword = "apassword"; $wgDBsqlpassword = "anotherpassword"; $wgDBminWordLen = 3; # Match this to your MySQL fulltext $wgDBtransactions = false; # Set to true if using InnoDB tables
The install.php script seemed to run fine without any problems.
Any pointers would be appreciated. I believe I laid out all the steps I took. I can try to be more clear if needed.
Thanks, Joshua
How about these:
$wgStyleSheetPath = "{$wgServer}/style"; $wgScriptPath = "/wiki"; $wgArticlePath = "{$wgScript}?title=$1";
From: "Joshua" josh@agog.com Reply-To: Wikimedia developers wikitech-l@Wikipedia.org Date: Sun, 14 Dec 2003 15:47:01 -0500 To: wikitech-l@wikipedia.org Subject: [Wikitech-l] Wiki Setup Help
*sigh* I'm a wiki newbie trying to setup MediaWiki 1.10.
My problem is none of the links work. Whenever I click on them it stays on the main page. After reading through the pages it was noted that this problem could occur due to not setting register_globals = On in php.ini. The variable had already been set correctly so this couldn't be the problem.
My sql version is 3.23.58 Apache version Apache/1.3.27 PHP 4.3.4
http://www.adverserealms.com/wiki/wiki.phtml
Here are the steps I took
mysqladmin -u root password 'mynewpassword'
started mysql mysql> GRANT ALL PRIVILEGES ON *.* TO emeraldwiki@localhost -> IDENTIFIED BY 'some_pass' WITH GRANT OPTION;
Then I set my sql part of my LocalSettings file to the following
$wgDBserver = "localhost"; $wgDBuser = "emeraldwiki"; $wgDBname = "mywiki"; $wgDBpassword = "apassword"; $wgDBsqlpassword = "anotherpassword"; $wgDBminWordLen = 3; # Match this to your MySQL fulltext $wgDBtransactions = false; # Set to true if using InnoDB tables
The install.php script seemed to run fine without any problems.
Any pointers would be appreciated. I believe I laid out all the steps I took. I can try to be more clear if needed.
Thanks, Joshua
Wikitech-l mailing list Wikitech-l@Wikipedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
$wgServer = "http://www.adverserealms.com"; $wgScriptPath = "/wiki"; $wgArticlePath = "{$wgScript}?title=$1";
Joshua
----- Original Message ----- From: "Fred Bauder" fredbaud@ctelco.net To: "Wikimedia developers" wikitech-l@Wikipedia.org Sent: Sunday, December 14, 2003 6:29 PM Subject: Re: [Wikitech-l] Wiki Setup Help
How about these:
$wgStyleSheetPath = "{$wgServer}/style"; $wgScriptPath = "/wiki"; $wgArticlePath = "{$wgScript}?title=$1";
From: "Joshua" josh@agog.com Reply-To: Wikimedia developers wikitech-l@Wikipedia.org Date: Sun, 14 Dec 2003 15:47:01 -0500 To: wikitech-l@wikipedia.org Subject: [Wikitech-l] Wiki Setup Help
*sigh* I'm a wiki newbie trying to setup MediaWiki 1.10.
My problem is none of the links work. Whenever I click on them it stays on the main page. After reading through the pages it was noted that this problem could occur due to not setting register_globals = On in php.ini. The variable had already been set correctly so this couldn't be the problem.
My sql version is 3.23.58 Apache version Apache/1.3.27 PHP 4.3.4
http://www.adverserealms.com/wiki/wiki.phtml
Here are the steps I took
mysqladmin -u root password 'mynewpassword'
started mysql mysql> GRANT ALL PRIVILEGES ON *.* TO emeraldwiki@localhost -> IDENTIFIED BY 'some_pass' WITH GRANT OPTION;
Then I set my sql part of my LocalSettings file to the following
$wgDBserver = "localhost"; $wgDBuser = "emeraldwiki"; $wgDBname = "mywiki"; $wgDBpassword = "apassword"; $wgDBsqlpassword = "anotherpassword"; $wgDBminWordLen = 3; # Match this to your MySQL fulltext $wgDBtransactions = false; # Set to true if using InnoDB tables
The install.php script seemed to run fine without any problems.
Any pointers would be appreciated. I believe I laid out all the steps I took. I can try to be more clear if needed.
Thanks, Joshua
Wikitech-l mailing list Wikitech-l@Wikipedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@Wikipedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
On Dec 14, 2003, at 12:47, Joshua wrote:
My problem is none of the links work. Whenever I click on them it stays on the main page. After reading through the pages it was noted that this problem could occur due to not setting register_globals = On in php.ini. The variable had already been set correctly so this couldn't be the problem.
Before you look at other things, make sure that's really set. Sometimes there are multiple php.ini files present in the system, or Apache+PHP hasn't been completely restarted and so hasn't reloaded the file.
Make a quick test.php like this:
<? echo "Testing: " . htmlspecialchars($testing); ?>
now try to load http://<yourserver>/test.php?testing=hello
If it doesn't say "Testing: hello", register_globals isn't on. Also try the phpinfo() function which dumps a lot of configuration settings so you can confirm they're right.
-- brion vibber (brion @ pobox.com)
wikitech-l@lists.wikimedia.org