Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Didn't get far in testing. Tried to install your pull request for the PHP 7 fix on my development version of Geeklog which the database uses the utf8mb4 collation. It doesn't like the index for the gl_mg_playback_options table. Looks like there is another issue to deal with as well.
Okay I added the issue with utf8mb4 to dengen media gallery repository with the proposed fixes.
For your version bump to 1.7.1 you also need to modify the line 55 in function.inc
$_MG_CONF['pi_version'] = '1.7.0';
and then everything installs correctly. I did a limited test with PHP 7.0 and didn't run into any errors
While looking at the Media Gallery upgrade function I notice the upgrade.php file is missing so I am not to sure how close to release version 1.7.0 is.
I also uploaded an image and had a few issues. (not related to your pull request)
That being said it looks like this Pull Request fixes the PHP 7 issues. Hopefully Dengen will merge it soon.