Potential Upgrade Fix / #5218

@pixtur and @eh

I had the same problem when upgrading to v0.0800 tonight, and after looking through the code I found this around line 388 of install/install.php

from install/install.php

/**

* there should be excactly one row with updated == NULL. Otherwise we a have a problem

*/

if( $count!=1 ) {

    print_testResult(RESULT_FAILED,"could not get propper db-version table entry. Please view ".getStreberWikiLink('installation','Installation Guide')." on hints how to proceed.");

    return false;

}

I found the problem to be that when I installed v0.0796 it created two identical entries with NULL values for the "updated" field in the "db" table, which this code obviously detected and exited on. Removing the offending duplicate from the "db" table fixed the issue.

This issue is also described here: I can“t upgrade to the last version