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:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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