Jump to content

5.4 to 5.6 depreciation


midwestdesignfirm

Recommended Posts

Our developer is on vacation and we have a question, he did an incremental upgrade of our server from 5.4 to 5.6 and we have a php blog module. when we submit a story, it says it was successful but it does not save below is the code from the admin page. is there anything glaring that sticks out.  The error logs show two errors. the errors are below. any help would be appreciated


[26-Jul-2018 16:40:35 UTC] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/cpas/public_html/admin/includes/fg_membersite.php on line 734
[26-Jul-2018 16:41:59 UTC] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/cpas/public_html/admin/includes/functions.php on line 3

Here is line 734 of fg_membersite.php
$this->connection = mysql_connect($this->db_host,$this->username,$this->pwd);

Here is line 3 of functions.php
$connection = mysql_connect(_DBHOST_,_DBUSER_,_DBPASS_);

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.