forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: kevboab on April 04, 2016, 08:36:00 pm

Title: Joomla 3.5 & php 7.0
Post by: kevboab on April 04, 2016, 08:36:00 pm
Any one have any ideas on how to resolve the following whn attempting to use php 7.0
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/web/gallery/include/functions.inc.php:183 Stack trace: #0 /var/www/web/gallery/include/init.inc.php(171): cpg_db_connect() #1 /var/www/web/gallery/index.php(26): require('/var/www/web/ga...') #2 {main} thrown in /var/www/web/gallery/include/functions.inc.php on line 183
Title: Re: Joomla 3.5 & php 7.0
Post by: ron4mac on April 05, 2016, 02:34:11 pm
You'll need the 1.6 version of Coppermine Photo Gallery. It's currently in a beta state but if you'd like to try it out, let me know. Otherwise you'll need to adjust your PHP version to < 7.0.  Depending on your hosting setup, you may be able to select an earlier version of PHP for just the CPG directory.