Support > cpg1.5 miscellaneous

Coppermine installation no longer working

(1/2) > >>

justinbowser:
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...

justinbowser:
Oh, Coppermine version 1.5.20...

ron4mac:
It would be better if you had updated your site more often. You could try to get your host to back off PHP 7 until you get upgraded. If not, you could try this.

justinbowser:
I am of the "if it ain's broke, don't fix it" school.

You will note that in my original post:

"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"

Host has never been helpful in the past but I'll check.  I guess I'm SOL?

ron4mac:
You need to use the cpg_installer_stub file attached here: https://forum.coppermine-gallery.net/index.php/topic,79013.msg383037.html#msg383037

Navigation

[0] Message Index

[#] Next page

Go to full version