Jump to content
midwestdesignfirm

5.4 to 5.6 depreciation

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_);

Share this post


Link to post
Share on other sites

It wouldn't explain why saving doesn't work.

The mysql extension was removed in PHP 7. You won't be able to upgrade beyond 5.6 until you update your code to use mysqli or PDO.

Share this post


Link to post
Share on other sites
Quote

below is the code from the admin page

there's no code posted in this thread to examine and as requinix stated, these error don't have anything to do with something not being saved.

Share this post


Link to post
Share on other sites

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.