I have had a Coppermine installation running flawlessly for several years and it all of a sudden quit working a couple of months ago. Looking through this forum I am guessing it is because the host "upgraded" php. This is what is on their server:
PHP Version 7.3.12
MySQL Version 5.7.23-23
When I try to login I get the following error:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home3/suraklyn/public_html/r65_forum_gallery/include/functions.inc.php:181 Stack trace: #0 /home3/suraklyn/public_html/r65_forum_gallery/include/init.inc.php(171): cpg_db_connect() #1 /home3/suraklyn/public_html/r65_forum_gallery/login.php(21): require('/home3/suraklyn...') #2 {main} thrown in /home3/suraklyn/public_html/r65_forum_gallery/include/functions.inc.php on line 181
I downloaded the upgrader.php.v2.2.txt file into the root of my Coppermine installation and renamed it to upgrader.php. When I go to
http://www.suraklyn.com/r65_forum_gallery/upgrader.php I get the following error:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home3/suraklyn/public_html/r65_forum_gallery/include/functions.inc.php:181 Stack trace: #0 /home3/suraklyn/public_html/r65_forum_gallery/include/init.inc.php(171): cpg_db_connect() #1 /home3/suraklyn/public_html/r65_forum_gallery/upgrader.php(18): require('/home3/suraklyn...') #2 {main} thrown in /home3/suraklyn/public_html/r65_forum_gallery/include/functions.inc.php on line 181
Where do I go from here? I know nothing about php or mysql...