Architecture / Installation

Architecture / Installation

Re: Re: Re: fatal error during upgrade

posts: 1001 Canada
Philippe Cloutier wrote:
Philippe Cloutier wrote:

If you know PHP, the following is not executing as expected:

$result = $installer-query( "select count(*) nb from users_users having count(*) 1" );
$row = $result-fetchRow();

On the first line, $result does not take the value expected, presumably because something goes wrong in query(). Make sure all PHP errors are reported (PHP setting error_reporting).

When I run this query in phpmyadmin I get


What is nb?

nb, is the count(*), in this case the number of users. But that patch is broken and wouldn't do anything anyway. 7.1 will have a working one. There must be something else wrong though, normally the patch should just be ignored. You will probably experience other problems even if you skip it. Again, make sure your error reporting level reports warnings and notices if you want more clues of what could be going on.
There is definitely no database restoration needed, the patch is just not doing anything besides causing a fatal error.

Upcoming Events

1)  Thu 23 Jan 2020 14:00 GMT-0000
Roundtable Meeting 2020 01

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.