update 2.3.4 -> 2.3.5 fails (General)

by Nico Hoffmann @, Saturday, April 27, 2019, 14:32 (1825 days ago) @ Micha

Hi,

It's obviously different from your github version:

Yes, of course. This file is not the current update script but you have to use it, see here.

Sorry, *which* script is to use? That one in mlf 2.3.5, or that one from github?

557 if(empty($update['errors']))
558 {
559 if(!@mysql_query("UPDATE ".$db_settings['settings_table']." SET value='".$update['new_version']."' WHERE name = 'version'", $connid))
560 {
561 $update['errors'][] = 'Database error in line '.__LINE__.': ' . mysql_error();
562 }
563 }


Hmm, the update script was not able to set the right version number to the database table. Do you have access to your SQL database e.g. via PHPMyAdmin? Can you check, if the setting-table contains the key 'version'?


Yes, seems all right:

mysql> select * from v2mlf2_settings where name='version';
+---------+-------+
| name    | value |
+---------+-------+
| version | 2.3.4 |
+---------+-------+
1 row in set (0.00 sec)

N.


Complete thread:

 RSS Feed of thread