I downloaded version 21.19.37.
I also used a newly setup server for this - it is running:
# mysql --version
mysql Ver 14.14 Distrib 5.7.16, for Linux (x86_64) using EditLine wrapper
# php --version
PHP 7.0.8-0ubuntu0.16.04.3 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.8-0ubuntu0.16.04.3, Copyright (c) 1999-2016, by Zend Technologies
Collations for all tables are looking good.
mysql> show table status;
+---------------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+---------------------+-----------------+----------+----------------+---------+
| Name | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time | Update_time | Check_time | Collation | Checksum | Create_options | Comment |
+---------------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+---------------------+-----------------+----------+----------------+---------+
| iptocountry | MyISAM | 10 | Dynamic | 0 | 0 | 0 | 281474976710655 | 1024 | 0 | NULL | 2016-12-28 17:49:42 | 2016-12-28 17:49:42 | NULL | utf8_general_ci | NULL | | |
| ndxz_abstracts | MyISAM | 10 | Dynamic | 0 | 0 | 0 | 281474976710655 | 1024 | 0 | 1 | 2016-12-28 17:49:42 | 2016-12-28 17:49:42 | NULL | utf8_general_ci | NULL | | |
| ndxz_media | MyISAM | 10 | Dynamic | 0 | 0 | 0 | 281474976710655 | 1024 | 0 | 1 | 2016-12-28 17:49:42 | 2016-12-28 17:49:42 | NULL | utf8_general_ci | NULL | | |
| ndxz_objects | MyISAM | 10 | Dynamic | 4 | 110 | 440 | 281474976710655 | 2048 | 0 | 6 | 2016-12-28 17:49:42 | 2016-12-28 17:49:42 | NULL | utf8_general_ci | NULL | | |
| ndxz_objects_prefs | MyISAM | 10 | Dynamic | 3 | 86 | 260 | 281474976710655 | 2048 | 0 | 4 | 2016-12-28 17:49:42 | 2016-12-28 17:49:42 | NULL | utf8_general_ci | NULL | | |
| ndxz_plugins | MyISAM | 10 | Dynamic | 0 | 0 | 0 | 281474976710655 | 1024 | 0 | 1 | 2016-12-28 17:49:42 | 2016-12-28 17:49:42 | NULL | utf8_general_ci | NULL | | |
| ndxz_sections | MyISAM | 10 | Dynamic | 3 | 42 | 128 | 281474976710655 | 5120 | 0 | 4 | 2016-12-28 17:49:43 | 2016-12-28 17:49:43 | NULL | utf8_general_ci | NULL | | |
| ndxz_settings | MyISAM | 10 | Dynamic | 1 | 328 | 328 | 281474976710655 | 2048 | 0 | 2 | 2016-12-28 17:49:43 | 2016-12-28 18:15:20 | NULL | utf8_general_ci | NULL | | |
| ndxz_stats | MyISAM | 10 | Dynamic | 0 | 0 | 0 | 281474976710655 | 1024 | 0 | 1 | 2016-12-28 17:49:43 | 2016-12-28 17:49:43 | NULL | utf8_general_ci | NULL | | |
| ndxz_stats_exhibits | MyISAM | 10 | Dynamic | 0 | 0 | 0 | 281474976710655 | 1024 | 0 | NULL | 2016-12-28 17:49:43 | 2016-12-28 17:49:43 | NULL | utf8_general_ci | NULL | | |
| ndxz_stats_storage | MyISAM | 10 | Dynamic | 0 | 0 | 0 | 281474976710655 | 1024 | 0 | NULL | 2016-12-28 17:49:43 | 2016-12-28 17:49:43 | NULL | utf8_general_ci | NULL | | |
| ndxz_subsections | MyISAM | 10 | Dynamic | 0 | 0 | 0 | 281474976710655 | 1024 | 0 | 1 | 2016-12-28 17:49:43 | 2016-12-28 17:49:43 | NULL | utf8_general_ci | NULL | | |
| ndxz_tagged | MyISAM | 10 | Dynamic | 0 | 0 | 0 | 281474976710655 | 1024 | 0 | NULL | 2016-12-28 17:49:43 | 2016-12-28 17:49:43 | NULL | utf8_general_ci | NULL | | |
| ndxz_tags | MyISAM | 10 | Dynamic | 0 | 0 | 0 | 281474976710655 | 4096 | 0 | 1 | 2016-12-28 17:49:43 | 2016-12-28 17:49:43 | NULL | utf8_general_ci | NULL | | |
| ndxz_users | MyISAM | 10 | Dynamic | 1 | 148 | 148 | 281474976710655 | 4096 | 0 | 2 | 2016-12-28 17:49:44 | 2016-12-28 17:49:44 | 2016-12-28 17:49:44 | utf8_general_ci | NULL | | |
+---------------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+---------------------+-----------------+----------+----------------+---------+
15 rows in set (0.01 sec)
Problems during installation were mainly in the SQL scripts: all wrong or missing DEFAULT values.
This MySQL version has these default modes:
mysql> SELECT @@GLOBAL.sql_mode;
+-------------------------------------------------------------------------------------------------------------------------------------------+
| @@GLOBAL.sql_mode |
+-------------------------------------------------------------------------------------------------------------------------------------------+
| ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION |
+-------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
So '0000-00-00 00:00:00' as a DEFAULT value for DATETIME isn't working. Also, VARCHAR(20) NOT NULL without a DEFAULT throws an error.
I don't know much about PHP but searching for 'class filesource' doesn't find anything. there are filesourceall and other filesource* files but no 'filesource'.