<quote who="Amos Shapira"> > Warning: mysql_query(): supplied argument is not a valid MySQL-Link > resource in /usr/share/mediawiki1.7/includes/Database.php on line 620
So, line 620 in MediaWiki 1.7 is: $ret = mysql_query( $sql, $this->mConn ); And it's most likely failing on the very first time the enclosing function (doQuery) is called. The "not a valid MySQL-Link resource" rings some alarm bells for me, as it sounds like an error related to one of the ways you can tell PHP's MySQL wrapper how to talk to the database: a URI (where "R" stands for resource). I suspect that however you specified the MySQL configuration (the bit where you provide the user, pass, host, port, etc), it's somehow incorrect. Look at the config file that defines where your database is. - Jeff (doing altogether too much PHP at the moment; good sigmonster...) -- linux.conf.au 2008: Melbourne, Australia http://lca2008.linux.org.au/ Web development with PHP is like injecting pure rust with a high-pressure hose. For pain relief. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
