forum.coppermine-gallery.net

Support => cpg1.6.x Support => cpg1.6 plugins => Topic started by: astrasuite on July 05, 2018, 03:17:25 pm

Title: cpmfetch
Post by: astrasuite on July 05, 2018, 03:17:25 pm
Will cpmfetch be updated to be compatible with 1.6 ?  Thanks
Title: Re: cpmfetch
Post by: astrasuite on July 05, 2018, 04:04:59 pm
I mean for PHP 7 ?  Thanks
Title: Re: cpmfetch
Post by: Phill Luckhurst on July 05, 2018, 05:23:13 pm
Unfortunately the author has long since vanished. A shame really as I know he spent many hours working hard on a whole rebuild. Hope he is OK given the part of the world he is from. Have you tried it on PHP7? If so what errors were you getting?
Title: Re: cpmfetch
Post by: astrasuite on July 05, 2018, 06:51:11 pm
I tried it on PHP 7.  Loads of errors, just like when I try my 1.5.x Coppermine with PHP 7. One is mysql (which is now mysqli) ...

It's too bad, I use hundreds of cpmfetch calls on my Wordpress sites.  It's really great at extracting and showing the whole album or selected pictures from the album on my Wordpress posts.

I guess I still have time to look for alternatives.  I control use of PHP 7 on my Bluehost provider anyway, and use .htaccess to still access PHP 5.6.  It will be a load of work for sure.
Title: Re: cpmfetch
Post by: Phill Luckhurst on July 06, 2018, 01:38:40 am
I will give it a go when I get time. I will need to create a new PHP7 sandbox as I recently wiped mine.
Title: Re: cpmfetch
Post by: gmc on July 06, 2018, 02:57:25 pm
If you are using CPMFETCH 2.0.0 - you can get version 2.0.1 here:
http://forum.coppermine-gallery.net/index.php/topic,65412.msg324838.html#msg324838 (http://forum.coppermine-gallery.net/index.php/topic,65412.msg324838.html#msg324838)
which has been updated for PHP7 and mysqli.

If you are using the dev version 2.1.1 - which has support for cfimageget that is not functioning in 2.0.0 - then there is still work to do... On my list, but I haven't been able to make progress due to time constraints.