After my web host migrated to a new company I'm getting an error? After my web host migrated to a new company I'm getting an error?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

After my web host migrated to a new company I'm getting an error?

Started by prospectator, May 12, 2018, 10:45:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

prospectator

This is the error I'm receiving after my host company migrated to a new host.  Any help would be great.  Thanks.

"Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home2/bryceadams/public_html/coppermine/include/functions.inc.php:183 Stack trace: #0 /home2/bryceadams/public_html/coppermine/include/init.inc.php(171): cpg_db_connect() #1 /home2/bryceadams/public_html/coppermine/thumbnails.php(32): require_once('/home2/bryceada...') #2 {main} thrown in /home2/bryceadams/public_html/coppermine/include/functions.inc.php on line 183"

Originally, the directory home2/bryceadams/public_html didn't exist.  On the old server the coppermine folder was in the root folder.  I'm not sure what I need to change.



ron4mac


prospectator

I just checked the web server, the PHP version is 5.6.30

prospectator

Sorry, trying to figure out the new host software.  When I view myphpadmin is see version 5.6.30, but when I navigate to my control panel is says the server php version is 7.0.29.  Sorry for the confusion.  Thanks for the help.

phill104

That means the MySQL version is 5.6 and PHP is Version 7. They are different elements of the server.

Hopefully you now know what you need to do. Upgrading is probably your best option.
It is a mistake to think you can solve any major problems just with potatoes.

prospectator

Just ran the update and all seems to be working correctly.  Can't thank you enough for the help.  :)