Hello,
Urgent helpis needed!
We carry our genealogical wiki "GenWiki"
in version 1.14.1. We planned to update soon to 1.17.1.
So we checked out to http://wiki-test.genealogy.net
http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_17/phase3
and after clearing all conflicts we updated database with ./maintenance/update.php
All seemed good because of no failures.
Calling our test-wiki you will find
Warning: mysql_real_escape_string() expects parameter 2 to be resource, null given in /data/wiki/wiki-test/includes/db/DatabaseMysql.php on line 316
Warning: mysql_real_escape_string() expects parameter 2 to be resource, null given in /data/wiki/wiki-test/includes/db/DatabaseMysql.php on line 316
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /data/wiki/wiki-test/includes/db/DatabaseMysql.php on line 23
All of these code snippets are in "core code", not in our extensions!
Where/how to heal?
We thaught, that code should be running at least?
Switch back to 1.16.2? Wait for release of 1.17.x?
Uwe Baumbach U.Baumbach@web.de wrote:
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /data/wiki/wiki-test/includes/db/DatabaseMysql.php on line 23
Seems like you don't have a valid connection to your test database (I hope it's the copy of the production one :)
//Marcin
On 17 mrt 2011, at 14:54 Uwe Baumbach wrote:
in version 1.14.1. We planned to update soon to 1.17.1.
So we checked out to http://wiki-test.genealogy.net
http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_17/phase3
Switch back to 1.16.2? Wait for release of 1.17.x?
Uwe (Baumbach)
1.17.1 doesn't exist yet, there's 1.16.2 and 1.17alpha (which will turn into beta and eventually 1.17.0)
If you want to upgrade from 1.14.1 you are encouraged to do so as it's a very old version. However if this wiki is a real wiki (and not a test wik) I recommend upgrading from 1.14.1 to 1.16.2 and not to 1.17alpha.
There will be many chances that you may have to deal with already from 1.14 to 1.16.
Then in a few weeks/months when 1.17 is ready and your wiki is succesfully upgraded, you could consider upgrading to 1.17.0.
-- Krinkle
Uwe Baumbach wrote:
Hello,
Urgent helpis needed!
We carry our genealogical wiki "GenWiki"
in version 1.14.1. We planned to update soon to 1.17.1.
So we checked out to http://wiki-test.genealogy.net
http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_17/phase3
and after clearing all conflicts we updated database with
If it was a clean checkout, why did you have conflicts?
./maintenance/update.php
All seemed good because of no failures.
Calling our test-wiki you will find
Warning: mysql_real_escape_string() expects parameter 2 to be resource, null given in /data/wiki/wiki-test/includes/db/DatabaseMysql.php on line 316
Warning: mysql_real_escape_string() expects parameter 2 to be resource, null given in /data/wiki/wiki-test/includes/db/DatabaseMysql.php on line 316
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /data/wiki/wiki-test/includes/db/DatabaseMysql.php on line 23
All of these code snippets are in "core code", not in our extensions!
Where/how to heal?
Disable all extensions from LocalSettings. Does it fix it? Are you using MyISAM or InnoDB? You need to change your rewrite rules so that load.php is reachable. Otherwise, there's no CSS or JS for you.
We thaught, that code should be running at least?
It does for other people. Check with the extensions first. You can also test doing a clean install with another name.
wikitech-l@lists.wikimedia.org