forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: Kawboy on September 20, 2019, 02:38:36 pm

Title: Fatal error: Uncaught Error:
Post by: Kawboy on September 20, 2019, 02:38:36 pm
I tried searching for this, and one came up, but when I clicked on that, it took me to a general listing page instead of the actual post.
So, all of a sudden I get the following. I did nothing, and everything was working fine for quite some time, now I can't access coppermine at all it seems:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home2/pachapte/public_html/copperminephoto/include/functions.inc.php:183 Stack trace: #0 /home2/pachapte/public_html/copperminephoto/include/init.inc.php(171): cpg_db_connect() #1 /home2/pachapte/public_html/copperminephoto/index.php(26): require('/home2/pachapte...') #2 {main} thrown in /home2/pachapte/public_html/copperminephoto/include/functions.inc.php on line 183

Anyone have an idea on what happened?
Title: Re: Fatal error: Uncaught Error:
Post by: Kawboy on September 20, 2019, 02:45:54 pm
I'm not sure of the version I am running but think it is probably 1.5xxx. I just noticed that my ISP now moved to PHP version 7.0.33 so maybe that is my problem, I need to update my coppermine version? I haven't had the best of luck updating, but if that is the problem, I guess I don't have an alternative. Can someone confirm the updated PHP version is the problem before I attempt an update to my Coppermine version?
Title: Re: Fatal error: Uncaught Error:
Post by: ron4mac on September 21, 2019, 10:08:30 pm
Yes, your problem is the PHP version change.

https://forum.coppermine-gallery.net/index.php/topic,79013.0.html