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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.